Skip to content

Commit d6e74d4

Browse files
authoredFeb 18, 2025··
Fix Python ValidatesContainer Dataflow ARM workflow (#34008)
1 parent cab8701 commit d6e74d4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
 

‎.github/workflows/beam_Python_ValidatesContainer_Dataflow_ARM.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
github.event_name == 'workflow_dispatch' ||
6262
startsWith(github.event.comment.body, 'Run Python ValidatesContainer Dataflow ARM')
6363
64-
runs-on: [self-hosted, ubuntu-20.04, main]
64+
runs-on: ubuntu-22.04
6565
steps:
6666
- uses: actions/checkout@v4
6767
- name: Setup repository
@@ -74,6 +74,12 @@ jobs:
7474
uses: ./.github/actions/setup-environment-action
7575
with:
7676
python-version: ${{ matrix.python_version }}
77+
- name: Authenticate on GCP
78+
uses: google-github-actions/setup-gcloud@v0
79+
with:
80+
service_account_email: ${{ secrets.GCP_SA_EMAIL }}
81+
service_account_key: ${{ secrets.GCP_SA_KEY }}
82+
export_default_credentials: true
7783
- name: Set up Docker Buildx
7884
uses: docker/setup-buildx-action@v2
7985
- name: GCloud Docker credential helper
@@ -94,6 +100,7 @@ jobs:
94100
with:
95101
gradle-command: :sdks:python:test-suites:dataflow:py${{steps.set_py_ver_clean.outputs.py_ver_clean}}:validatesContainerARM
96102
arguments: |
103+
--info \
97104
-PpythonVersion=${{ matrix.python_version }} \
98105
-Pcontainer-architecture-list=arm64,amd64 \
99106
-Pdocker-repository-root=us.gcr.io/apache-beam-testing/github-actions \

0 commit comments

Comments
 (0)