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
<https://artifacts.dev.testing-farm.io/cc6f0fc7-a772-4e21-843c-a97155e64c53/>:

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.
This commit is contained in:
Petr Písař 2022-12-01 11:19:29 +01:00
parent 0eb90a9a21
commit 8b9e0dff4f

7
gating.yaml Normal file
View File

@ -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}