Skip to content

Commit

Permalink
Merge pull request #1213 from rancher/gke
Browse files Browse the repository at this point in the history
Fix gke e2e tests
  • Loading branch information
thardeck authored Dec 21, 2022
2 parents 652be9f + 723ebc6 commit 7f5bbe3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
-
name: Setup gcloud
uses: google-github-actions/setup-gcloud@v1
with:
install_components: 'gke-gcloud-auth-plugin'
-
name: Install gcloud kubectl version
run: gcloud components install kubectl
Expand All @@ -71,6 +73,8 @@ jobs:
--zone ${{ env.GKE_ZONE }}
-
name: Get kubeconfig file from GKE
env:
USE_GKE_GCLOUD_AUTH_PLUGIN: True
run: |
id="${{ steps.create-cluster.outputs.ID }}"
gcloud container clusters get-credentials fleetci$id --zone ${{ env.GKE_ZONE }} --project ${{ secrets.CI_GOOGLE_PROJECT }}
Expand Down

0 comments on commit 7f5bbe3

Please sign in to comment.