From 8aaece81f3b9b13cd60b17f0e16b7a6ea1ca2a1f Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Wed, 9 Apr 2025 17:09:23 +0200 Subject: [PATCH] Sync gating configuration with C9S/C10S Related: RHELMISC-10827 --- .fmf/version | 1 + ci.fmf | 1 + gating.yaml | 3 +-- plans/bash.fmf | 23 +++++++++++++++++++++++ tests/tests.yml | 29 ----------------------------- 5 files changed, 26 insertions(+), 31 deletions(-) create mode 100644 .fmf/version create mode 100644 ci.fmf create mode 100644 plans/bash.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.yaml b/gating.yaml index 805e877..ce80449 100644 --- a/gating.yaml +++ b/gating.yaml @@ -3,5 +3,4 @@ product_versions: - rhel-8 decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/bash.functional} diff --git a/plans/bash.fmf b/plans/bash.fmf new file mode 100644 index 0000000..4332b39 --- /dev/null +++ b/plans/bash.fmf @@ -0,0 +1,23 @@ +summary: Run internal bash tests +discover: + - name: Internal bash gating tests (dash) + how: fmf + url: git://pkgs.devel.redhat.com/tests/dash + filter: 'tag: CI-Tier-1 & component: bash' + - name: Internal bash gating tests (bash) + how: fmf + url: git://pkgs.devel.redhat.com/tests/bash + filter: 'tag: CI-Tier-1 & component: bash' + - name: Internal bash gating tests (ksh) + how: fmf + url: git://pkgs.devel.redhat.com/tests/ksh + filter: 'tag: CI-Tier-1 & component: bash' + - name: Internal bash gating tests (zsh) + how: fmf + url: git://pkgs.devel.redhat.com/tests/zsh + filter: 'tag: CI-Tier-1 & component: bash' +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream or distro == fedora diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 2eaaa7a..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- - -# Tests that run in classic context -- hosts: localhost - roles: - - role: standard-test-beakerlib - tags: - - classic - repositories: - - repo: "https://src.fedoraproject.org/tests/shell.git" - dest: "shell" - fmf_filter: "tier: 1, 2 & tags: classic" - required_packages: - - expect # login requires expect - - which # smoke requires which - -# Tests that run in container and atomic contexts -- hosts: localhost - roles: - - role: standard-test-beakerlib - tags: - - container - - atomic - repositories: - - repo: "https://src.fedoraproject.org/tests/shell.git" - dest: "shell" - fmf_filter: "tier: 1, 2 & tags: container, atomic" - required_packages: - - which # smoke requires which