From 3274abd19366f7977aa462fbbd602d58327a51b9 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 8 Jul 2024 14:32:08 +0200 Subject: [PATCH] Update tests and gating.yaml --- gating.yaml | 8 ++++++++ plans/internal.fmf | 12 ++++++++++++ tests/upstream-tests.fmf | 7 +++++++ 3 files changed, 27 insertions(+) create mode 100644 plans/internal.fmf diff --git a/gating.yaml b/gating.yaml index 3b56a2d..a5f7f45 100644 --- a/gating.yaml +++ b/gating.yaml @@ -14,3 +14,11 @@ decision_context: bodhi_update_push_stable subject_type: koji_build rules: - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + +# RHEL +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !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..9cd2f8e --- /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-XML-Parser +execute: + how: tmt diff --git a/tests/upstream-tests.fmf b/tests/upstream-tests.fmf index 65ae655..0d88806 100644 --- a/tests/upstream-tests.fmf +++ b/tests/upstream-tests.fmf @@ -2,3 +2,10 @@ summary: Upstream tests component: perl-XML-Parser require: perl-XML-Parser-tests test: /usr/libexec/perl-XML-Parser/test +enabled: true +tag: + - rhel-buildroot +adjust: + - enabled: false + when: distro < rhel-10 or distro < centos-stream-10 + continue: false