From 59e0fa1e87b69b426f7589cc0d5b3b3299dc0dd3 Mon Sep 17 00:00:00 2001 From: Adam Krajcik Date: Wed, 24 Jul 2024 16:19:24 +0200 Subject: [PATCH] Add gating --- .fmf/version | 1 + ci.fmf | 1 + gating.yaml | 6 ++++++ plans/tier1-internal.fmf | 11 +++++++++++ plans/tier1-public.fmf | 7 +++++++ 5 files changed, 26 insertions(+) create mode 100644 .fmf/version create mode 100644 ci.fmf create mode 100644 gating.yaml create mode 100644 plans/tier1-internal.fmf create mode 100644 plans/tier1-public.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/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..d9d641e --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional} diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 0000000..4e3064a --- /dev/null +++ b/plans/tier1-internal.fmf @@ -0,0 +1,11 @@ +summary: Internal Tier1 beakerlib tests. +discover: + - name: rhel + how: fmf + url: git://pkgs.devel.redhat.com/tests/tomcat + filter: 'tier: 1' +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream-10 diff --git a/plans/tier1-public.fmf b/plans/tier1-public.fmf new file mode 100644 index 0000000..f766786 --- /dev/null +++ b/plans/tier1-public.fmf @@ -0,0 +1,7 @@ +summary: Public Tier1 beakerlib tests +discover: + how: fmf + url: https://src.fedoraproject.org/tests/tomcat.git + filter: 'tier: 1' +execute: + how: tmt