From a49d3ac3e636c23bbced95bbe52a68df5a04843b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Hrdina?= Date: Tue, 4 Apr 2023 13:01:50 +0200 Subject: [PATCH] Updating fmf plans ang gating for CentOS Stream --- ci.fmf | 1 + gating.yaml | 16 +++++++++------- plans/{all.fmf => public.fmf} | 0 plans/tier1-internal.fmf | 12 ++++++++++++ 4 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 ci.fmf rename plans/{all.fmf => public.fmf} (100%) create mode 100644 plans/tier1-internal.fmf diff --git a/ci.fmf b/ci.fmf new file mode 100644 index 00000000..c5aa0e08 --- /dev/null +++ b/ci.fmf @@ -0,0 +1 @@ +resultsdb-testcase: separate diff --git a/gating.yaml b/gating.yaml index 57d0f4ec..daad873f 100644 --- a/gating.yaml +++ b/gating.yaml @@ -1,19 +1,19 @@ --- !Policy product_versions: - fedora-* -decision_contexts: [bodhi_update_push_testing] +decision_context: bodhi_update_push_testing subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - -#gating rawhide + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/public.functional} + +#Rawhide --- !Policy product_versions: - fedora-* -decision_contexts: [bodhi_update_push_stable] +decision_context: bodhi_update_push_stable subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/public.functional} #gating rhel --- !Policy @@ -23,4 +23,6 @@ decision_context: osci_compose_gate rules: - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tedude.validation} - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.acceptance-tier.functional} \ No newline at end of file + - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.acceptance-tier.functional} + - !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/all.fmf b/plans/public.fmf similarity index 100% rename from plans/all.fmf rename to plans/public.fmf diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 00000000..ebe4da6a --- /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: git://pkgs.devel.redhat.com/tests/vim +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream or distro == fedora + because: They don't have access to internal repos.