From 77ed5a3753bfbe32bbdac5225a13f492a1d5ff7c Mon Sep 17 00:00:00 2001 From: Kai Lueke Date: Wed, 11 May 2022 11:15:20 +0900 Subject: [PATCH] ci-automation/vendor-testing/gce.sh: Test GVNIC and break retest cycle The logic we had in some tests for covering different instance types now got more easy to reuse for testing the GVNIC mode in GCE. Align the GCE test with AWS and DigitalOcean to test an additional "instance type" (here just changing the NIC) and break the retest spin case it gets called for arm64. --- ci-automation/vendor-testing/gce.sh | 56 +++++++++++++++++++---------- 1 file changed, 37 insertions(+), 19 deletions(-) diff --git a/ci-automation/vendor-testing/gce.sh b/ci-automation/vendor-testing/gce.sh index df184512dc..2ab0fd1284 100755 --- a/ci-automation/vendor-testing/gce.sh +++ b/ci-automation/vendor-testing/gce.sh @@ -18,14 +18,12 @@ if [[ "${CIA_ARCH}" == "arm64" ]]; then echo " ---" >> "${CIA_TAPFILE}" echo " ERROR: ARM64 tests not supported on GCE." | tee -a "${CIA_TAPFILE}" echo " ..." >> "${CIA_TAPFILE}" + break_retest_cycle exit 1 fi -# Create temp file and delete it immediately -echo "${GCP_JSON_KEY}" | base64 --decode > /tmp/gcp_auth -exec {gcp_auth}