Add option to copy output when running the build shell

This commit is contained in:
Christoph Blecker
2017-08-25 16:58:06 -07:00
parent 68232c328f
commit 4d63e13c9f
2 changed files with 11 additions and 5 deletions

View File

@@ -24,8 +24,5 @@ set -o pipefail
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/build/common.sh"
source "${KUBE_ROOT}/build/lib/release.sh"
kube::build::verify_prereqs
kube::build::build_image
kube::build::run_build_command bash || true
KUBE_RUN_COPY_OUTPUT="${KUBE_RUN_COPY_OUTPUT:-n}" "${KUBE_ROOT}/build/run.sh" bash "$@"