From 5e4a09ffbf5f43f2dbb15fbea185b624dcab9cf3 Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Wed, 20 Dec 2023 18:57:12 -0300 Subject: [PATCH] Enable gating tests Ensure the Fedora zlib-ng tests will be executed when packages are pushed to testing or stable. --- .fmf/version | 1 + gating.yaml | 10 ++++++++++ plans/build-gating.fmf | 7 +++++++ 3 files changed, 18 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/build-gating.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..88fea03 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,10 @@ +--- !Policy +product_versions: + - fedora-* +decision_contexts: + - bodhi_update_push_testing + - bodhi_update_push_stable + - bodhi_update_push_stable_critpath +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/plans/build-gating.fmf b/plans/build-gating.fmf new file mode 100644 index 0000000..333555d --- /dev/null +++ b/plans/build-gating.fmf @@ -0,0 +1,7 @@ +summary: Fedora zlib-ng tests +discover: + - name: fedora + how: fmf + url: https://src.fedoraproject.org/tests/zlib-ng.git +execute: + how: tmt