From fcc3de1aef2a411d798481c27f34873f28ecdd49 Mon Sep 17 00:00:00 2001 From: George Pantelakis Date: Thu, 4 Jul 2024 15:09:32 +0200 Subject: [PATCH] add gating for RHEL-10 --- .fmf/version | 1 + ci.fmf | 1 + gating.yml | 9 +++++++++ plans/ci.fmf | 26 ++++++++++++++++++++++++++ tests/tests.yml | 10 ---------- 5 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 .fmf/version create mode 100644 ci.fmf create mode 100644 plans/ci.fmf delete mode 100644 tests/tests.yml 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.yml b/gating.yml index 0bd5927..f86352b 100644 --- a/gating.yml +++ b/gating.yml @@ -12,3 +12,12 @@ decision_context: bodhi_update_push_stable subject_type: koji_build rules: - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/ci/fips-disabled-buildroot-disabled.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/ci/fips-disabled-buildroot-enabled.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/ci/fips-enabled-buildroot-disabled.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/ci/fips-enabled-buildroot-enabled.functional} diff --git a/plans/ci.fmf b/plans/ci.fmf new file mode 100644 index 0000000..42ef90b --- /dev/null +++ b/plans/ci.fmf @@ -0,0 +1,26 @@ +/fips-disabled-buildroot-disabled: + plan: + import: + url: https://pkgs.devel.redhat.com/git/tests/libssh + name: /plans/ci/fips-disabled-buildroot-disabled + + +/fips-disabled-buildroot-enabled: + plan: + import: + url: https://pkgs.devel.redhat.com/git/tests/libssh + name: /plans/ci/fips-disabled-buildroot-enabled + + +/fips-enaled-buildroot-disabled: + plan: + import: + url: https://pkgs.devel.redhat.com/git/tests/libssh + name: /plans/ci/fips-enabled-buildroot-disabled + + +/fips-enaled-buildroot-enabled: + plan: + import: + url: https://pkgs.devel.redhat.com/git/tests/libssh + name: /plans/ci/fips-enabled-buildroot-enabled diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index c23e7f9..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- hosts: localhost - roles: - - role: standard-test-beakerlib - tags: - - classic - repositories: - - repo: "https://gitlab.com/redhat-crypto/tests/libssh.git" - dest: "libssh" - fmf_filter: "tier: 0,1,2,3"