Skip to content

Commit

Permalink
Cherry-pick #28665 to 2.51.0 release branch: Add GitHub Action workfl…
Browse files Browse the repository at this point in the history
…ows to mass_commit
  • Loading branch information
kennknowles authored Oct 6, 2023
2 parents 2420c90 + 0f3e801 commit e600ea8
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/beam_PostCommit_Python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
if: |
github.event_name == 'workflow_dispatch' ||
github.event_name == 'schedule' ||
github.event.comment.body == 'Run Python PostCommit'
startswith(github.event.comment.body, 'Run Python PostCommit 3.')
steps:
- uses: actions/checkout@v4
- name: Setup repository
Expand Down
33 changes: 25 additions & 8 deletions release/src/main/scripts/github_actions_jobs.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
Run Go PostCommit Dataflow ARM
Run Java_Examples_Dataflow_ARM PostCommit 8
Run Java_Examples_Dataflow_ARM PostCommit 11
Run Java_Examples_Dataflow_ARM PostCommit 17
Run Python ValidatesContainer Dataflow ARM 3.8
Run Python ValidatesContainer Dataflow ARM 3.9
Run Python ValidatesContainer Dataflow ARM 3.10
Run Python ValidatesContainer Dataflow ARM 3.11
Run PythonDocs PreCommit,beam_PreCommit_PythonDocs
Run PythonLint PreCommit,beam_PreCommit_PythonLint
Run RAT PreCommit,beam_PreCommit_RAT
Run Spotless PreCommit,beam_PreCommit_Spotless
Run Website PreCommit,beam_PreCommit_Website
Run Website_Stage_GCS PreCommit,beam_PreCommit_Website_Stage_GCS
Run Whitespace PreCommit,beam_PreCommit_Whitespace
Run PythonFormatter PreCommit,beam_PreCommit_PythonFormatter
Run Kotlin_Examples PreCommit,beam_PreCommit_Kotlin_Examples
Run Go PreCommit,beam_PreCommit_Go
Run GoPortable PreCommit,beam_PreCommit_GoPortable
Run GoPrism PreCommit,beam_PreCommit_GoPrism
Run Typescript PreCommit,beam_PreCommit_Typescript
Run CommunityMetrics PreCommit,beam_PreCommit_CommunityMetrics
Run Java_Flink_Versions PreCommit,beam_PreCommit_Java_Flink_Versions
Run It_Framework PreCommit,beam_PreCommit_ItFramework
Run Java examples on Dataflow,beam_PostCommit_Java_Examples_Dataflow
Run Go PostCommit Dataflow ARM,beam_PostCommit_Go_Dataflow_ARM
Run Java_Examples_Dataflow_ARM PostCommit 8,beam_PostCommit_Java_Examples_Dataflow_ARM
Run Java_Examples_Dataflow_ARM PostCommit 11,beam_PostCommit_Java_Examples_Dataflow_ARM
Run Java_Examples_Dataflow_ARM PostCommit 17,beam_PostCommit_Java_Examples_Dataflow_ARM
Run Python ValidatesContainer Dataflow ARM 3.8,beam_Python_ValidatesContainer_Dataflow_ARM
Run Python ValidatesContainer Dataflow ARM 3.9,beam_Python_ValidatesContainer_Dataflow_ARM
Run Python ValidatesContainer Dataflow ARM 3.10,beam_Python_ValidatesContainer_Dataflow_ARM
Run Python ValidatesContainer Dataflow ARM 3.11,beam_Python_ValidatesContainer_Dataflow_ARM
3 changes: 2 additions & 1 deletion release/src/main/scripts/mass_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ def getGithubActionsTriggerCommands(dirname):
comments = [line.strip() for line in file if len(line.strip()) > 0]

for i in range(len(comments)):
gha_trigger_commands.append(comments[i])
parts = comments[i].split(',')
gha_trigger_commands.append((parts[0], parts[1]))

return gha_trigger_commands

Expand Down

0 comments on commit e600ea8

Please sign in to comment.