From d82557d4460d26469a2705ef6741504964ebb675 Mon Sep 17 00:00:00 2001 From: Jakub Heger Date: Wed, 17 Jul 2024 11:46:26 +0200 Subject: [PATCH] enable gating MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Staněk Resolves: RHELPLAN-170663 --- .fmf/version | 1 + gating.yaml | 6 ++++++ plans/centos-stream.fmf | 15 +++++++++++++++ plans/tier1-internal.fmf | 10 ++++++++++ 4 files changed, 32 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/centos-stream.fmf create mode 100644 plans/tier1-internal.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/gating.yaml b/gating.yaml new file mode 100644 index 0000000..4ca9235 --- /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.tier0.functional} diff --git a/plans/centos-stream.fmf b/plans/centos-stream.fmf new file mode 100644 index 0000000..cb4504b --- /dev/null +++ b/plans/centos-stream.fmf @@ -0,0 +1,15 @@ +--- +summary: Package test suite +discover: + how: fmf + url: https://gitlab.com/redhat/centos-stream/tests/nodejs +environment: + NODEJS_MAIN_PACKAGE: nodejs22 + NODEJS_BIN: /usr/bin/node-22 +prepare: + - name: install tested package + how: install + package: '${NODEJS_MAIN_PACKAGE}' +execute: + how: tmt +... diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 0000000..938e7a3 --- /dev/null +++ b/plans/tier1-internal.fmf @@ -0,0 +1,10 @@ +summary: Internal Tier1 tests plan +discover: + how: fmf + filter: 'tier: 1' + url: https://pkgs.devel.redhat.com/git/tests/nodejs +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream or distro == fedora