Skip to content

Commit c55093f

Browse files
Merge pull request #11598 from rabbitmq/md/3-13/ci/rename-mixed-version-jobs
3.13: Add '-mixed' suffix to mixed-version CI job names (Backport #11597)
2 parents eae5d95 + 7a5bfaa commit c55093f

File tree

2 files changed

+595
-595
lines changed

2 files changed

+595
-595
lines changed

.github/workflows/templates/test-mixed-versions.template.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
#@ def job_names(plugins):
55
#@ names = []
66
#@ for p in plugins:
7-
#@ names.append("test-"+p)
7+
#@ names.append("test-"+p+"-mixed")
88
#@ end
99
#@ return names
1010
#@ end
1111

1212
#@ def sharded_job_names(plugin, shard_count):
1313
#@ names = []
1414
#@ for shard_index in range(0, shard_count):
15-
#@ names.append("test-"+plugin+"-"+str(shard_index))
15+
#@ names.append("test-"+plugin+"-"+str(shard_index)+"-mixed")
1616
#@ end
1717
#@ return names
1818
#@ end
@@ -166,7 +166,7 @@ jobs:
166166
echo "value=bazel-repo-cache-${{ hashFiles('MODULE.bazel') }}" | tee -a $GITHUB_OUTPUT
167167
168168
#@ for plugin in data.values.internal_deps:
169-
test-(@= plugin @):
169+
test-(@= plugin @)-mixed:
170170
needs: check-workflow
171171
uses: ./.github/workflows/test-plugin-mixed.yaml
172172
with:
@@ -177,7 +177,7 @@ jobs:
177177

178178
#@ rabbit_shard_count = 10
179179
#@ for shard_index in range(0, rabbit_shard_count):
180-
test-rabbit-(@= str(shard_index) @):
180+
test-rabbit-(@= str(shard_index) @)-mixed:
181181
needs: #@ ["check-workflow"] + job_names(data.values.internal_deps)
182182
uses: ./.github/workflows/test-plugin-mixed.yaml
183183
with:
@@ -188,16 +188,16 @@ jobs:
188188
secrets: inherit
189189
#@ end
190190

191-
test-rabbitmq_cli:
191+
test-rabbitmq_cli-mixed:
192192
needs: check-workflow
193-
uses: ./.github/workflows/test-plugin.yaml
193+
uses: ./.github/workflows/test-plugin-mixed.yaml
194194
with:
195195
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
196196
plugin: rabbitmq_cli
197197
secrets: inherit
198198

199199
#@ for plugin in data.values.tier1_plugins:
200-
test-(@= plugin @):
200+
test-(@= plugin @)-mixed:
201201
needs: #@ ["check-workflow"] + sharded_job_names("rabbit", rabbit_shard_count)
202202
uses: ./.github/workflows/test-plugin-mixed.yaml
203203
with:
@@ -207,7 +207,7 @@ jobs:
207207
#@ end
208208

209209
summary-test:
210-
needs: #@ job_names(data.values.internal_deps + data.values.tier1_plugins) + sharded_job_names("rabbit", rabbit_shard_count) + ["test-rabbitmq_cli"]
210+
needs: #@ job_names(data.values.internal_deps + data.values.tier1_plugins) + sharded_job_names("rabbit", rabbit_shard_count) + ["test-rabbitmq_cli-mixed"]
211211
runs-on: ubuntu-latest
212212
steps:
213213
- name: SUMMARY

0 commit comments

Comments
 (0)