Skip to content

test-workflow

test-workflow #2

Workflow file for this run

name: "test-workflow"
on:
workflow_dispatch:
jobs:
create-default-kube-services:
permissions:
id-token: write
contents: read
name: "Test"
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ./kubernetes-terraform-config
steps:
- name: Checkout
uses: actions/checkout@v4
- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v2'
with:
create_credentials_file: true
workload_identity_provider: 'projects/1006240973223/locations/global/workloadIdentityPools/gha-create-gke-cluster/providers/github-actions'
service_account: '[email protected]'
- id: 'get-credentials'
name: Get GKE creds
uses: 'google-github-actions/get-gke-credentials@v2'
with:
cluster_name: code-idp-gke
location: europe-west1
- name: Deploy to GKE
run: |
kubectl get pods -n submissions-2024