mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-25 10:43:25 -04:00
Modify kubemark run-e2e-tests.sh to run right command based on if its in docker/normal environment
This commit is contained in:
parent
8ecc256e88
commit
3c9a8a3b68
1 changed files with 7 additions and 3 deletions
|
|
@ -38,6 +38,10 @@ else
|
|||
ARGS=$@
|
||||
fi
|
||||
|
||||
go run ./hack/e2e.go -v --check_version_skew=false --test --test_args="--e2e-verify-service-account=false --dump-logs-on-failure=false ${ARGS}"
|
||||
# Just make local test easier...
|
||||
# ${KUBE_ROOT}/hack/ginkgo-e2e.sh "--e2e-verify-service-account=false" "--dump-logs-on-failure=false" $ARGS
|
||||
if [[ -f /.dockerenv ]]; then
|
||||
# Running inside a dockerized runner.
|
||||
go run ./hack/e2e.go -v --check_version_skew=false --test --test_args="--e2e-verify-service-account=false --dump-logs-on-failure=false ${ARGS}"
|
||||
else
|
||||
# Running locally.
|
||||
${KUBE_ROOT}/hack/ginkgo-e2e.sh "--e2e-verify-service-account=false" "--dump-logs-on-failure=false" $ARGS
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue