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 index 16d63b0..c9190f8 100644 --- a/gating.yaml +++ b/gating.yaml @@ -3,5 +3,5 @@ product_versions: - rhel-10 decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/net-snmp.spec b/net-snmp.spec index 0ecfab7..44a2ac2 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -10,7 +10,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: 5.9.4 -Release: 9%{?dist} +Release: 10%{?dist} Epoch: 1 License: Net-SNMP and OpenSSL @@ -515,6 +515,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test %{_libdir}/libnetsnmptrapd*.so.%{soname}* %changelog +* Wed Jun 26 2024 Josef Ridky - 1:5.9.4-10 +- Add gating.yaml file + * Mon Jun 24 2024 Troy Dawson - 1:5.9.4-9 - Bump release for June 2024 mass rebuild diff --git a/plans/tier1.fmf b/plans/tier1.fmf new file mode 100644 index 0000000..cc9a278 --- /dev/null +++ b/plans/tier1.fmf @@ -0,0 +1,37 @@ +--- + +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