From 1e07ef909c6265de153ae45698aba67f0401cfb8 Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Tue, 4 Jun 2024 13:38:05 +0200 Subject: [PATCH] Add gating yaml and testing plans --- gating.yaml | 23 +++++++++++++++++++++++ plans/public.fmf | 6 ++++++ plans/tier1-internal.fmf | 12 ++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 gating.yaml create mode 100644 plans/public.fmf create mode 100644 plans/tier1-internal.fmf diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..cabc9d9 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,23 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/public.functional} +#Rawhide +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/public.functional} +#gating rhel +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/public.functional} diff --git a/plans/public.fmf b/plans/public.fmf new file mode 100644 index 0000000..1e748da --- /dev/null +++ b/plans/public.fmf @@ -0,0 +1,6 @@ +summary: Test plan that runs all Fedora tests. +discover: + how: fmf + url: https://src.fedoraproject.org/tests/cups.git +execute: + how: tmt diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 0000000..6b0a519 --- /dev/null +++ b/plans/tier1-internal.fmf @@ -0,0 +1,12 @@ +summary: CI plan, picks internal Tier1 tests, runs in beakerlib. +discover: + - name: rhel + how: fmf + filter: 'tier: 1' + url: https://pkgs.devel.redhat.com/git/tests/cups +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream or distro == fedora + because: They don't have access to internal repos.