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/containers-common.spec b/containers-common.spec index aa390ce..c058891 100644 --- a/containers-common.spec +++ b/containers-common.spec @@ -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 - 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 - 5:0.62.0-1 - update vendored components - Related: RHEL-58990 diff --git a/plans/system.fmf b/plans/system.fmf new file mode 100644 index 0000000..70fd993 --- /dev/null +++ b/plans/system.fmf @@ -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'