From 04f933aafa1b1440b31c847efb3ca7ed417d599a Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 9 Jul 2024 12:40:56 +0200 Subject: [PATCH] Update tests and gating.yaml --- gating.yaml | 14 ++++++++------ plans/internal.fmf | 12 ++++++++++++ tests/upstream-tests.fmf | 7 +++++++ 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 plans/internal.fmf diff --git a/gating.yaml b/gating.yaml index 3b56a2d..d758bfa 100644 --- a/gating.yaml +++ b/gating.yaml @@ -1,16 +1,18 @@ --- !Policy +id: fedora_policy product_versions: - fedora-* -decision_context: bodhi_update_push_testing +decision_contexts: + - bodhi_update_push_testing + - bodhi_update_push_stable subject_type: koji_build rules: - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} -# Rawhide +# RHEL --- !Policy product_versions: - - fedora-* -decision_context: bodhi_update_push_stable -subject_type: koji_build + - rhel-* +decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plans/internal.fmf b/plans/internal.fmf new file mode 100644 index 0000000..b0296aa --- /dev/null +++ b/plans/internal.fmf @@ -0,0 +1,12 @@ +summary: Private (RHEL) beakerlib tests +enabled: false +adjust: + - when: distro == rhel + enabled: true + because: private tests are accesible only within rhel pipline +discover: + - name: rhel + how: fmf + url: https://pkgs.devel.redhat.com/git/tests/perl-Date-Manip +execute: + how: tmt diff --git a/tests/upstream-tests.fmf b/tests/upstream-tests.fmf index 4269836..665b615 100644 --- a/tests/upstream-tests.fmf +++ b/tests/upstream-tests.fmf @@ -2,3 +2,10 @@ summary: Upstream tests component: perl-Date-Manip require: perl-Date-Manip-tests test: /usr/libexec/perl-Date-Manip/test +enabled: true +tag: + - rhel-buildroot +adjust: + - enabled: false + when: distro < rhel-10 or distro < centos-stream-10 + continue: false