mirror of
https://gitlab.com/redhat/centos-stream/rpms/conmon.git
synced 2026-07-04 04:11:16 +00:00
Add TMT test infrastructure for conmon
Add .fmf/, plans/, and tests/ directories to enable automated tier0 testing in the RHEL-on-GitLab MR pipeline. Port TMT configuration from rhel-9.8.0 branch, updated to reference c10s branch of the test repository. Also add tier0 gating rule to gating.yaml. Resolves: RHEL-180349
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
+5
-1
@@ -21,7 +21,7 @@ Epoch: 2
|
|||||||
%endif
|
%endif
|
||||||
Version: 2.2.1
|
Version: 2.2.1
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: OCI container runtime monitor
|
Summary: OCI container runtime monitor
|
||||||
URL: https://github.com/containers/%{name}
|
URL: https://github.com/containers/%{name}
|
||||||
# Tarball fetched from upstream
|
# Tarball fetched from upstream
|
||||||
@@ -70,6 +70,10 @@ sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 29 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.1-4
|
||||||
|
- Add TMT test infrastructure for tier0 gating
|
||||||
|
- Resolves: RHEL-180349
|
||||||
|
|
||||||
* Fri Feb 27 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.1-3
|
* Fri Feb 27 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.1-3
|
||||||
- pass %%{optflags} and %%{build_ldflags} to enable stack protector
|
- pass %%{optflags} and %%{build_ldflags} to enable stack protector
|
||||||
and FORTIFY_SOURCE hardening flags
|
and FORTIFY_SOURCE hardening flags
|
||||||
|
|||||||
+2
-1
@@ -3,4 +3,5 @@
|
|||||||
product_versions:
|
product_versions:
|
||||||
- rhel-10
|
- rhel-10
|
||||||
decision_context: osci_compose_gate
|
decision_context: osci_compose_gate
|
||||||
rules: []
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user