Skip to content

Commit bb8e6bc

Browse files
authored
added GCP auth to Java Dataflow V2 streaming validates runner (#38027)
1 parent 0901331 commit bb8e6bc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/beam_PostCommit_Java_ValidatesRunner_Dataflow_V2_Streaming.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ jobs:
7676
uses: ./.github/actions/setup-environment-action
7777
with:
7878
java-version: default
79+
- name: Authenticate to GCP
80+
uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093
81+
with:
82+
service_account: ${{ secrets.GCP_SA_EMAIL }}
83+
credentials_json: ${{ secrets.GCP_SA_KEY }}
84+
- name: Set up Cloud SDK
85+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
7986
- name: run validatesRunnerV2Streaming script
8087
uses: ./.github/actions/gradle-command-self-hosted-action
8188
with:

0 commit comments

Comments
 (0)