Migrate to TMT-style gating in C9S

This is required for RHIVOS, see VROOM-23635.
This commit is contained in:
Frantisek Sumsal 2024-11-25 18:00:04 +01:00
parent 7b28c998da
commit e62feb299b
4 changed files with 19 additions and 0 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

6
gating.yaml Normal file
View File

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

10
plans.fmf Normal file
View File

@ -0,0 +1,10 @@
/tier1-internal:
discover:
how: fmf
url: https://pkgs.devel.redhat.com/git/tests/lz4
filter: 'tier: 1'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora