buildah-1.41.2-1.el10
- update to https://github.com/containers/buildah/releases/tag/v1.41.2 - dowload BATS if it's not available to run tests - Related: RHEL-80817 Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
parent
2b6901b26f
commit
3ffc04e4eb
@ -32,7 +32,7 @@ Epoch: 2
|
||||
# If that's what you're reading, Version must be 0, and will be updated by Packit for
|
||||
# copr and koji builds.
|
||||
# If you're reading this on dist-git, the version is automatically filled in by Packit.
|
||||
Version: 1.41.1
|
||||
Version: 1.41.2
|
||||
# The `AND` needs to be uppercase in the License for SPDX compatibility
|
||||
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
|
||||
Release: 1%{?dist}
|
||||
@ -181,6 +181,10 @@ rm %{buildroot}%{_datadir}/%{name}/test/system/tools/build/*
|
||||
%{_datadir}/%{name}/test
|
||||
|
||||
%changelog
|
||||
* Thu Aug 14 2025 Jindrich Novy <jnovy@redhat.com> - 2:1.41.2-1
|
||||
- update to https://github.com/containers/buildah/releases/tag/v1.41.2
|
||||
- Related: RHEL-80817
|
||||
|
||||
* Mon Aug 11 2025 Jindrich Novy <jnovy@redhat.com> - 2:1.41.1-1
|
||||
- update to https://github.com/containers/buildah/releases/tag/v1.41.1
|
||||
- Related: RHEL-80817
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (v1.41.1.tar.gz) = 0b953fb8bc2d6b9c83919d1a12ce2757e18c1df4a230be506a3a207727a2390fd78de9e2fd919e99f764d7166765354f056f84f07852ec1b114c44d637370816
|
||||
SHA512 (v1.41.2.tar.gz) = fd8884e9d0e3f18cabc73eadf0cb24ee642aebb4dca5b1d172839c32ff36196a213f6cddbd7109390e5af99e22afbc584e0f3a6a4dd7b98c5b2402388f976744
|
||||
|
||||
@ -10,8 +10,14 @@ environment:
|
||||
COPY_BINARY: /usr/bin/buildah-copy
|
||||
TUTORIAL_BINARY: /usr/bin/buildah-tutorial
|
||||
DUMPSPEC_BINARY: /usr/bin/buildah-dumpspec
|
||||
PASSWD_BINARY: /usr/bin/buildah-passwd
|
||||
TMPDIR: /var/tmp
|
||||
|
||||
adjust:
|
||||
- when: initiator != "packit"
|
||||
environment+:
|
||||
RELEASE_TESTING: true
|
||||
|
||||
/local/root:
|
||||
summary: System test
|
||||
test: bash ./system.sh
|
||||
|
||||
15
tests/tmt/system.sh
Normal file → Executable file
15
tests/tmt/system.sh
Normal file → Executable file
@ -15,4 +15,19 @@ rpm -q \
|
||||
netavark \
|
||||
systemd
|
||||
|
||||
# Install BATS if not available
|
||||
if ! command -v bats &> /dev/null; then
|
||||
BATS_VERSION="1.12.0"
|
||||
echo "BATS not found, installing from BATS-$BATS_VERSION tarball..."
|
||||
cd /tmp
|
||||
curl -L https://github.com/bats-core/bats-core/archive/refs/tags/v$BATS_VERSION.tar.gz -o bats-core.tar.gz
|
||||
tar -xzf bats-core.tar.gz
|
||||
cd bats-core-$BATS_VERSION
|
||||
./install.sh /usr/local
|
||||
export PATH="/usr/local/bin:$PATH"
|
||||
echo "BATS installed successfully"
|
||||
else
|
||||
echo "BATS is already available"
|
||||
fi
|
||||
|
||||
bats /usr/share/buildah/test/system
|
||||
|
||||
Loading…
Reference in New Issue
Block a user