Skip to content

Commit

Permalink
Update TFproviderTest.yml
Browse files Browse the repository at this point in the history
Another attempt at fixing Google Cloud Cli install
  • Loading branch information
alexhung authored May 2, 2024
1 parent 30ec9c3 commit a93932f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .jfrog-pipelines/TFproviderTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ pipelines:
- kubectl version --client
- echo "Install gcloud cli"
- 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.asc
- echo "deb [signed-by=/usr/share/keyrings/cloud.google.asc] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
- sudo rm /etc/apt/sources.list.d/google-cloud-sdk.list
- 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
- echo "deb 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-cli-gke-gcloud-auth-plugin
- gke-gcloud-auth-plugin --version
- echo "Renaming GKE_CLUSTER variable, so k8s cluster name will be unique."
Expand Down

0 comments on commit a93932f

Please sign in to comment.