Commit 7628330
committed
ci,packit: Add merge queue support with tiered CI
Enable GitHub merge queues for bootc. Heavy integration tests (multi-OS
matrix, Testing Farm, COPR builds) are expensive and should not block
every PR, but must pass before merging.
GitHub Actions CI now has three tiers:
- Plain PR: only cheap/fast jobs (build, unit tests, docs). Heavy jobs
are skipped but the `required-checks` sentinel still passes.
- `ci/tier-1` label: adds centos-10 matrix for package+integration+upgrade.
- `ci/merge` label or merge_group: full OS matrix, identical to what the
merge queue runs.
A `compute-ci-level` job emits dynamic JSON matrices based on the
trigger/labels; matrix jobs consume these via `fromJson()`. The
`required-checks` sentinel accepts `skipped` as success and uses explicit
jq failure reporting instead of the fragile `!`-negation pattern.
Packit (COPR builds + Testing Farm) is similarly label-gated: ci/tier-1
for primary targets (centos-10, fedora-44), ci/merge for the full set.
Packit is NOT wired into the merge queue as a required check because it
embeds the branch name in its check names
(`rpm-build:gh-readonly-queue/main/...:target`), making it impractical
to enforce via GitHub rulesets.
Ref: bootc-dev/infra#143
Assisted-by: OpenCode (Claude Sonnet 4.6)
Signed-off-by: Colin Walters <walters@verbum.org>1 parent 77cab5f commit 7628330
2 files changed
Lines changed: 115 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
34 | 75 | | |
35 | 76 | | |
36 | 77 | | |
| |||
125 | 166 | | |
126 | 167 | | |
127 | 168 | | |
| 169 | + | |
| 170 | + | |
128 | 171 | | |
129 | 172 | | |
130 | 173 | | |
131 | | - | |
| 174 | + | |
132 | 175 | | |
133 | 176 | | |
134 | 177 | | |
| |||
156 | 199 | | |
157 | 200 | | |
158 | 201 | | |
159 | | - | |
| 202 | + | |
| 203 | + | |
160 | 204 | | |
161 | 205 | | |
162 | 206 | | |
163 | | - | |
| 207 | + | |
164 | 208 | | |
165 | 209 | | |
166 | 210 | | |
| |||
266 | 310 | | |
267 | 311 | | |
268 | 312 | | |
269 | | - | |
| 313 | + | |
| 314 | + | |
270 | 315 | | |
271 | 316 | | |
272 | 317 | | |
273 | | - | |
| 318 | + | |
274 | 319 | | |
275 | 320 | | |
276 | 321 | | |
| |||
316 | 361 | | |
317 | 362 | | |
318 | 363 | | |
319 | | - | |
| 364 | + | |
320 | 365 | | |
321 | 366 | | |
322 | 367 | | |
| |||
358 | 403 | | |
359 | 404 | | |
360 | 405 | | |
361 | | - | |
| 406 | + | |
| 407 | + | |
362 | 408 | | |
363 | 409 | | |
364 | 410 | | |
| |||
389 | 435 | | |
390 | 436 | | |
391 | 437 | | |
392 | | - | |
| 438 | + | |
| 439 | + | |
393 | 440 | | |
394 | 441 | | |
395 | | - | |
| 442 | + | |
396 | 443 | | |
397 | 444 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
34 | 57 | | |
35 | | - | |
36 | | - | |
37 | 58 | | |
38 | 59 | | |
39 | 60 | | |
| |||
46 | 67 | | |
47 | 68 | | |
48 | 69 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 70 | | |
53 | 71 | | |
54 | 72 | | |
| |||
63 | 81 | | |
64 | 82 | | |
65 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
66 | 106 | | |
67 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
68 | 113 | | |
69 | 114 | | |
70 | 115 | | |
| |||
0 commit comments