Add some downstream tests to be run by osci.tier0

This is an equivalent to what system GCC of CentOS Stream 10 already
has [1].

Related: RHEL-92605

[1] 5780c4d2e3
This commit is contained in:
Václav Kadlčík 2025-05-26 15:27:17 +02:00
parent 3cdab9b323
commit 499f212f28
2 changed files with 40 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

39
tier0.fmf Normal file
View File

@ -0,0 +1,39 @@
# 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
context:
collection: gcc-toolset-13
environment+:
COLLECTIONS: gcc-toolset-13
WITH_SCL: "scl enable gcc-toolset-13"
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/gcc.git
filter: 'tag: CI-Tier-1'
provision+:
hardware:
disk:
- size: ">= 60 GiB"
memory: ">= 8 GiB"
prepare+:
- how: shell
script:
- dnf config-manager --set-enabled '*CRB*' || true
- dnf config-manager --set-enabled crb || true
- dnf config-manager --set-enabled rhel-buildroot || true
- dnf config-manager --set-enabled epel || true
execute:
how: tmt