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 9, 2024
1 parent 361e414 commit ea45145
Show file tree
Hide file tree
Showing 3 changed files with 18 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
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,9 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
concurrency: Review_${{github.event.number}}
permissions:
id-token: write
pull-requests: write
environment:
name: review
steps:
Expand Down Expand Up @@ -495,6 +498,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 +618,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 +666,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 +738,8 @@ jobs:
runs-on: ubuntu-latest
needs: [ integration, development ]
concurrency: production
permissions:
id-token: write
environment:
name: production
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/destroy_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
jobs:
destroy:
name: Destroy
permissions:
id-token: write
environment:
name: review
runs-on: ubuntu-latest
Expand Down

0 comments on commit ea45145

Please sign in to comment.