diff --git a/plans/ci.fmf b/plans/ci.fmf deleted file mode 100644 index 3fd3ab7..0000000 --- a/plans/ci.fmf +++ /dev/null @@ -1,5 +0,0 @@ -summary: CI Gating Plan -discover: - how: fmf -execute: - how: tmt 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