From e603d4e0697816c22174c953bc31582bfc760663 Mon Sep 17 00:00:00 2001 From: yeweidaniel Date: Mon, 13 Sep 2021 13:15:11 -0400 Subject: [PATCH] Install curl and latest gcloud to support using a more recent gcloud in the existing CICD container. (#1028) --- examples/tfengine/generated/devops/cicd/configs/run.sh | 6 ++++++ .../generated/folder_foundation/cicd/configs/run.sh | 6 ++++++ examples/tfengine/generated/multi_envs/cicd/configs/run.sh | 6 ++++++ .../tfengine/generated/org_foundation/cicd/configs/run.sh | 6 ++++++ examples/tfengine/generated/team/cicd/configs/run.sh | 6 ++++++ templates/tfengine/components/cicd/configs/run.sh | 6 ++++++ 6 files changed, 36 insertions(+) diff --git a/examples/tfengine/generated/devops/cicd/configs/run.sh b/examples/tfengine/generated/devops/cicd/configs/run.sh index 34d7cfc85..61c9382c4 100644 --- a/examples/tfengine/generated/devops/cicd/configs/run.sh +++ b/examples/tfengine/generated/devops/cicd/configs/run.sh @@ -20,6 +20,12 @@ ACTIONS=() DIRS=() ROOT="." +# TODO(https://github.com/GoogleCloudPlatform/healthcare-data-protection-suite/issues/1029): Remove this after CICD container is updated to the latest. +LATEST_GCLOUD_VERSION=356.0.0 + +apk add --no-cache curl +gcloud components update --version $LATEST_GCLOUD_VERSION + while getopts "a:d:r:" c do case $c in diff --git a/examples/tfengine/generated/folder_foundation/cicd/configs/run.sh b/examples/tfengine/generated/folder_foundation/cicd/configs/run.sh index 34d7cfc85..61c9382c4 100644 --- a/examples/tfengine/generated/folder_foundation/cicd/configs/run.sh +++ b/examples/tfengine/generated/folder_foundation/cicd/configs/run.sh @@ -20,6 +20,12 @@ ACTIONS=() DIRS=() ROOT="." +# TODO(https://github.com/GoogleCloudPlatform/healthcare-data-protection-suite/issues/1029): Remove this after CICD container is updated to the latest. +LATEST_GCLOUD_VERSION=356.0.0 + +apk add --no-cache curl +gcloud components update --version $LATEST_GCLOUD_VERSION + while getopts "a:d:r:" c do case $c in diff --git a/examples/tfengine/generated/multi_envs/cicd/configs/run.sh b/examples/tfengine/generated/multi_envs/cicd/configs/run.sh index 34d7cfc85..61c9382c4 100644 --- a/examples/tfengine/generated/multi_envs/cicd/configs/run.sh +++ b/examples/tfengine/generated/multi_envs/cicd/configs/run.sh @@ -20,6 +20,12 @@ ACTIONS=() DIRS=() ROOT="." +# TODO(https://github.com/GoogleCloudPlatform/healthcare-data-protection-suite/issues/1029): Remove this after CICD container is updated to the latest. +LATEST_GCLOUD_VERSION=356.0.0 + +apk add --no-cache curl +gcloud components update --version $LATEST_GCLOUD_VERSION + while getopts "a:d:r:" c do case $c in diff --git a/examples/tfengine/generated/org_foundation/cicd/configs/run.sh b/examples/tfengine/generated/org_foundation/cicd/configs/run.sh index 34d7cfc85..61c9382c4 100644 --- a/examples/tfengine/generated/org_foundation/cicd/configs/run.sh +++ b/examples/tfengine/generated/org_foundation/cicd/configs/run.sh @@ -20,6 +20,12 @@ ACTIONS=() DIRS=() ROOT="." +# TODO(https://github.com/GoogleCloudPlatform/healthcare-data-protection-suite/issues/1029): Remove this after CICD container is updated to the latest. +LATEST_GCLOUD_VERSION=356.0.0 + +apk add --no-cache curl +gcloud components update --version $LATEST_GCLOUD_VERSION + while getopts "a:d:r:" c do case $c in diff --git a/examples/tfengine/generated/team/cicd/configs/run.sh b/examples/tfengine/generated/team/cicd/configs/run.sh index 34d7cfc85..61c9382c4 100644 --- a/examples/tfengine/generated/team/cicd/configs/run.sh +++ b/examples/tfengine/generated/team/cicd/configs/run.sh @@ -20,6 +20,12 @@ ACTIONS=() DIRS=() ROOT="." +# TODO(https://github.com/GoogleCloudPlatform/healthcare-data-protection-suite/issues/1029): Remove this after CICD container is updated to the latest. +LATEST_GCLOUD_VERSION=356.0.0 + +apk add --no-cache curl +gcloud components update --version $LATEST_GCLOUD_VERSION + while getopts "a:d:r:" c do case $c in diff --git a/templates/tfengine/components/cicd/configs/run.sh b/templates/tfengine/components/cicd/configs/run.sh index 34d7cfc85..61c9382c4 100755 --- a/templates/tfengine/components/cicd/configs/run.sh +++ b/templates/tfengine/components/cicd/configs/run.sh @@ -20,6 +20,12 @@ ACTIONS=() DIRS=() ROOT="." +# TODO(https://github.com/GoogleCloudPlatform/healthcare-data-protection-suite/issues/1029): Remove this after CICD container is updated to the latest. +LATEST_GCLOUD_VERSION=356.0.0 + +apk add --no-cache curl +gcloud components update --version $LATEST_GCLOUD_VERSION + while getopts "a:d:r:" c do case $c in