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
This commit is contained in:
Václav Kadlčík 2025-11-27 13:17:06 +01:00
parent 524ff7486f
commit ef352d4083
2 changed files with 30 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

29
plans/tier0.fmf Normal file
View File

@ -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<M>.<m> (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