From e5cb153f320325bc2a481bda4ebe7922bdc98dff Mon Sep 17 00:00:00 2001 From: Josef Ridky Date: Wed, 26 Jun 2024 15:06:07 +0200 Subject: [PATCH] Related: RHELMISC-3914 - add gating.yaml file Signed-off-by: Josef Ridky --- .fmf/version | 1 + gating.yaml | 7 +++++++ plans/tier1.fmf | 37 +++++++++++++++++++++++++++++++++++++ tmux.spec | 5 ++++- 4 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/tier1.fmf 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/gating.yaml b/gating.yaml new file mode 100644 index 0000000..c9190f8 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} + diff --git a/plans/tier1.fmf b/plans/tier1.fmf new file mode 100644 index 0000000..128104d --- /dev/null +++ b/plans/tier1.fmf @@ -0,0 +1,37 @@ +--- + +summary: Tier1 plan for tmux + +discover: + how: fmf + url: https://pkgs.devel.redhat.com/git/tests/tmux + ref: master + filter: tier:1 + +prepare: + # Enable beaker-tasks repository + - how: shell + script: | + set -euxo pipefail + + ENABLE_REPO_CMD="yum-config-manager --enable" + if command -v dnf >/dev/null 2>&1; then + ENABLE_REPO_CMD="dnf config-manager --set-enabled" + fi + + ${ENABLE_REPO_CMD} beaker-tasks || : + + # Enable buildroot repository + - how: shell + script: | + set -exuo pipefail + + if [[ -f /etc/os-release ]]; then + . /etc/os-release + if [[ "${ID:-}" == "rhel" && "${VERSION_ID%%.*}" -ge 8 ]]; then + dnf config-manager --enable rhel-CRB + fi + fi + +execute: + how: tmt diff --git a/tmux.spec b/tmux.spec index d06c639..4e15b6f 100644 --- a/tmux.spec +++ b/tmux.spec @@ -9,7 +9,7 @@ Name: tmux Version: 3.3a # forge meta appends commit info -Release: 9%{?dist} +Release: 10%{?dist} Summary: A terminal multiplexer License: ISC AND BSD-2-Clause AND BSD-3-Clause AND SSH-short AND LicenseRef-Fedora-Public-Domain @@ -86,6 +86,9 @@ fi %{_datadir}/bash-completion/completions/tmux %changelog +* Wed Jun 26 2024 Josef Ridky - 3.3a-10 +- Add gating.yaml file + * Mon Jun 24 2024 Troy Dawson - 3.3a-9 - Bump release for June 2024 mass rebuild