From 69ac87089b6f742d6e2cf3cc63ef27839bace796 Mon Sep 17 00:00:00 2001 From: Pavel Simovec Date: Mon, 23 Sep 2024 11:32:39 +0200 Subject: [PATCH] Enable gating --- ci.fmf | 1 + gating.yaml | 6 ++++++ plans/ci.fmf | 8 -------- plans/tier1-internal.fmf | 11 +++++++++++ 4 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 ci.fmf create mode 100644 gating.yaml delete mode 100644 plans/ci.fmf create mode 100644 plans/tier1-internal.fmf diff --git a/ci.fmf b/ci.fmf new file mode 100644 index 0000000..c5aa0e0 --- /dev/null +++ b/ci.fmf @@ -0,0 +1 @@ +resultsdb-testcase: separate diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..ea3831d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional} diff --git a/plans/ci.fmf b/plans/ci.fmf deleted file mode 100644 index b40f45b..0000000 --- a/plans/ci.fmf +++ /dev/null @@ -1,8 +0,0 @@ -summary: CI plan, picks Tier1 tests, runs in beakerlib. -discover: - - name: fedora - how: fmf - filter: 'tier: 1' - url: https://src.fedoraproject.org/tests/openblas.git -execute: - how: tmt diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 0000000..c3b0b75 --- /dev/null +++ b/plans/tier1-internal.fmf @@ -0,0 +1,11 @@ +summary: Internal gating tests plan +discover: + - name: Internal gating tests + how: fmf + url: https://pkgs.devel.redhat.com/git/tests/openblas + filter: 'tier: 1' +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream or distro == fedora