Migrate to TMT-style gating in C9S

This is required for RHIVOS, see VROOM-23635.
This commit is contained in:
Frantisek Sumsal 2024-11-26 09:46:43 +01:00
parent 277f9aaff8
commit 668aa7714c
4 changed files with 20 additions and 2 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

2
ci.fmf Normal file
View File

@ -0,0 +1,2 @@
# Docs: https://docs.fedoraproject.org/en-US/ci/tmt/#_multiple_plans
resultsdb-testcase: separate

View File

@ -1,6 +1,6 @@
--- !Policy
product_versions:
- rhel-9
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}

15
plans.fmf Normal file
View File

@ -0,0 +1,15 @@
/tier1-internal:
discover:
- name: Internal gating tests (procps-ng)
how: fmf
url: https://gitlab.com/redhat/rhel/tests/procps-ng.git
filter: 'tier: 1'
- name: Internal gating tests (procps)
how: fmf
url: https://pkgs.devel.redhat.com/git/tests/procps/
filter: 'tier: 1'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora