From ef352d4083bd7c0fd7e10bca41fd8157bcb56515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Thu, 27 Nov 2025 13:17:06 +0100 Subject: [PATCH] Configure tier0 testing Based on the component's tier1 tests in https://gitlab.com/redhat/centos-stream/tests/ Aligns with the rest of rhel-pt-gcc's components. Related: RHEL-114068 --- .fmf/version | 1 + plans/tier0.fmf | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .fmf/version create mode 100644 plans/tier0.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/plans/tier0.fmf b/plans/tier0.fmf new file mode 100644 index 0000000..d9c6f25 --- /dev/null +++ b/plans/tier0.fmf @@ -0,0 +1,29 @@ +# Tier 0 test plan. It's actually Tier 1 +# - limited to its public part +# - executed on the architecture at hand +# When run by osci.tier0 on CentOS Stream or RHEL, it receives the following +# context: +# arch=x86_64 (the architecture at hand, currently OSCI uses just x86_64) +# distro=rhel. (even for CentOS Stream builds) +# trigger=build + +summary: Tier 0 test plan +discover: + - name: collect_info + how: shell + tests: + - name: /info/rpms + test: rpm -qa --last + - name: public_tests + how: fmf + url: https://gitlab.com/redhat/centos-stream/tests/libmpc.git + filter: tier:1 +execute: + how: tmt +adjust+: + - when: distro > rhel-7 + prepare+: + - how: shell + script: + - dnf config-manager --set-enabled '*CRB*' || true + - dnf config-manager --set-enabled crb || true