From 8051d15e93c033e3c6700c0db146bdd1989a1f2c Mon Sep 17 00:00:00 2001 From: Susan LeGendre-McGhee Date: Wed, 10 Jul 2024 17:51:22 +0000 Subject: [PATCH] Add fmf plan and enable gating Resolves: RHELPLAN-170357 Signed-off-by: Susan LeGendre-McGhee --- .fmf/version | 1 + gating.yaml | 25 +++++++++++++++++++++++++ plans/tier0.fmf | 9 +++++++++ 3 files changed, 35 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/tier0.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..8039fdb --- /dev/null +++ b/gating.yaml @@ -0,0 +1,25 @@ +# Stable Fedora releases +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + +# Fedora Rawhide +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + +# RHEL +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plans/tier0.fmf b/plans/tier0.fmf new file mode 100644 index 0000000..88d2437 --- /dev/null +++ b/plans/tier0.fmf @@ -0,0 +1,9 @@ +summary: CI plan to run all Tier0 tests + +discover: + how: fmf + filter: 'tier: 0' + url: https://github.com/dm-vdo/tmt-tests.git + +execute: + how: tmt