Add gating configuration for C10S/RHEL10

Also, drop STI tests imported from Fedora, since OSCI/gating can't run
both STI and TMT tests simultaneously. In this case both tests imported
from Fedora are also in RHEL, so we don't lose any coverage.
This commit is contained in:
Frantisek Sumsal 2024-08-07 13:29:43 +02:00
parent a039ab4b7c
commit ed4df86e7d
5 changed files with 19 additions and 16 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/tar
filter: 'tier: 1'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora

View File

@ -1,16 +0,0 @@
# This package uses external repositories for maintaining CI test cases.
# Please don't edit this file if possible.
- hosts: localhost
roles:
- role: standard-test-beakerlib
repositories:
- repo: https://src.fedoraproject.org/tests/tar.git
dest: tar
# TODO: minimize: https://pagure.io/standard-test-roles/issue/294
fmf_filter: "tier: 1, 2"
# TODO: minimize: https://pagure.io/standard-test-roles/issue/294
tags:
- classic
- container
- atomic