containers-common-0.62.0-2.el10

- fetch TMT podman revdep tests from podman dist-git
- needs at least podman 5.4.0-7.el10
- Related: RHEL-80817

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2025-06-08 12:07:32 -04:00
parent 077bdb62c6
commit 42a8bbc876
No known key found for this signature in database
GPG Key ID: 1C1EDD7CC7C3A0DD
3 changed files with 61 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -17,7 +17,7 @@
Name: containers-common
Epoch: 5
Version: %{common_version}
Release: 1%{?dist}
Release: 2%{?dist}
License: Apache-2.0
BuildArch: noarch
# for BuildRequires: go-md2man
@ -157,6 +157,9 @@ ln -s ../../../..%{_sysconfdir}/pki/entitlement %{buildroot}%{_datadir}/rhel/sec
ln -s ../../../..%{_sysconfdir}/rhsm %{buildroot}%{_datadir}/rhel/secrets/rhsm
ln -s ../../../..%{_sysconfdir}/yum.repos.d/redhat.repo %{buildroot}%{_datadir}/rhel/secrets/redhat.repo
# Placeholder check to silence rpmlint
%check
%files
%dir %{_sysconfdir}/containers
%dir %{_sysconfdir}/containers/certs.d
@ -200,6 +203,11 @@ ln -s ../../../..%{_sysconfdir}/yum.repos.d/redhat.repo %{buildroot}%{_datadir}/
%files extra
%changelog
* Sun Jun 08 2025 Lokesh Mandvekar <lsm5@redhat.com> - 5:0.62.0-2
- fetch TMT podman revdep tests from podman dist-git
- needs at least podman 5.4.0-7.el10
- Related: RHEL-80817
* Thu Feb 13 2025 Jindrich Novy <jnovy@redhat.com> - 5:0.62.0-1
- update vendored components
- Related: RHEL-58990

51
plans/system.fmf Normal file
View File

@ -0,0 +1,51 @@
discover:
how: fmf
url: https://gitlab.com/redhat/centos-stream/rpms/podman
ref: "c9s"
execute:
how: tmt
prepare:
- how: shell
script: modprobe null_blk nr_devices=1
order: 5
- how: shell
script: |
BATS_VERSION=1.12.0
curl --fail -L https://github.com/bats-core/bats-core/archive/refs/tags/v"$BATS_VERSION".tar.gz | tar -xz
cd bats-core-"$BATS_VERSION"
./install.sh /usr
### FIXME: Delete below dnf install once the build is available in repos
dnf -y install https://kojihub.stream.centos.org/kojifiles/vol/koji02/packages/podman/5.4.0/7.el10/$(arch)/podman-5.4.0-7.el10.$(arch).rpm https://kojihub.stream.centos.org/kojifiles/vol/koji02/packages/podman/5.4.0/7.el10/$(arch)/podman-remote-5.4.0-7.el10.$(arch).rpm https://kojihub.stream.centos.org/kojifiles/vol/koji02/packages/podman/5.4.0/7.el10/$(arch)/podman-tests-5.4.0-7.el10.$(arch).rpm https://kojihub.stream.centos.org/kojifiles/vol/koji02/packages/podman/5.4.0/7.el10/$(arch)/podman-machine-5.4.0-7.el10.$(arch).rpm
order: 10
provision:
how: artemis
hardware:
memory: ">= 16 GB"
cpu:
cores: ">= 4"
threads: ">=8"
disk:
- size: ">= 512 GB"
/local-root:
summary: Local rootful tests
discover+:
filter: 'tag:local & tag:root'
/local-rootless:
summary: Local rootless tests
discover+:
filter: 'tag:local & tag:rootless'
/remote-root:
summary: Remote rootful tests
discover+:
filter: 'tag:remote & tag:root'
/remote-rootless:
summary: Remote rootless tests
discover+:
filter: 'tag:remote & tag:rootless'