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:
parent
94fb3f6768
commit
3a5a0e0d05
27
gating.yaml
Normal file
27
gating.yaml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Branched Fedora (non-Rawhide)
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- 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./plans/internal.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/public.functional}
|
20
plan.fmf
20
plan.fmf
@ -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
12
plans/internal.fmf
Normal 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
7
plans/public.fmf
Normal 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
|
Loading…
Reference in New Issue
Block a user