Skip to content

Commit

Permalink
Update CI to enable Big Query deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
vipin-dfe committed Dec 6, 2024
1 parent caccee2 commit cb53f0c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ runs:
with:
creds: ${{ inputs.AZURE_CREDENTIALS }}

- uses: google-github-actions/auth@v2
with:
# project_id: get-into-teaching
workload_identity_provider: projects/574582782335/locations/global/workloadIdentityPools/get-into-teaching-app/providers/get-into-teaching-app

- name: Get Short SHA
id: sha
shell: bash
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
concurrency: Review_${{github.event.number}}
permissions:
id-token: write
environment:
name: review
steps:
Expand Down Expand Up @@ -495,6 +497,8 @@ jobs:
if: github.ref == 'refs/heads/master'
concurrency: Development
runs-on: ubuntu-latest
permissions:
id-token: write
environment:
name: development
outputs:
Expand Down Expand Up @@ -613,6 +617,8 @@ jobs:
if: github.ref == 'refs/heads/master'
concurrency: test
runs-on: ubuntu-latest
permissions:
id-token: write
environment:
name: test
steps:
Expand Down Expand Up @@ -659,6 +665,8 @@ jobs:
needs: [ build_base, test ]
environment:
name: test
permissions:
id-token: write
services:
postgres:
image: postgres:13.10
Expand Down Expand Up @@ -729,6 +737,8 @@ jobs:
runs-on: ubuntu-latest
needs: [ integration, development ]
concurrency: production
permissions:
id-token: write
environment:
name: production
steps:
Expand Down

0 comments on commit cb53f0c

Please sign in to comment.