From 55a651b63c9b705bccf10a128fc41fc15cc71e8e Mon Sep 17 00:00:00 2001 From: Hongli Lai Date: Wed, 7 Aug 2024 20:10:23 +0200 Subject: [PATCH] ... --- .../ci-cd-publish-test-production.yml | 26 +++++++++---------- .../ci-cd-publish-test-production.yml.erb | 4 +-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci-cd-publish-test-production.yml b/.github/workflows/ci-cd-publish-test-production.yml index e1fcae8d..e3e53da6 100644 --- a/.github/workflows/ci-cd-publish-test-production.yml +++ b/.github/workflows/ci-cd-publish-test-production.yml @@ -50,7 +50,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -149,7 +149,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -192,7 +192,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -235,7 +235,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -278,7 +278,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -321,7 +321,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -364,7 +364,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -408,7 +408,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -451,7 +451,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -494,7 +494,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -537,7 +537,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -580,7 +580,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -623,7 +623,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: diff --git a/.github/workflows/ci-cd-publish-test-production.yml.erb b/.github/workflows/ci-cd-publish-test-production.yml.erb index 1a05bf26..7ec834ac 100644 --- a/.github/workflows/ci-cd-publish-test-production.yml.erb +++ b/.github/workflows/ci-cd-publish-test-production.yml.erb @@ -40,7 +40,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: @@ -141,7 +141,7 @@ jobs: - uses: google-github-actions/auth@v2 with: project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-deploy/providers/github-ci-deploy + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 with: