Skip to content

Commit

Permalink
Fix Python ValidatesContainer Dataflow ARM workflow (#34008)
Browse files Browse the repository at this point in the history
  • Loading branch information
akashorabek authored Feb 18, 2025
1 parent cab8701 commit d6e74d4
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
github.event_name == 'workflow_dispatch' ||
startsWith(github.event.comment.body, 'Run Python ValidatesContainer Dataflow ARM')
runs-on: [self-hosted, ubuntu-20.04, main]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup repository
Expand All @@ -74,6 +74,12 @@ jobs:
uses: ./.github/actions/setup-environment-action
with:
python-version: ${{ matrix.python_version }}
- name: Authenticate on GCP
uses: google-github-actions/setup-gcloud@v0
with:
service_account_email: ${{ secrets.GCP_SA_EMAIL }}
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: GCloud Docker credential helper
Expand All @@ -94,6 +100,7 @@ jobs:
with:
gradle-command: :sdks:python:test-suites:dataflow:py${{steps.set_py_ver_clean.outputs.py_ver_clean}}:validatesContainerARM
arguments: |
--info \
-PpythonVersion=${{ matrix.python_version }} \
-Pcontainer-architecture-list=arm64,amd64 \
-Pdocker-repository-root=us.gcr.io/apache-beam-testing/github-actions \
Expand Down

0 comments on commit d6e74d4

Please sign in to comment.