This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 34cabc008d9 update all jobs with new name and phrase matrix, required
for rerun (#27852)
34cabc008d9 is described below
commit 34cabc008d9e746177dc9af2d0d3ea3d4587fc19
Author: Vlado Djerek <[email protected]>
AuthorDate: Tue Aug 8 16:45:36 2023 +0200
update all jobs with new name and phrase matrix, required for rerun (#27852)
* update all jobs with new name and phrase matrix, required for rerun
* add brackets and fix readme
* fix whitespace
* revert to startsWith
* update README
---
.github/workflows/README.md | 65 ++++++++++++++++++++--
.../workflows/beam_PostCommit_Go_Dataflow_ARM.yml | 9 ++-
.../beam_PostCommit_Java_Examples_Dataflow_ARM.yml | 12 ++--
.../workflows/beam_PreCommit_CommunityMetrics.yml | 9 ++-
.github/workflows/beam_PreCommit_Go.yml | 9 ++-
.github/workflows/beam_PreCommit_GoPortable.yml | 9 ++-
.github/workflows/beam_PreCommit_ItFramework.yml | 9 ++-
.../beam_PreCommit_Java_Examples_Dataflow.yml | 9 ++-
...eam_PreCommit_Java_Examples_Dataflow_Java11.yml | 9 ++-
.../beam_PreCommit_Java_Spark3_Versions.yml | 9 ++-
.../workflows/beam_PreCommit_Kotlin_Examples.yml | 9 ++-
.../workflows/beam_PreCommit_Portable_Python.yml | 9 ++-
.github/workflows/beam_PreCommit_Python.yml | 12 ++--
.github/workflows/beam_PreCommit_PythonDocker.yml | 15 ++---
.github/workflows/beam_PreCommit_PythonDocs.yml | 9 ++-
.../workflows/beam_PreCommit_PythonFormatter.yml | 9 ++-
.github/workflows/beam_PreCommit_PythonLint.yml | 9 ++-
.../workflows/beam_PreCommit_Python_Coverage.yml | 9 ++-
.../workflows/beam_PreCommit_Python_Dataframes.yml | 12 ++--
.../workflows/beam_PreCommit_Python_Examples.yml | 12 ++--
.../beam_PreCommit_Python_Integration.yml | 12 ++--
.../workflows/beam_PreCommit_Python_Runners.yml | 12 ++--
.../workflows/beam_PreCommit_Python_Transforms.yml | 12 ++--
.github/workflows/beam_PreCommit_RAT.yml | 9 ++-
.github/workflows/beam_PreCommit_SQL_Java11.yml | 9 ++-
.github/workflows/beam_PreCommit_Typescript.yml | 9 ++-
.github/workflows/beam_PreCommit_Website.yml | 9 ++-
.../workflows/beam_PreCommit_Website_Stage_GCS.yml | 9 ++-
.github/workflows/beam_PreCommit_Whitespace.yml | 9 ++-
...beam_Python_ValidatesContainer_Dataflow_ARM.yml | 17 +++---
30 files changed, 250 insertions(+), 111 deletions(-)
diff --git a/.github/workflows/README.md b/.github/workflows/README.md
index 1bf30f16f36..60dd5d1e61b 100644
--- a/.github/workflows/README.md
+++ b/.github/workflows/README.md
@@ -19,13 +19,68 @@
On top of normal Actions workflow steps, all new CI workflows (excluding
release workflows or other workflow automation) should have the following:
-1) A set of specific triggers
-2) An explicit checkout step
-3) A set of GitHub token permissions
-4) Concurrency Groups
-5) Comment Triggering Support
+1) Name and phrase set via matrix for re-run to work (See below)
+2) A set of specific triggers
+3) An explicit checkout step
+4) A set of GitHub token permissions
+5) Concurrency Groups
+6) Comment Triggering Support
Each of these is described in more detail below.
+## Name and Phrase
+Due to specifics on how the comment triggered rerun is handled it is required
that all jobs have name and phrase set via matrix elements. See the following
example:
+```
+jobs:
+ beam_job_name:
+ name: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
+ strategy:
+ matrix:
+ job_name: [beam_job_name]
+ job_phrase: [Run Job Phrase]
+ if: |
+ github.event_name == 'push' ||
+ github.event_name == 'pull_request_target' ||
+ github.event_name == 'schedule' ||
+ github.event_name == 'workflow_dispatch' ||
+ github.event.comment.body == 'Run Job Phrase'
+ steps:
+ - uses: actions/checkout@v3
+ - name: Setup repository
+ uses: ./.github/actions/setup-action
+ with:
+ comment_phrase: ${{ matrix.job_phrase }}
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
+
+```
+And in case when the workflow already utilizes matrix do the following:
+```
+jobs:
+ beam_job_with_matrix:
+ name: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{
matrix.python_version }})
+ runs-on: [self-hosted, ubuntu-20.04, main]
+ timeout-minutes: 30
+ strategy:
+ fail-fast: false
+ matrix:
+ job_name: ["beam_job_with_matrix"]
+ job_phrase: ["Run Job With Matrix"]
+ python_version: ['3.8','3.9','3.10','3.11']
+ if: |
+ github.event_name == 'push' ||
+ github.event_name == 'pull_request_target' ||
+ github.event_name == 'schedule' ||
+ startsWith(github.event.comment.body, 'Run Job With Matrix')
+ steps:
+ - uses: actions/checkout@v3
+ - name: Setup repository
+ uses: ./.github/actions/setup-action
+ with:
+ comment_phrase: ${{matrix.job_phrase}}
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{
matrix.python_version }})
+```
+Notice how the matrix element of `python_version` is appended to the name.
## Workflow triggers
diff --git a/.github/workflows/beam_PostCommit_Go_Dataflow_ARM.yml
b/.github/workflows/beam_PostCommit_Go_Dataflow_ARM.yml
index b69cbdd816f..66891af5dd1 100644
--- a/.github/workflows/beam_PostCommit_Go_Dataflow_ARM.yml
+++ b/.github/workflows/beam_PostCommit_Go_Dataflow_ARM.yml
@@ -55,14 +55,19 @@ jobs:
github.event_name == 'schedule' ||
github.event.comment.body == 'Run Go PostCommit Dataflow ARM'
runs-on: [self-hosted, ubuntu-20.04, main]
- name: beam_PostCommit_Go_Dataflow_ARM (Run Go PostCommit Dataflow ARM)
+ name: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
+ strategy:
+ matrix:
+ job_name: ["beam_PostCommit_Go_Dataflow_ARM"]
+ job_phrase: ["Run Go PostCommit Dataflow ARM"]
steps:
- uses: actions/checkout@v3
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Go PostCommit Dataflow ARM'
+ comment_phrase: ${{ matrix.job_phrase }}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Install Java
uses: actions/[email protected]
with:
diff --git a/.github/workflows/beam_PostCommit_Java_Examples_Dataflow_ARM.yml
b/.github/workflows/beam_PostCommit_Java_Examples_Dataflow_ARM.yml
index 0402f6641da..5728b584ef7 100644
--- a/.github/workflows/beam_PostCommit_Java_Examples_Dataflow_ARM.yml
+++ b/.github/workflows/beam_PostCommit_Java_Examples_Dataflow_ARM.yml
@@ -61,26 +61,28 @@ env:
jobs:
beam_PostCommit_Java_Examples__Dataflow_ARM:
- name: beam_PostCommit_Java_Examples__Dataflow_ARM (Run
Java_Examples_Dataflow_ARM PostCommit)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}}
${{matrix.java_version}})
runs-on: [self-hosted, ubuntu-20.04, main]
timeout-minutes: 120
strategy:
fail-fast: false
- matrix:
+ matrix:
+ job_name: [beam_PostCommit_Java_Examples__Dataflow_ARM]
+ job_phrase: [Run Java_Examples_Dataflow_ARM PostCommit]
java_version: ['8','11','17']
if: |
github.event_name == 'push' ||
github.event_name == 'schedule' ||
github. event_name == 'workflow_dispatch' ||
- github.event.comment.body == 'Run Java_Examples_Dataflow_ARM PostCommit'
+ startswith(github.event.comment.body, 'Run Java_Examples_Dataflow_ARM
PostCommit')
steps:
- uses: actions/checkout@v3
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Java_Examples_Dataflow_ARM PostCommit'
+ comment_phrase: ${{ matrix.job_phrase }} ${{matrix.java_version}}
github_token: ${{ secrets.GITHUB_TOKEN }}
- github_job: "beam_PostCommit_Java_Examples__Dataflow_ARM (Run
Java_Examples_Dataflow_ARM PostCommit)"
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
${{matrix.java_version}}
- name: Setup self-hosted
uses: ./.github/actions/setup-self-hosted-action
with:
diff --git a/.github/workflows/beam_PreCommit_CommunityMetrics.yml
b/.github/workflows/beam_PreCommit_CommunityMetrics.yml
index 3fb9ef0fcf7..a8c8739c2b2 100644
--- a/.github/workflows/beam_PreCommit_CommunityMetrics.yml
+++ b/.github/workflows/beam_PreCommit_CommunityMetrics.yml
@@ -52,9 +52,13 @@ concurrency:
jobs:
beam_PreCommit_CommunityMetrics:
- name: beam_PreCommit_CommunityMetrics (Run CommunityMetrics PreCommit)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}})
timeout-minutes: 120
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_CommunityMetrics]
+ job_phrase: [Run CommunityMetrics PreCommit]
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request_target' ||
@@ -66,8 +70,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run CommunityMetrics PreCommit'
+ comment_phrase: ${{matrix.job_phrase}}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Install Java
uses: actions/[email protected]
with:
diff --git a/.github/workflows/beam_PreCommit_Go.yml
b/.github/workflows/beam_PreCommit_Go.yml
index 2ea0d34c2b9..cf688ba4945 100644
--- a/.github/workflows/beam_PreCommit_Go.yml
+++ b/.github/workflows/beam_PreCommit_Go.yml
@@ -52,8 +52,12 @@ concurrency:
jobs:
beam_PreCommit_Go:
- name: beam_PreCommit_Go (Run Go PreCommit)
+ name: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_Go]
+ job_phrase: [Run Go PreCommit]
timeout-minutes: 120
if: |
github.event_name == 'push' ||
@@ -66,8 +70,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Go PreCommit'
+ comment_phrase: ${{ matrix.job_phrase }}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Install Java
uses: actions/[email protected]
with:
diff --git a/.github/workflows/beam_PreCommit_GoPortable.yml
b/.github/workflows/beam_PreCommit_GoPortable.yml
index 4a593a2f224..ad62ed3d6d4 100644
--- a/.github/workflows/beam_PreCommit_GoPortable.yml
+++ b/.github/workflows/beam_PreCommit_GoPortable.yml
@@ -52,8 +52,12 @@ permissions:
jobs:
beam_PreCommit_GoPortable:
- name: beam_PreCommit_GoPortable (Run GoPortable PreCommit)
+ name: ${{matrix.job_name}} (${{ matrix.job_phrase }})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_GoPortable]
+ job_phrase: [Run GoPortable PreCommit]
timeout-minutes: 120
if: |
github.event_name == 'push' ||
@@ -66,8 +70,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run GoPortable PreCommit'
+ comment_phrase: ${{ matrix.job_phrase }}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Setup self-hosted
uses: ./.github/actions/setup-self-hosted-action
with:
diff --git a/.github/workflows/beam_PreCommit_ItFramework.yml
b/.github/workflows/beam_PreCommit_ItFramework.yml
index 2698f75f46a..23987810b13 100644
--- a/.github/workflows/beam_PreCommit_ItFramework.yml
+++ b/.github/workflows/beam_PreCommit_ItFramework.yml
@@ -56,8 +56,12 @@ permissions:
statuses: read
jobs:
beam_PreCommit_ItFramework:
- name: beam_PreCommit_ItFramework (Run It_Framework PreCommit)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_ItFramework]
+ job_phrase: [Run It_Framework PreCommit]
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request_target' ||
@@ -69,8 +73,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run It_Framework PreCommit'
+ comment_phrase: ${{matrix.job_phrase}}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Setup self-hosted
uses: ./.github/actions/setup-self-hosted-action
with:
diff --git a/.github/workflows/beam_PreCommit_Java_Examples_Dataflow.yml
b/.github/workflows/beam_PreCommit_Java_Examples_Dataflow.yml
index e32ee99c4fa..623f72cb2de 100644
--- a/.github/workflows/beam_PreCommit_Java_Examples_Dataflow.yml
+++ b/.github/workflows/beam_PreCommit_Java_Examples_Dataflow.yml
@@ -66,9 +66,13 @@ permissions:
statuses: read
jobs:
beam_PreCommit_Java_Examples_Dataflow:
- name: beam_PreCommit_Java_Examples_Dataflow (Run Java_Examples_Dataflow
PreCommit)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}})
timeout-minutes: 60
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_Java_Examples_Dataflow]
+ job_phrase: [Run Java_Examples_Dataflow PreCommit]
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request_target' ||
@@ -80,8 +84,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Java_Examples_Dataflow PreCommit'
+ comment_phrase: ${{matrix.job_phrase}}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Setup self-hosted
uses: ./.github/actions/setup-self-hosted-action
with:
diff --git a/.github/workflows/beam_PreCommit_Java_Examples_Dataflow_Java11.yml
b/.github/workflows/beam_PreCommit_Java_Examples_Dataflow_Java11.yml
index 5bd100bfba5..8f0a0597c3f 100644
--- a/.github/workflows/beam_PreCommit_Java_Examples_Dataflow_Java11.yml
+++ b/.github/workflows/beam_PreCommit_Java_Examples_Dataflow_Java11.yml
@@ -67,8 +67,12 @@ permissions:
jobs:
beam_PreCommit_Java_Examples_Dataflow_Java11:
- name: beam_PreCommit_Java_Examples_Dataflow_Java11 (Run
Java_Examples_Dataflow_Java11 PreCommit)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_Java_Examples_Dataflow_Java11]
+ job_phrase: [Run Java_Examples_Dataflow_Java11 PreCommit]
timeout-minutes: 60
if: |
github.event_name == 'push' ||
@@ -81,8 +85,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Java_Examples_Dataflow_Java11 PreCommit'
+ comment_phrase: ${{matrix.job_phrase}}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{matrix.job_phrase}})
- name: Authenticate on GCP
uses: google-github-actions/setup-gcloud@v0
with:
diff --git a/.github/workflows/beam_PreCommit_Java_Spark3_Versions.yml
b/.github/workflows/beam_PreCommit_Java_Spark3_Versions.yml
index 7a7f5e368d3..8a99b4e8f93 100644
--- a/.github/workflows/beam_PreCommit_Java_Spark3_Versions.yml
+++ b/.github/workflows/beam_PreCommit_Java_Spark3_Versions.yml
@@ -57,8 +57,12 @@ permissions:
jobs:
beam_PreCommit_Java_Spark3_Versions:
- name: beam_PreCommit_Java_Spark3_Versions (Run Java_Spark3_Versions
PreCommit)
+ name: ${{matrix.job_name}} (${{ matrix.job_phrase }})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_Java_Spark3_Versions]
+ job_phrase: [Run Java_Spark3_Versions PreCommit]
timeout-minutes: 120
if: |
github.event_name == 'push' ||
@@ -71,8 +75,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Java_Spark3_Versions PreCommit'
+ comment_phrase: ${{matrix.job_phrase}}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Authenticate on GCP
uses: google-github-actions/setup-gcloud@v0
with:
diff --git a/.github/workflows/beam_PreCommit_Kotlin_Examples.yml
b/.github/workflows/beam_PreCommit_Kotlin_Examples.yml
index 18d99b89da5..17579f6fead 100644
--- a/.github/workflows/beam_PreCommit_Kotlin_Examples.yml
+++ b/.github/workflows/beam_PreCommit_Kotlin_Examples.yml
@@ -67,9 +67,13 @@ permissions:
jobs:
beam_PreCommit_Kotlin_Examples:
- name: beam_PreCommit_Kotlin_Examples (Run Kotlin_Examples PreCommit)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}})
timeout-minutes: 120
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_Kotlin_Examples]
+ job_phrase: [Run Kotlin_Examples PreCommit]
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request_target' ||
@@ -81,8 +85,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Kotlin_Examples PreCommit'
+ comment_phrase: ${{matrix.job_phrase}}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Install Java
uses: actions/[email protected]
with:
diff --git a/.github/workflows/beam_PreCommit_Portable_Python.yml
b/.github/workflows/beam_PreCommit_Portable_Python.yml
index b2a49aad320..59c9c573f9a 100644
--- a/.github/workflows/beam_PreCommit_Portable_Python.yml
+++ b/.github/workflows/beam_PreCommit_Portable_Python.yml
@@ -71,25 +71,28 @@ concurrency:
jobs:
beam_PreCommit_Portable_Python:
- name: beam_PreCommit_Portable_Python (Run Portable_Python PreCommit)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}}
${{matrix.python_version}})
timeout-minutes: 120
runs-on: ['self-hosted', ubuntu-20.04, main]
strategy:
fail-fast: false
matrix:
+ job_name: ['beam_PreCommit_Portable_Python']
+ job_phrase: ['Run Portable_Python PreCommit']
python_version: ['3.8', '3.11']
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request_target' ||
github.event_name == 'schedule' ||
- github.event.comment.body == 'Run Portable_Python PreCommit'
+ startsWith(github.event.comment.body, 'Run Portable_Python PreCommit')
steps:
- uses: actions/checkout@v3
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Portable_Python PreCommit'
+ comment_phrase: ${{matrix.job_phrase}} ${{matrix.python_version}}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{
matrix.python_version }})
- name: Install Java
uses: actions/[email protected]
with:
diff --git a/.github/workflows/beam_PreCommit_Python.yml
b/.github/workflows/beam_PreCommit_Python.yml
index a43ddc0b2a1..884514be845 100644
--- a/.github/workflows/beam_PreCommit_Python.yml
+++ b/.github/workflows/beam_PreCommit_Python.yml
@@ -51,12 +51,14 @@ concurrency:
jobs:
beam_PreCommit_Python:
- name: beam_PreCommit_Python (Run Python PreCommit 3.x)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}}
${{matrix.python_version}})
runs-on: [self-hosted, ubuntu-20.04, main]
timeout-minutes: 180
strategy:
fail-fast: false
matrix:
+ job_name: ['beam_PreCommit_Python']
+ job_phrase: ['Run Python PreCommit']
python_version: ['3.8','3.9','3.10','3.11']
if: |
github.event_name == 'push' ||
@@ -66,16 +68,12 @@ jobs:
startsWith(github.event.comment.body, 'Run Python PreCommit')
steps:
- uses: actions/checkout@v3
- - name: Set comment body with matrix
- id: set_comment_body
- run: |
- echo "comment_body=Run Python PreCommit (${{ matrix.python_version
}})" >> $GITHUB_OUTPUT
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: ${{ steps.set_comment_body.outputs.comment_body }}
+ comment_phrase: ${{ matrix.job_phrase }} ${{ matrix.python_version }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- github_job: "${{ github.job }} (${{ matrix.python_version }})"
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{
matrix.python_version }})
- name: Install Python
uses: actions/setup-python@v4
with:
diff --git a/.github/workflows/beam_PreCommit_PythonDocker.yml
b/.github/workflows/beam_PreCommit_PythonDocker.yml
index 03483359f29..6b86a3984aa 100644
--- a/.github/workflows/beam_PreCommit_PythonDocker.yml
+++ b/.github/workflows/beam_PreCommit_PythonDocker.yml
@@ -51,31 +51,28 @@ concurrency:
jobs:
beam_PreCommit_PythonDocker:
- name: beam_PreCommit_PythonDocker (Run PythonDocker PreCommit 3.x)
+ name: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{
matrix.python_version }})
runs-on: [self-hosted, ubuntu-20.04, main]
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
+ job_name: ["beam_PreCommit_PythonDocker"]
+ job_phrase: ["Run PythonDocker PreCommit"]
python_version: ['3.8','3.9','3.10','3.11']
if: |
github.event_name == 'push' ||
- github.event_name == 'pull_request_target' ||
+ github.event_name == 'pull_request_target' ||
github.event_name == 'schedule' ||
- github.event_name == 'workflow_dispatch' ||
startsWith(github.event.comment.body, 'Run PythonDocker PreCommit')
steps:
- uses: actions/checkout@v3
- - name: Set comment body with matrix
- id: set_comment_body
- run: |
- echo "comment_body=Run Python PythonDocker (${{
matrix.python_version }})" >> $GITHUB_OUTPUT
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: ${{ steps.set_comment_body.outputs.comment_body }}
+ comment_phrase: ${{matrix.job_phrase}} ${{ matrix.python_version }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- github_job: "${{ github.job }} (${{ matrix.python_version }})"
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{
matrix.python_version }})
- name: Install Java
uses: actions/setup-java@v3
with:
diff --git a/.github/workflows/beam_PreCommit_PythonDocs.yml
b/.github/workflows/beam_PreCommit_PythonDocs.yml
index 14e32ba7750..dd9b08e0796 100644
--- a/.github/workflows/beam_PreCommit_PythonDocs.yml
+++ b/.github/workflows/beam_PreCommit_PythonDocs.yml
@@ -52,8 +52,12 @@ concurrency:
jobs:
beam_PreCommit_PythonDocs:
- name: beam_PreCommit_PythonDocs (Run PythonDocs PreCommit)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_PythonDocs]
+ job_phrase: [Run PythonDocs PreCommit]
timeout-minutes: 30
if: |
github.event_name == 'push' ||
@@ -66,8 +70,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run PythonDocs PreCommit'
+ comment_phrase: ${{matrix.job_phrase}}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Install Java
uses: actions/[email protected]
with:
diff --git a/.github/workflows/beam_PreCommit_PythonFormatter.yml
b/.github/workflows/beam_PreCommit_PythonFormatter.yml
index d465953da95..bce56857938 100644
--- a/.github/workflows/beam_PreCommit_PythonFormatter.yml
+++ b/.github/workflows/beam_PreCommit_PythonFormatter.yml
@@ -51,8 +51,12 @@ concurrency:
jobs:
beam_PreCommit_PythonFormatter:
- name: beam_PreCommit_PythonFormatter (Run PythonFormatter PreCommit)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_PythonFormatter]
+ job_phrase: [Run PythonFormatter PreCommit]
timeout-minutes: 120
if: |
github.event_name == 'push' ||
@@ -65,8 +69,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run PythonFormatter PreCommit'
+ comment_phrase: ${{matrix.job_phrase}}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Install Java
uses: actions/[email protected]
with:
diff --git a/.github/workflows/beam_PreCommit_PythonLint.yml
b/.github/workflows/beam_PreCommit_PythonLint.yml
index 3bdfefa96d1..d3e46a5ac63 100644
--- a/.github/workflows/beam_PreCommit_PythonLint.yml
+++ b/.github/workflows/beam_PreCommit_PythonLint.yml
@@ -51,8 +51,12 @@ concurrency:
jobs:
beam_PreCommit_PythonLint:
- name: beam_PreCommit_PythonLint (Run PythonLint PreCommit)
+ name: ${{matrix.job_name}} (${{ matrix.job_phrase }})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_PythonLint]
+ job_phrase: [Run PythonLint PreCommit]
timeout-minutes: 120
if: |
github.event_name == 'push' ||
@@ -65,8 +69,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run PythonLint PreCommit'
+ comment_phrase: ${{ matrix.job_phrase }}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Install Java
uses: actions/[email protected]
with:
diff --git a/.github/workflows/beam_PreCommit_Python_Coverage.yml
b/.github/workflows/beam_PreCommit_Python_Coverage.yml
index e79c55d7607..9c990415391 100644
--- a/.github/workflows/beam_PreCommit_Python_Coverage.yml
+++ b/.github/workflows/beam_PreCommit_Python_Coverage.yml
@@ -51,8 +51,12 @@ concurrency:
jobs:
beam_PreCommit_Python_Coverage:
- name: beam_PreCommit_Python_Coverage (Run Python_Coverage PreCommit)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_Python_Coverage]
+ job_phrase: [Run Python_Coverage PreCommit]
timeout-minutes: 180
if: |
github.event_name == 'push' ||
@@ -65,8 +69,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Python_Coverage PreCommit'
+ comment_phrase: ${{matrix.job_phrase}}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Install Python
uses: actions/setup-python@v4
with:
diff --git a/.github/workflows/beam_PreCommit_Python_Dataframes.yml
b/.github/workflows/beam_PreCommit_Python_Dataframes.yml
index cdf2964fd0d..b039254c97d 100644
--- a/.github/workflows/beam_PreCommit_Python_Dataframes.yml
+++ b/.github/workflows/beam_PreCommit_Python_Dataframes.yml
@@ -51,12 +51,14 @@ concurrency:
jobs:
beam_PreCommit_Python_Dataframes:
- name: beam_PreCommit_Python_Dataframes (Run Python_Dataframes PreCommit
3.x)
+ name: ${{matrix.job_name}} (${{ matrix.job_phrase}} ${{
matrix.python_version}})
runs-on: [self-hosted, ubuntu-20.04, main]
timeout-minutes: 180
strategy:
fail-fast: false
matrix:
+ job_name: ['beam_PreCommit_Python_Dataframes']
+ job_phrase: ['Run Python_Dataframes PreCommit']
python_version: ['3.8','3.9','3.10','3.11']
if: |
github.event_name == 'push' ||
@@ -66,16 +68,12 @@ jobs:
startsWith(github.event.comment.body, 'Run Python_Dataframes PreCommit')
steps:
- uses: actions/checkout@v3
- - name: Set comment body with matrix
- id: set_comment_body
- run: |
- echo "comment_body=Run Python_Dataframes PreCommit (${{
matrix.python_version }})" >> $GITHUB_OUTPUT
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: ${{ steps.set_comment_body.outputs.comment_body }}
+ comment_phrase: ${{ matrix.job_phrase}} ${{ matrix.python_version}}
github_token: ${{ secrets.GITHUB_TOKEN }}
- github_job: "${{ github.job }} (${{ matrix.python_version }})"
+ github_job: ${{ matrix.job_name}} (${{ matrix.job_phrase}} ${{
matrix.python_version}})
- name: Install Python
uses: actions/setup-python@v4
with:
diff --git a/.github/workflows/beam_PreCommit_Python_Examples.yml
b/.github/workflows/beam_PreCommit_Python_Examples.yml
index 750a5b19a4e..65bc447915c 100644
--- a/.github/workflows/beam_PreCommit_Python_Examples.yml
+++ b/.github/workflows/beam_PreCommit_Python_Examples.yml
@@ -51,12 +51,14 @@ concurrency:
jobs:
beam_PreCommit_Python_Examples:
- name: beam_PreCommit_Python_Examples (Run Python_Examples PreCommit 3.x)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}} ${{
matrix.python_version }})
runs-on: [self-hosted, ubuntu-20.04, main]
timeout-minutes: 180
strategy:
fail-fast: false
matrix:
+ job_name: ['beam_PreCommit_Python_Examples']
+ job_phrase: ['Run Python_Examples PreCommit']
python_version: ['3.8','3.9','3.10','3.11']
if: |
github.event_name == 'push' ||
@@ -66,16 +68,12 @@ jobs:
startsWith(github.event.comment.body, 'Run Python_Examples PreCommit')
steps:
- uses: actions/checkout@v3
- - name: Set comment body with matrix
- id: set_comment_body
- run: |
- echo "comment_body=Run Python_Examples PreCommit (${{
matrix.python_version }})" >> $GITHUB_OUTPUT
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: ${{ steps.set_comment_body.outputs.comment_body }}
+ comment_phrase: ${{ matrix.job_phrase }} ${{ matrix.python_version }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- github_job: "${{ github.job }} (${{ matrix.python_version }})"
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{
matrix.python_version }})
- name: Install Python
uses: actions/setup-python@v4
with:
diff --git a/.github/workflows/beam_PreCommit_Python_Integration.yml
b/.github/workflows/beam_PreCommit_Python_Integration.yml
index 1f1520ada8f..00ee772ceb9 100644
--- a/.github/workflows/beam_PreCommit_Python_Integration.yml
+++ b/.github/workflows/beam_PreCommit_Python_Integration.yml
@@ -51,12 +51,14 @@ concurrency:
jobs:
beam_PreCommit_Python_Integration:
- name: beam_PreCommit_Python_Integration (Run Python_Integration PreCommit
3.x)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}}
${{matrix.python_version}})
runs-on: [self-hosted, ubuntu-20.04, main]
timeout-minutes: 180
strategy:
fail-fast: false
matrix:
+ job_name: ['beam_PreCommit_Python_Integration']
+ job_phrase: ['Run Python_Integration PreCommit']
python_version: ['3.8', '3.11']
if: |
github.event_name == 'push' ||
@@ -66,16 +68,12 @@ jobs:
startsWith(github.event.comment.body, 'Run Python_Integration PreCommit')
steps:
- uses: actions/checkout@v3
- - name: Set comment body with matrix
- id: set_comment_body
- run: |
- echo "comment_body=Run Python_Integration PreCommit (${{
matrix.python_version }})" >> $GITHUB_OUTPUT
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: ${{ steps.set_comment_body.outputs.comment_body }}
+ comment_phrase: ${{ matrix.job_phrase }} ${{ matrix.python_version }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- github_job: "${{ github.job }} (${{ matrix.python_version }})"
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{
matrix.python_version }})
- name: Install Python
uses: actions/setup-python@v4
with:
diff --git a/.github/workflows/beam_PreCommit_Python_Runners.yml
b/.github/workflows/beam_PreCommit_Python_Runners.yml
index 2dbee0c6fc8..8d6886eb679 100644
--- a/.github/workflows/beam_PreCommit_Python_Runners.yml
+++ b/.github/workflows/beam_PreCommit_Python_Runners.yml
@@ -51,12 +51,14 @@ concurrency:
jobs:
beam_PreCommit_Python_Runners:
- name: beam_PreCommit_Python_Runners (Run Python_Runners PreCommit 3.x)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}}
${{matrix.python_version}})
runs-on: [self-hosted, ubuntu-20.04, main]
timeout-minutes: 180
strategy:
fail-fast: false
matrix:
+ job_name: ['beam_PreCommit_Python_Runners']
+ job_phrase: ['Run Python_Runners PreCommit']
python_version: ['3.8','3.9','3.10','3.11']
if: |
github.event_name == 'push' ||
@@ -66,16 +68,12 @@ jobs:
startsWith(github.event.comment.body, 'Run Python_Runners PreCommit')
steps:
- uses: actions/checkout@v3
- - name: Set comment body with matrix
- id: set_comment_body
- run: |
- echo "comment_body=Run Python_Runners PreCommit (${{
matrix.python_version }})" >> $GITHUB_OUTPUT
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: ${{ steps.set_comment_body.outputs.comment_body }}
+ comment_phrase: ${{ matrix.job_phrase }} ${{ matrix.python_version }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- github_job: "${{ github.job }} (${{ matrix.python_version }})"
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{
matrix.python_version }})
- name: Install Python
uses: actions/setup-python@v4
with:
diff --git a/.github/workflows/beam_PreCommit_Python_Transforms.yml
b/.github/workflows/beam_PreCommit_Python_Transforms.yml
index 174473b5fee..e24d8dc9488 100644
--- a/.github/workflows/beam_PreCommit_Python_Transforms.yml
+++ b/.github/workflows/beam_PreCommit_Python_Transforms.yml
@@ -51,12 +51,14 @@ concurrency:
jobs:
beam_PreCommit_Python_Transforms:
- name: beam_PreCommit_Python_Transforms (Run Python_Transforms PreCommit
3.x)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}}
${{matrix.python_version}})
runs-on: [self-hosted, ubuntu-20.04, main]
timeout-minutes: 180
strategy:
fail-fast: false
matrix:
+ job_name: ['beam_PreCommit_Python_Transforms']
+ job_phrase: ['Run Python_Transforms PreCommit']
python_version: ['3.8','3.9','3.10','3.11']
if: |
github.event_name == 'push' ||
@@ -66,16 +68,12 @@ jobs:
startsWith(github.event.comment.body, 'Run Python_Transforms PreCommit')
steps:
- uses: actions/checkout@v3
- - name: Set comment body with matrix
- id: set_comment_body
- run: |
- echo "comment_body=Run Python_Transforms PreCommit (${{
matrix.python_version }})" >> $GITHUB_OUTPUT
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: ${{ steps.set_comment_body.outputs.comment_body }}
+ comment_phrase: ${{ matrix.job_phrase }} ${{ matrix.python_version }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- github_job: "${{ github.job }} (${{ matrix.python_version }})"
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{
matrix.python_version }})
- name: Install Python
uses: actions/setup-python@v4
with:
diff --git a/.github/workflows/beam_PreCommit_RAT.yml
b/.github/workflows/beam_PreCommit_RAT.yml
index 3ba6e97386c..4395e24dee5 100644
--- a/.github/workflows/beam_PreCommit_RAT.yml
+++ b/.github/workflows/beam_PreCommit_RAT.yml
@@ -50,8 +50,12 @@ concurrency:
jobs:
beam_PreCommit_RAT:
- name: beam_PreCommit_RAT (Run RAT PreCommit)
+ name: ${{matrix.job_name}} (${{ matrix.job_phrase }})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_RAT]
+ job_phrase: [Run RAT PreCommit]
timeout-minutes: 120
if: |
github.event_name == 'push' ||
@@ -64,8 +68,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run RAT PreCommit'
+ comment_phrase: ${{ matrix.job_phrase }}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Install Java
uses: actions/[email protected]
with:
diff --git a/.github/workflows/beam_PreCommit_SQL_Java11.yml
b/.github/workflows/beam_PreCommit_SQL_Java11.yml
index 791c09e29d8..1c5e9d8333e 100644
--- a/.github/workflows/beam_PreCommit_SQL_Java11.yml
+++ b/.github/workflows/beam_PreCommit_SQL_Java11.yml
@@ -52,8 +52,12 @@ permissions:
jobs:
beam_PreCommit_SQL_Java11:
- name: beam_PreCommit_SQL_Java11 (Run SQL_Java11 PreCommit)
+ name: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_SQL_Java11]
+ job_phrase: [Run SQL_Java11 PreCommit]
timeout-minutes: 120
if: |
github.event_name == 'push' ||
@@ -66,8 +70,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run SQL_Java11 PreCommit'
+ comment_phrase: ${{ matrix.job_phrase }}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Set up Java
uses: actions/[email protected]
with:
diff --git a/.github/workflows/beam_PreCommit_Typescript.yml
b/.github/workflows/beam_PreCommit_Typescript.yml
index 0271ad9241f..3ce517ad011 100644
--- a/.github/workflows/beam_PreCommit_Typescript.yml
+++ b/.github/workflows/beam_PreCommit_Typescript.yml
@@ -53,9 +53,13 @@ permissions:
statuses: read
jobs:
beam_PreCommit_Typescript:
- name: beam_PreCommit_Typescript (Run Typescript PreCommit)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}})
timeout-minutes: 120
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_Typescript]
+ job_phrase: [Run Typescript PreCommit]
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request_target' ||
@@ -67,8 +71,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Typescript PreCommit'
+ comment_phrase: ${{matrix.job_phrase}}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Setup self-hosted
uses: ./.github/actions/setup-self-hosted-action
with:
diff --git a/.github/workflows/beam_PreCommit_Website.yml
b/.github/workflows/beam_PreCommit_Website.yml
index 744c871e55a..77463c08ff2 100644
--- a/.github/workflows/beam_PreCommit_Website.yml
+++ b/.github/workflows/beam_PreCommit_Website.yml
@@ -52,8 +52,12 @@ concurrency:
jobs:
beam_PreCommit_Website:
- name: beam_PreCommit_Website (Run Website PreCommit)
+ name: ${{matrix.job_name}} (${{ matrix.job_phrase}})
runs-on: [self-hosted, ubuntu-20.04, small]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_Website]
+ job_phrase: [Run Website PreCommit]
timeout-minutes: 120
if: |
github.event_name == 'push' ||
@@ -66,8 +70,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Website PreCommit'
+ comment_phrase: ${{ matrix.job_phrase }}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Install Java
uses: actions/[email protected]
with:
diff --git a/.github/workflows/beam_PreCommit_Website_Stage_GCS.yml
b/.github/workflows/beam_PreCommit_Website_Stage_GCS.yml
index cc8ea78076c..895c5fdcd3e 100644
--- a/.github/workflows/beam_PreCommit_Website_Stage_GCS.yml
+++ b/.github/workflows/beam_PreCommit_Website_Stage_GCS.yml
@@ -56,8 +56,12 @@ env:
jobs:
beam_PreCommit_Website_Stage_GCS:
- name: beam_PreCommit_Website_Stage_GCS (Run Website_Stage_GCS PreCommit)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_Website_Stage_GCS]
+ job_phrase: [Run Website_Stage_GCS PreCommit]
timeout-minutes: 120
if: |
github.event_name == 'push' ||
@@ -70,8 +74,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Website_Stage_GCS PreCommit'
+ comment_phrase: ${{ matrix.job_phrase }}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Echo PR number
run: echo "ghprbPullId=${{ github.event.pull_request.number ||
github.event.issue.number }}" >> $GITHUB_ENV
- name: Setup self-hosted
diff --git a/.github/workflows/beam_PreCommit_Whitespace.yml
b/.github/workflows/beam_PreCommit_Whitespace.yml
index 4704387e04a..928ca49766f 100644
--- a/.github/workflows/beam_PreCommit_Whitespace.yml
+++ b/.github/workflows/beam_PreCommit_Whitespace.yml
@@ -51,8 +51,12 @@ concurrency:
jobs:
beam_PreCommit_Whitespace:
- name: beam_PreCommit_Whitespace (Run Whitespace PreCommit)
+ name: ${{matrix.job_name}} (${{ matrix.job_phrase }})
runs-on: [self-hosted, ubuntu-20.04, main]
+ strategy:
+ matrix:
+ job_name: [beam_PreCommit_Whitespace]
+ job_phrase: [Run Whitespace PreCommit]
timeout-minutes: 120
if: |
github.event_name == 'push' ||
@@ -65,8 +69,9 @@ jobs:
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: 'Run Whitespace PreCommit'
+ comment_phrase: ${{ matrix.job_phrase }}
github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Install Java
uses: actions/[email protected]
with:
diff --git a/.github/workflows/beam_Python_ValidatesContainer_Dataflow_ARM.yml
b/.github/workflows/beam_Python_ValidatesContainer_Dataflow_ARM.yml
index 468a9b9a1fb..832d1afe009 100644
--- a/.github/workflows/beam_Python_ValidatesContainer_Dataflow_ARM.yml
+++ b/.github/workflows/beam_Python_ValidatesContainer_Dataflow_ARM.yml
@@ -49,31 +49,30 @@ concurrency:
jobs:
beam_Python_ValidatesContainer_Dataflow_ARM:
- name: beam_Python_ValidatesContainer_Dataflow_ARM (Run Python
ValidatesContainer Dataflow ARM 3.x)
+ name: ${{matrix.job_name}} (${{matrix.job_phrase}} ${{
matrix.python_version }})
strategy:
fail-fast: false
matrix:
+ job_name: [beam_Python_ValidatesContainer_Dataflow_ARM]
+ job_phrase: [Run Python ValidatesContainer Dataflow ARM]
python_version: ['3.8','3.9','3.10','3.11']
if: |
github.event_name == 'push' ||
- startsWith(github.event.comment.body, 'Run Python ValidatesContainer
Dataflow ARM') ||
github.event_name == 'schedule' ||
- github.event_name == 'workflow_dispatch'
+ github.event_name == 'workflow_dispatch' ||
+ startsWith(github.event.comment.body, 'Run Python ValidatesContainer
Dataflow ARM')
+
runs-on: [self-hosted, ubuntu-20.04, main]
env:
MULTIARCH_TAG: $(date +'%Y%m%d-%H%M%S%N')
steps:
- uses: actions/checkout@v3
- - name: Set comment body with matrix
- id: set_comment_body
- run: |
- echo "comment_body=Run Python ValidatesContainer Dataflow ARM (${{
matrix.python_version }})" >> $GITHUB_OUTPUT
- name: Setup repository
uses: ./.github/actions/setup-action
with:
- comment_phrase: ${{ steps.set_comment_body.outputs.comment_body }}
+ comment_phrase: ${{ matrix.job_phrase }} ${{ matrix.python_version }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- github_job: "beam_Python_ValidatesContainer_Dataflow_ARM (Run Python
ValidatesContainer Dataflow ARM 3.x) (${{ matrix.python_version }})"
+ github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{
matrix.python_version }})
- name: Install Python
uses: actions/setup-python@v4
with: