Skip to content

Commit

Permalink
feat: make use of gke actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurin-Notemann committed May 15, 2024
1 parent 9494457 commit 6689c34
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ jobs:
create_credentials_file: true
workload_identity_provider: 'projects/1006240973223/locations/global/workloadIdentityPools/gha-create-gke-cluster/providers/github-actions'
service_account: '[email protected]'
- name: Set up kubectl
uses: azure/setup-kubectl@v3
- id: 'get-credentials'
name: Get GKE creds
uses: 'google-github-actions/get-gke-credentials@v2'
with:
version: 'v1.28.0'
- name: Configure gcloud CLI
run: |
gcloud config set project code-idp
gcloud container clusters get-credentials code-idp-gke --zone europe-west1
cluster_name: code-idp-gke
location: europe-west1
- name: Deploy to GKE
run: |
kubectl get pods -n submissions-2024

0 comments on commit 6689c34

Please sign in to comment.