Merge pull request #30414 from mnshaw/run-remote-tests
Automatic merge from submit-queue Add GUBERNATOR flag which produces g8r link for node e2e tests When you run 'make tests-e2e-node REMOTE=true GUBERNATOR=true' outputs a URL to view the test results on Gubernator. ~~Should work after my PR for Gubernator is merged.~~ @timstclair
This commit is contained in:
@@ -32,6 +32,7 @@ remote=${REMOTE:-"false"}
|
||||
images=${IMAGES:-""}
|
||||
hosts=${HOSTS:-""}
|
||||
metadata=${INSTANCE_METADATA:-""}
|
||||
gubernator=${GUBERNATOR:-"false"}
|
||||
gci_image=$(gcloud compute images list --project google-containers \
|
||||
--no-standard-images --regexp="gci-dev.*" --format="table[no-heading](name)")
|
||||
if [[ $hosts == "" && $images == "" ]]; then
|
||||
@@ -129,12 +130,13 @@ if [ $remote = true ] ; then
|
||||
echo "Ginkgo Flags: $ginkgoflags"
|
||||
echo "Instance Metadata: $metadata"
|
||||
# Invoke the runner
|
||||
go run test/e2e_node/runner/run_e2e.go --logtostderr --vmodule=*=4 --ssh-env="gce" \
|
||||
--zone="$zone" --project="$project" \
|
||||
go run test/e2e_node/runner/run_e2e.go --logtostderr --vmodule=*=2 --ssh-env="gce" \
|
||||
--zone="$zone" --project="$project" --gubernator="$gubernator" \
|
||||
--hosts="$hosts" --images="$images" --cleanup="$cleanup" \
|
||||
--results-dir="$artifacts" --ginkgo-flags="$ginkgoflags" \
|
||||
--image-project="$image_project" --instance-name-prefix="$instance_prefix" --setup-node="true" \
|
||||
--delete-instances="$delete_instances" --test_args="$test_args" --instance-metadata="$metadata"
|
||||
--delete-instances="$delete_instances" --test_args="$test_args" --instance-metadata="$metadata" \
|
||||
2>&1 | tee "${artifacts}/build-log.txt"
|
||||
exit $?
|
||||
|
||||
else
|
||||
|
Reference in New Issue
Block a user