Skip to content

Commit becbba9

Browse files
authored
Use start-tsp v2, which authenticates to GCP with Workload Identity Federation (#177)
The GCLOUD_AUTH service account key is no longer passed in. The job declares id-token: write for the OIDC token and pull-requests: write for the action's comment reactions.
1 parent 8f22a34 commit becbba9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
jobs:
1111
build_and_test:
1212
runs-on: ubuntu-22.04
13+
permissions:
14+
contents: read
15+
id-token: write
16+
pull-requests: write
1317
steps:
1418
- uses: actions/checkout@v7
1519
- name: set up jdk 17
@@ -42,9 +46,8 @@ jobs:
4246
${{ secrets.TSP_ENV_INTEGRATION }}
4347
EOF
4448
- name: Start the TSP
45-
uses: IronCoreLabs/workflows/.github/actions/start-tsp@start-tsp-v1.0.0
49+
uses: IronCoreLabs/workflows/.github/actions/start-tsp@start-tsp-v2.0.0
4650
with:
47-
gcloud-auth: ${{ secrets.GCLOUD_AUTH }}
4851
env-file-path: .env.integration
4952
- name: integration test
5053
run: env $(cat .env.integration) ./test-suites/allTest.sh

0 commit comments

Comments
 (0)