Fix osci.tier0 setup

Did not work, see for example
https://gitlab.com/redhat/centos-stream/rpms/dwz/-/merge_requests/8
This commit is contained in:
Václav Kadlčík 2025-09-08 13:21:44 +02:00
parent def921adc5
commit 5b879d06b8

29
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/dwz.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