From 119133c94ff8147b191c014992661ab01680349a Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Tue, 5 Nov 2024 17:45:57 +0100 Subject: [PATCH] Run polkit tests in duktape gating Given polkit is one of the main consumers of duktape, let's run the polkit test suite in gating to get some, hopefully, useful coverage. --- ci.fmf | 1 + gating.yaml | 5 +++-- plans.fmf | 11 +++++++++++ plans/tier1-internal.fmf | 10 ---------- 4 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 plans.fmf delete mode 100644 plans/tier1-internal.fmf diff --git a/ci.fmf b/ci.fmf index c5aa0e0..da71d9f 100644 --- a/ci.fmf +++ b/ci.fmf @@ -1 +1,2 @@ +# Docs: https://docs.fedoraproject.org/en-US/ci/tmt/#_multiple_plans resultsdb-testcase: separate diff --git a/gating.yaml b/gating.yaml index d9d641e..c233b00 100644 --- a/gating.yaml +++ b/gating.yaml @@ -1,6 +1,7 @@ --- !Policy product_versions: - - rhel-10 + - rhel-* decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/polkit-all-buildroot-internal.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/polkit-all-no-buildroot-internal.functional} diff --git a/plans.fmf b/plans.fmf new file mode 100644 index 0000000..59d827f --- /dev/null +++ b/plans.fmf @@ -0,0 +1,11 @@ +/polkit-all-buildroot-internal: + plan: + import: + url: https://pkgs.devel.redhat.com/git/tests/polkit + name: /plans/all-buildroot + +/polkit-all-no-buildroot-internal: + plan: + import: + url: https://pkgs.devel.redhat.com/git/tests/polkit + name: /plans/all-no-buildroot diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf deleted file mode 100644 index c52ea9b..0000000 --- a/plans/tier1-internal.fmf +++ /dev/null @@ -1,10 +0,0 @@ -summary: Internal gating tests plan -discover: - - name: Internal gating tests (duktape) - how: fmf - url: https://pkgs.devel.redhat.com/git/tests/duktape -execute: - how: tmt -adjust: - enabled: false - when: distro == centos-stream or distro == fedora