Skip to content

Commit 705365a

Browse files
mohamedawnallahdamccorm
authored andcommitted
workflows: exclude ubuntu-latest from beam_PostCommit_Python
1 parent 2685f95 commit 705365a

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/beam_PostCommit_Python.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,7 @@ jobs:
6262
job_name: ['beam_PostCommit_Python']
6363
job_phrase: ['Run Python PostCommit']
6464
python_version: ['3.9', '3.10', '3.11', '3.12']
65-
# Run on both self-hosted and GitHub-hosted runners.
66-
# Some tests (marked require_docker_in_docker) can't run on Beam's
67-
# self-hosted runners due to Docker-in-Docker environment constraint.
68-
# These tests will only execute on ubuntu-latest (GitHub-hosted).
69-
# Context: https://github.com/apache/beam/pull/35585.
70-
os: [[self-hosted, ubuntu-20.04, highmem22], [ubuntu-latest]]
65+
os: [[self-hosted, ubuntu-20.04, highmem22]]
7166
if: |
7267
github.event_name == 'workflow_dispatch' ||
7368
github.event_name == 'pull_request_target' ||
@@ -105,11 +100,7 @@ jobs:
105100
arguments: |
106101
-Pjava21Home=$JAVA_HOME_21_X64 \
107102
-PuseWheelDistribution \
108-
-Pposargs="${{
109-
contains(matrix.os, 'self-hosted') &&
110-
'-m (not require_docker_in_docker)' ||
111-
'-m require_docker_in_docker'
112-
}}" \
103+
-Pposargs="-m (not require_docker_in_docker)" \
113104
-PpythonVersion=${{ matrix.python_version }} \
114105
env:
115106
CLOUDSDK_CONFIG: ${{ env.KUBELET_GCLOUD_CONFIG_PATH}}

0 commit comments

Comments
 (0)