mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Option in build/release.sh
to skip tests for a quicker dev/test cycle.
This commit is contained in:
parent
b00f045bd3
commit
1c257cb8db
@ -25,12 +25,18 @@ set -o pipefail
|
||||
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||
source "$KUBE_ROOT/build/common.sh"
|
||||
|
||||
KUBE_RELEASE_RUN_TESTS=${KUBE_RELEASE_RUN_TESTS-y}
|
||||
|
||||
kube::build::verify_prereqs
|
||||
kube::build::build_image
|
||||
kube::build::run_build_command build/build-image/make-binaries.sh
|
||||
kube::build::run_build_command build/build-image/make-cross.sh
|
||||
kube::build::run_build_command build/build-image/run-tests.sh
|
||||
kube::build::run_build_command build/build-image/run-integration.sh
|
||||
|
||||
if [[ $KUBE_RELEASE_RUN_TESTS =~ ^[yY]$ ]]; then
|
||||
kube::build::run_build_command build/build-image/run-tests.sh
|
||||
kube::build::run_build_command build/build-image/run-integration.sh
|
||||
fi
|
||||
|
||||
kube::build::copy_output
|
||||
kube::build::run_image
|
||||
kube::release::package_tarballs
|
||||
|
Loading…
Reference in New Issue
Block a user