- Bring the same rpminspect configuration we already have in older RHELs. We'll need it. - Inject component=gcc-toolset-15-gcc as a new context item into tmt testing. The reason: On the old times ("SCL" times) we were able to recognize GCC Toolset builds and adjust individual test thanks to mere existence of the "collection=gcc-toolset-<NN>" item in the context. For SCL-less GCC Toolsets it's no longer possible. Therefore we need: - inject the new context item here (and all other downstream plans which is however out of scope of this commit) - update the metadata in all the downstream tests that adjust themselves depending on the "collection" item in the context (this again is out of scope here)
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# 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:
|
|
component: gcc-toolset-15-gcc
|
|
environment+:
|
|
WITH_SCL: gcc-toolset-15-env
|
|
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
|