Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gke e2e tests #1213

Merged
merged 2 commits into from
Dec 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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