mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00: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
@ -38,6 +38,10 @@ else
|
|||||||
ARGS=$@
|
ARGS=$@
|
||||||
fi
|
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}"
|
if [[ -f /.dockerenv ]]; then
|
||||||
# Just make local test easier...
|
# Running inside a dockerized runner.
|
||||||
# ${KUBE_ROOT}/hack/ginkgo-e2e.sh "--e2e-verify-service-account=false" "--dump-logs-on-failure=false" $ARGS
|
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 New Issue
Block a user