c10s: Add gating.yaml

This commit is contained in:
Jakub Haruda 2025-04-02 18:25:25 +02:00
parent bcadf919a3
commit c4e59a3535
2 changed files with 39 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

38
plans/tier1.fmf Normal file
View File

@ -0,0 +1,38 @@
---
summary: Tier1 plan for at
discover:
how: fmf
url: https://pkgs.devel.redhat.com/git/tests/at
ref: master
filter: tier:1
prepare:
- 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 || :
- 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
adjust:
enabled: false
when: distro == centos-stream or distro == fedora