90a5546298
Signed-off-by: Josef Ridky <jridky@redhat.com>
38 lines
785 B
Plaintext
38 lines
785 B
Plaintext
---
|
|
|
|
summary: Tier1 plan for net-snmp
|
|
|
|
discover:
|
|
how: fmf
|
|
url: https://pkgs.devel.redhat.com/git/tests/net-snmp
|
|
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
|