2019-08-14 18:36:23 +00:00
|
|
|
--- !Policy
|
|
|
|
product_versions:
|
|
|
|
- fedora-*
|
2021-06-21 20:33:50 +00:00
|
|
|
decision_contexts:
|
|
|
|
- bodhi_update_push_stable
|
|
|
|
- bodhi_update_push_testing
|
gating.yaml: duplicate the stanzas
The Gating spec[1] used to recommend having one type of
YAML stanza for master, one for released branches. We
just discovered today that this breaks when master
forks into a release branch: the string 'stable'
needs to be manually changed to 'testing', and
nobody is going to remember to do that, and I can't
think of a (non-tedious) way to add automated checks.
As of 2019-08 (09d7d4f), though, the Gating spec suggests
having *both* stanzas together in the same gating.yaml
file. @pingou himself concurs[2]. Although this is
horrible duplication -- two hundred characters, repeated
with only six of those different -- it seems cleaner
than the maintenance burden of having to update
release branches.
[1] https://docs.fedoraproject.org/en-US/ci/gating/
[2] https://src.fedoraproject.org/rpms/podman/pull-request/33
Oh, also, add a new 'subject_type' line apparently "required"
even though things seem to have been working fine without it.
(Source: same commit, 09d7d4f, on gating.adoc).
Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-05-20 19:38:05 +00:00
|
|
|
subject_type: koji_build
|
|
|
|
rules:
|
|
|
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
|
|
|
--- !Policy
|
|
|
|
product_versions:
|
2021-06-21 20:33:50 +00:00
|
|
|
- fedora-33
|
|
|
|
- fedora-34
|
|
|
|
decision_contexts:
|
|
|
|
- bodhi_update_push_stable
|
|
|
|
- bodhi_update_push_testing
|
|
|
|
subject_type: bodhi_update
|
2019-08-14 18:36:23 +00:00
|
|
|
rules:
|
2021-06-21 20:33:50 +00:00
|
|
|
- !PassingTestCaseRule {test_case_name: update.podman}
|
|
|
|
- !PassingTestCaseRule {test_case_name: update.podman_client}
|