From 8b9e0dff4fb69df10db336c23575c582d91ecb9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 1 Dec 2022 11:19:29 +0100 Subject: [PATCH] Enable gating on fedora-ci.koji-build.rpmdeplint.functional perl-Compress-Raw-Lzma depends on an exact version of xz-libs and any time xz is rebased the dependency breaks (bugs #2134183, #2149881). Fedora CI already catches it : Dependency problems with repos: nothing provides xz-libs(x86-64) = 5.2.7 needed by perl-Compress-Raw-Lzma-2.201-4.fc38.x86_64 nothing provides xz-libs(x86-64) = 5.2.7 needed by perl-Compress-Raw-Lzma-2.201-4.fc38.x86_64 But CI results are ignored by default. This patch turns respecting the dependency test retults on. Whenever the test fails, Bodhi pauses the automtic move of the xz build into a stable Fedora repository. Then the maintainer is supposed to unbreak the test (i.e. rebuild perl-Compress-Raw-Lzma against the new xz in a side tag) and add the new perl-Compress-Raw-Lzma build to the paused update. Then Fedora CI will rerun the test and the test will pass. --- gating.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 gating.yaml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..70ba11e --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional}