Update gating

Import fmf test plans from tests repository, make both of them as
required and remove Fedora tests.
This commit is contained in:
Milan Lysonek 2024-06-05 08:43:09 +02:00
parent 56f8171c01
commit 5c2028d70e
3 changed files with 15 additions and 24 deletions

View File

@ -1,22 +1,7 @@
--- !Policy --- !Policy
product_versions: product_versions:
- fedora-* - rhel-10
decision_context: bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/fedora_tests.functional}
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/fedora_tests.functional}
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate decision_context: osci_compose_gate
rules: rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/ci/tier1.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.ci-beaker.functional} - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/ci/tier1-custom-hw.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tedude.validation}

12
plans/ci.fmf Normal file
View File

@ -0,0 +1,12 @@
summary: CI test plan
/tier1:
plan:
import:
url: https://pkgs.devel.redhat.com/git/tests/openscap
name: /plans/gating/tier1
/tier1-custom-hw:
plan:
import:
url: https://pkgs.devel.redhat.com/git/tests/openscap
name: /plans/gating/tier1-custom-hw

View File

@ -1,6 +0,0 @@
summary: Run tests from openscap tests repository
discover:
how: fmf
url: https://src.fedoraproject.org/tests/openscap
execute:
how: tmt