Skip to content

Commit

Permalink
Update TFproviderTest.yml
Browse files Browse the repository at this point in the history
Fix Google Cloud CLI install
  • Loading branch information
alexhung authored May 2, 2024
1 parent 2d83443 commit 1344d0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .jfrog-pipelines/TFproviderTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ pipelines:
- helm version
- kubectl version --client
- echo "Install gcloud cli"
- sudo apt-get install apt-transport-https ca-certificates gnupg
- sudo apt-get update && sudo apt-get install apt-transport-https ca-certificates gnupg
- curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg
- echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
- sudo apt-get update && sudo apt-get install -y google-cloud-cli google-cloud-sdk-gke-gcloud-auth-plugin
- sudo apt-get update && sudo apt-get install -y google-cloud-cli google-cloud-cli-gke-gcloud-auth-plugin
- gke-gcloud-auth-plugin --version
- echo "Renaming GKE_CLUSTER variable, so k8s cluster name will be unique."
- add_run_variables GKE_CLUSTER=tf-provider-xray-$(date +%s)
Expand Down

0 comments on commit 1344d0a

Please sign in to comment.