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/conmon.spec b/conmon.spec index 9943236..598cd15 100644 --- a/conmon.spec +++ b/conmon.spec @@ -21,7 +21,7 @@ Epoch: 2 %endif Version: 2.2.1 License: Apache-2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: OCI container runtime monitor URL: https://github.com/containers/%{name} # Tarball fetched from upstream @@ -70,6 +70,10 @@ sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile %endif %changelog +* Fri May 29 2026 Jindrich Novy - 2:2.2.1-4 +- Add TMT test infrastructure for tier0 gating +- Resolves: RHEL-180349 + * Fri Feb 27 2026 Jindrich Novy - 2:2.2.1-3 - pass %%{optflags} and %%{build_ldflags} to enable stack protector and FORTIFY_SOURCE hardening flags 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/plans/conmon.fmf b/plans/conmon.fmf new file mode 100644 index 0000000..73bfea3 --- /dev/null +++ b/plans/conmon.fmf @@ -0,0 +1,27 @@ +--- +summary: Run conmon tests +description: Test plan for conmon +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..65b0d10 --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,8 @@ +summary: Run basic podman tests to verify conmon +test: cd /usr/share/podman/test/system && bats 030-run.bats 075-exec.bats +require: + - podman + - conmon +duration: 15m +tag: + - gate