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 d75f6c7..ae831e7 100644 --- a/gating.yaml +++ b/gating.yaml @@ -3,4 +3,5 @@ product_versions: - rhel-10 decision_context: osci_compose_gate -rules: [] +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/netavark.spec b/netavark.spec index da2d733..08d9df7 100644 --- a/netavark.spec +++ b/netavark.spec @@ -31,7 +31,7 @@ Epoch: 102 Epoch: 2 %endif Version: 1.17.2 -Release: 1%{?dist} +Release: 2%{?dist} # The `AND` needs to be uppercase in the License for SPDX compatibility License: Apache-2.0 AND BSD-3-Clause AND MIT %if %{defined golang_arches_future} @@ -141,6 +141,10 @@ cd docs %{_unitdir}/%{name}-nftables-reload.service %changelog +* Fri May 29 2026 Jindrich Novy - 2:1.17.2-2 +- Add TMT test infrastructure for tier0 gating +- Resolves: RHEL-180350 + * Thu Feb 05 2026 Jindrich Novy - 2:1.17.2-1 - update to https://github.com/containers/netavark/releases/tag/v1.17.2 - Related: RHEL-122178 diff --git a/plans/netavark.fmf b/plans/netavark.fmf new file mode 100644 index 0000000..0e7fda2 --- /dev/null +++ b/plans/netavark.fmf @@ -0,0 +1,27 @@ +--- +summary: Run netavark tests +description: Test plan for netavark +contact: jnovy@redhat.com + +discover: + how: fmf + +provision: + how: artemis + +prepare: + - how: install + package: + - crun + - podman + - podman-tests + - git + - how: shell + script: | + BATS_VERSION=1.11.0 + curl -L https://github.com/bats-core/bats-core/archive/refs/tags/v$BATS_VERSION.tar.gz | tar zx + cd bats-core-$BATS_VERSION + ./install.sh /usr + +execute: + how: tmt diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..8b23602 --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,8 @@ +summary: Run basic podman tests to verify netavark +test: cd /usr/share/podman/test/system && bats 030-run.bats 075-exec.bats 500-networking.bats +require: + - podman + - netavark +duration: 15m +tag: + - gate