Migrate to TMT-style gating in C9S

This is required for RHIVOS, see VROOM-23635.
This commit is contained in:
Frantisek Sumsal 2024-11-27 15:17:14 +01:00
parent 8d1b9f8cbe
commit aec7b4223d
5 changed files with 22 additions and 3 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,7 +1,7 @@
--- !Policy
product_versions:
- rhel-9
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/file-CI-plan.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}

5
plans/file-CI-plan.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: fedora CI tests plan
discover:
how: fmf
execute:
how: tmt

11
plans/tier1-internal.fmf Normal file
View File

@ -0,0 +1,11 @@
summary: Internal Tier 1 tests
discover:
how: fmf
url: https://pkgs.devel.redhat.com/git/tests/file
filter: 'tier: 1 | tag: CI-Tier-1'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora