diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/ci.fmf b/ci.fmf new file mode 100644 index 0000000..c5aa0e0 --- /dev/null +++ b/ci.fmf @@ -0,0 +1 @@ +resultsdb-testcase: separate diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..82fa572 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,23 @@ +--- !Policy +product_versions: + - fedora-* +decision_contexts: [bodhi_update_push_testing] +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/public.functional} +#gating rawhide +--- !Policy +product_versions: + - fedora-* +decision_contexts: [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/public.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional} diff --git a/plans/public.fmf b/plans/public.fmf new file mode 100644 index 0000000..94c654d --- /dev/null +++ b/plans/public.fmf @@ -0,0 +1,13 @@ +summary: Test plan that runs all tests from libppd tests repo. +discover: + - name: fedora-libppd + how: fmf + url: https://src.fedoraproject.org/tests/libppd.git + - name: fedora-cups-browsed + how: fmf + url: https://src.fedoraproject.org/tests/cups-browsed.git + - name: fedora-cups-filters + how: fmf + url: https://src.fedoraproject.org/tests/cups-filters.git +execute: + how: tmt diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 0000000..7e1cef0 --- /dev/null +++ b/plans/tier1-internal.fmf @@ -0,0 +1,20 @@ +summary: CI plan, picks internal Tier1 tests, runs in beakerlib. +discover: + - name: rhel-libppd + how: fmf + filter: 'tier: 1' + url: https://pkgs.devel.redhat.com/git/tests/libppd + - name: rhel-cups-browsed + how: fmf + filter: 'tier: 1' + url: https://pkgs.devel.redhat.com/git/tests/cups-browsed + - name: rhel-cups-filters + how: fmf + filter: 'tier: 1' + url: https://pkgs.devel.redhat.com/git/tests/cups-filters +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream, fedora + because: They don't have access to internal repos.