Separate public and private tests and update gating accordingly

Gating also covers Fedora, so the gating.yaml files are the same

Resolves: RHELPLAN-155186
This commit is contained in:
Lukas Javorsky 2023-04-27 18:26:11 +00:00
parent 5423433896
commit d65a51467c
5 changed files with 43 additions and 22 deletions

1
ci.fmf Normal file
View File

@ -0,0 +1 @@
resultsdb-testcase: separate

View File

@ -1,6 +1,27 @@
# Branched Fedora (non-Rawhide)
--- !Policy
product_versions:
- rhel-9
- fedora-*
decision_context: bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/public.functional}
# Rawhide Fedora
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/public.functional}
# Gating RHEL
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/internal.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/public.functional}

View File

@ -1,20 +0,0 @@
/public:
summary: Public (Fedora) beakerlib tests
discover:
how: fmf
url: https://src.fedoraproject.org/tests/zlib.git
execute:
how: tmt
/private:
enabled: false
adjust:
- when: distro == rhel
enabled: true
because: private tests are accesible only within rhel pipline
discover:
how: fmf
url: https://pkgs.devel.redhat.com/cgit/tests/zlib.git
execute:
how: tmt

12
plans/internal.fmf Normal file
View File

@ -0,0 +1,12 @@
summary: Private (RHEL) beakerlib tests
enabled: false
adjust:
- when: distro == rhel
enabled: true
because: private tests are accesible only within rhel pipline
discover:
- name: rhel
how: fmf
url: git://pkgs.devel.redhat.com/tests/zlib
execute:
how: tmt

7
plans/public.fmf Normal file
View File

@ -0,0 +1,7 @@
summary: Public (Fedora) beakerlib tests
discover:
- name: fedora
how: fmf
url: https://src.fedoraproject.org/tests/zlib.git
execute:
how: tmt