Compare commits

..

33 commits

Author SHA1 Message Date
Packit
dfa0f5cd2b Update to 1.26 upstream release
Upstream tag: 1.26
Upstream commit: 3241e671

Commit authored by Packit automation (https://packit.dev/)
2025-12-22 16:06:48 +00:00
Packit
94c3dc6bac Update to 1.25.1 upstream release
Upstream tag: 1.25.1
Upstream commit: 156ae065

Commit authored by Packit automation (https://packit.dev/)
2025-11-25 14:50:56 +00:00
Packit
584087122b Update to 1.25 upstream release
Upstream tag: 1.25
Upstream commit: d9a0adce

Commit authored by Packit automation (https://packit.dev/)
2025-11-10 13:34:54 +00:00
Packit
fa91863b11 Update to 1.24 upstream release
Upstream tag: 1.24
Upstream commit: 54693209

Commit authored by Packit automation (https://packit.dev/)
2025-09-09 20:19:46 +00:00
Packit
dec4e2f02c Update to 1.23.1 upstream release
Upstream tag: 1.23.1
Upstream commit: d20b23db

Commit authored by Packit automation (https://packit.dev/)
2025-07-31 20:31:37 +00:00
Packit
de0aacca89 Update to 1.23 upstream release
Upstream tag: 1.23
Upstream commit: 3fc25616

Commit authored by Packit automation (https://packit.dev/)
2025-07-24 20:40:07 +00:00
Fedora Release Engineering
d8749367c8 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 18:52:31 +00:00
Packit
554bf1b07a Update to 1.22 upstream release
Upstream tag: 1.22
Upstream commit: 4de19b63

Commit authored by Packit automation (https://packit.dev/)
2025-06-27 13:22:58 +00:00
Kristina Hanicova
3b0f113331 Revert "Disable criu support on riscv64"
This reverts commit 3024c6913e.
2025-04-30 13:53:44 +02:00
Packit
a0b4675434 Update to 1.21 upstream release
Upstream tag: 1.21
Upstream commit: 10269840

Commit authored by Packit automation (https://packit.dev/)
2025-03-28 08:38:07 +00:00
Lokesh Mandvekar
890408dccf
fix gating config 2025-02-10 19:59:24 +05:30
Packit
3c8e9346f2 Update to 1.20 upstream release
Upstream tag: 1.20
Upstream commit: 9c9a76ac

Commit authored by Packit automation (https://packit.dev/)
2025-02-05 08:39:36 +00:00
Fedora Release Engineering
ddd2534e35 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 14:57:04 +00:00
Lokesh Mandvekar
5025451057
TMT: use prepare conditionals
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-01-15 18:25:43 +05:30
Lokesh Mandvekar
b6aa0a8fdf
TMT: sync tests from upstream
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2024-12-26 21:09:37 +05:30
Packit
a4cf7dd241 Update to 1.19.1 upstream release
Upstream tag: 1.19.1
Upstream commit: 3e32a70c

Commit authored by Packit automation (https://packit.dev/)
2024-12-17 20:53:08 +00:00
Packit
3a2e4feb28 Update to 1.19 upstream release
Upstream tag: 1.19
Upstream commit: db31c42a

Commit authored by Packit automation (https://packit.dev/)
2024-12-06 14:47:31 +00:00
Packit
4e043cf9e0 Update to 1.18.2 upstream release
Upstream tag: 1.18.2
Upstream commit: 00ab38af

Commit authored by Packit automation (https://packit.dev/)
2024-10-31 16:46:35 +00:00
Packit
37d91b502e Update to 1.18.1 upstream release
Upstream tag: 1.18.1
Upstream commit: c41f034f

Commit authored by Packit automation (https://packit.dev/)
2024-10-30 11:04:35 +00:00
Packit
01e5e28680 Update to 1.18 upstream release
Upstream tag: 1.18
Upstream commit: 8656b254

Commit authored by Packit automation (https://packit.dev/)
2024-10-22 13:01:49 +00:00
Yaakov Selkowitz
366d677a3b Use embedded yajl in RHEL builds
https://github.com/containers/crun/pull/1583
https://gitlab.com/redhat/centos-stream/rpms/crun/-/merge_requests/102
2024-10-21 15:24:03 -04:00
David Abdurachmanov
3024c6913e Disable criu support on riscv64
criu is not ported to riscv64 arch.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
2024-09-26 14:47:59 +02:00
Lokesh Mandvekar
b8cbee4f44
bump to 1.17 2024-09-10 15:49:12 +05:30
Fedora Release Engineering
675a199edb Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 20:16:14 +00:00
Packit
15fe108e10 Update to 1.15 upstream release
Upstream tag: 1.15
Upstream commit: e6eacaf4

Commit authored by Packit automation (https://packit.dev/)
2024-05-02 11:52:55 +00:00
Lokesh Mandvekar
7d471b682c
wasmedge should stay enabled for official fedora 2024-03-27 21:24:24 +05:30
Lokesh Mandvekar
2f7268f661
remove eln macro
Resolves: #2271814

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-03-27 21:09:03 +05:30
Giuseppe Scrivano
d70c46713e
Revert "Add riscv64 support."
This reverts commit 73b7137ed8.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-03-05 22:06:08 +01:00
Giuseppe Scrivano
1ae74567c2 Merge #60 Add riscv64 support 2024-03-05 11:57:38 +00:00
JasenChao
73b7137ed8 Add riscv64 support. 2024-03-05 19:52:42 +08:00
Packit
2807443b74 [packit] 1.14.4 upstream release
Upstream tag: 1.14.4
Upstream commit: a220ca66
2024-02-29 17:46:46 +00:00
Packit
a5344701e7 [packit] 1.14.3 upstream release
Upstream tag: 1.14.3
Upstream commit: 1961d211
2024-02-17 08:36:04 +00:00
Packit
f133fdfcb3 [packit] 1.14.2 upstream release
Upstream tag: 1.14.2
Upstream commit: 32b139f7
2024-02-16 17:13:05 +00:00
12 changed files with 137 additions and 94 deletions

8
.gitignore vendored
View file

@ -89,8 +89,16 @@ crun-0.1.1.tar.gz
/crun-1.15.tar.zst
/crun-1.17.tar.zst
/crun-1.18.tar.zst
/crun-1.18.1.tar.zst
/crun-1.18.2.tar.zst
/crun-1.19.tar.zst
/crun-1.19.1.tar.zst
/crun-1.20.tar.zst
/crun-1.21.tar.zst
/crun-1.22.tar.zst
/crun-1.23.tar.zst
/crun-1.23.1.tar.zst
/crun-1.24.tar.zst
/crun-1.25.tar.zst
/crun-1.25.1.tar.zst
/crun-1.26.tar.zst

View file

@ -66,16 +66,10 @@ jobs:
packages: [crun-centos]
notifications: *copr_build_failure_notification
targets: &centos_copr_targets
# Need epel9 repos to fetch wasmedge build dependency
centos-stream-9-x86_64:
additional_repos:
- https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/
centos-stream-9-aarch64:
additional_repos:
- https://dl.fedoraproject.org/pub/epel/9/Everything/aarch64/
# TODO: build on CS10 with wasmedge once epel-10 is available
centos-stream-10-x86_64: {}
centos-stream-10-aarch64: {}
- centos-stream-9-x86_64
- centos-stream-9-aarch64
- centos-stream-10-x86_64
- centos-stream-10-aarch64
# Run on commit to main branch
- job: copr_build
@ -92,9 +86,9 @@ jobs:
- job: tests
trigger: pull_request
packages: [crun-fedora]
notifications: &podman_system_test_fail_notification
notifications: &test_failure_notification
failure_comment:
message: "podman system tests failed. @containers/packit-build please check."
message: "TMT tests failed. @containers/packit-build please check."
targets: *fedora_copr_targets
tf_extra_params:
environments:
@ -106,8 +100,15 @@ jobs:
- job: tests
trigger: pull_request
packages: [crun-centos]
notifications: *podman_system_test_fail_notification
targets: *centos_copr_targets
notifications: *test_failure_notification
# TODO: Re-enable centos-stream-10-x86_64 once criu issues are solved
# Ref: https://github.com/containers/crun/pull/1758#issuecomment-2901772392
# Issue filed: https://github.com/containers/crun/issues/1759
#targets: *centos_copr_targets
targets:
- centos-stream-9-x86_64
- centos-stream-9-aarch64
- centos-stream-10-aarch64
tf_extra_params:
environments:
- artifacts:
@ -120,8 +121,9 @@ jobs:
dist_git_branches: &fedora_targets
- fedora-all
# Disabled until we're switching to Packit for CentOS Stream
- job: propose_downstream
trigger: release
trigger: ignore
packages: [crun-centos]
dist_git_branches:
- c10s

View file

@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.3.0.post1.dev4+gb85da743.
The file was generated using packit 1.13.0.post1.dev2+g84134016c.

View file

@ -9,20 +9,17 @@
# krun and wasm support only on aarch64 and x86_64
%ifarch aarch64 || x86_64
# Disable wasmedge on rhel 10 until EPEL10 is in place, otherwise it causes
# build issues on copr
%if %{defined fedora} || (%{defined copr_build} && %{defined rhel} && 0%{?rhel} < 10)
%if %{defined fedora}
# krun only exists on fedora
%global krun_support 1
%global krun_opts --with-libkrun
# Keep wasmedge enabled only on Fedora. It breaks a lot on EPEL.
%global wasm_support 1
%global wasmedge_support 1
%global wasmedge_opts --with-wasmedge
%endif
# krun only exists on fedora
%if %{defined fedora}
%global krun_support 1
%global krun_opts --with-libkrun
%endif
%endif
%if %{defined fedora} || (%{defined rhel} && 0%{?rhel} < 10)
@ -42,7 +39,7 @@ Epoch: 102
# 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.21
Version: 1.26
Release: %autorelease
URL: https://github.com/containers/%{name}
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.zst
@ -69,15 +66,14 @@ BuildRequires: libseccomp-devel
BuildRequires: python3-libmount
BuildRequires: libtool
BuildRequires: protobuf-c-devel
%ifnarch riscv64
BuildRequires: criu-devel >= 3.17.1-2
Recommends: criu >= 3.17.1
Recommends: criu-libs
%endif
%if %{defined wasmedge_support}
BuildRequires: wasmedge-devel
%endif
BuildRequires: python
BuildRequires: glibc-static
Provides: oci-runtime
%description
@ -121,6 +117,9 @@ Recommends: wasmedge
%make_install prefix=%{_prefix}
rm -rf %{buildroot}%{_prefix}/lib*
# Placeholder check to silence rpmlint
%check
%files
%license COPYING
%{_bindir}/%{name}

View file

@ -24,18 +24,17 @@ prepare:
- crun
- podman-tests
/upstream:
summary: Run crun specific Podman system tests on upstream PRs
/shellcheck:
discover+:
filter: tag:upstream
adjust+:
- enabled: false
when: initiator is not defined or initiator != packit
filter: 'tag:shellcheck'
enabled: true
adjust:
enabled: false
when: distro == centos-stream-10 or distro == rhel-10
prepare+:
- how: install
package: ShellCheck
/downstream:
summary: Run crun specific Podman system tests on bodhi / errata and dist-git PRs
/tests:
discover+:
filter: tag:downstream
adjust+:
- enabled: false
when: initiator == packit
filter: 'tag:podman | tag:sanity'

9
plans/tmt.fmf Normal file
View file

@ -0,0 +1,9 @@
/:
inherit: false
summary: Run tmt's integration tests
plan:
import:
url: https://github.com/teemtee/tmt
path: /plans/friends
name: /podman

View file

@ -1 +1 @@
SHA512 (crun-1.21.tar.zst) = 022bb56dbf20eb7c479b76a92fc55c69b219e36233ee7e588eb883afd092fb4aaeca842e64d83e53bbb08bd09f635d582a86824950971842b73921d1ce134bd1
SHA512 (crun-1.26.tar.zst) = 0785af6095a26290f433c5739bea5d98a029c3f0e8efbeed420481849ebddd70acde6c1105133c392abf26bca90d232cced5e5994da7506d66a020a02c129fb3

View file

@ -2,7 +2,6 @@ adjust:
duration: 10m
when: arch == aarch64
/system_test:
tag: [ upstream, downstream ]
summary: Run crun specific Podman tests
test: bash ./system-test.sh
summary: Run crun specific Podman tests
test: bash ./system-test.sh
tag: [ podman ]

View file

@ -14,3 +14,4 @@ rpm -q conmon containers-common crun podman podman-tests
bats -t /usr/share/podman/test/system/030-run.bats
bats -t /usr/share/podman/test/system/075-exec.bats
bats -t /usr/share/podman/test/system/280-update.bats
bats -t /usr/share/podman/test/system/520-checkpoint.bats

View file

@ -1,4 +1,4 @@
summary: Sanity test for crun
tag: ['upstream', 'downstream']
test: bash ./runtest.sh
duration: 10m
tag: [ sanity ]

View file

@ -10,82 +10,104 @@ cat /etc/redhat-release
uname -r
rpm -q crun criu
crun --version
[ $? -ne 0 ] && exit 1
if ! crun --version; then
exit 1
fi
crun features
[ $? -ne 0 ] && exit 1
if ! crun features; then
exit 1
fi
crun list
[ $? -ne 0 ] && exit 1
if ! crun list; then
exit 1
fi
# create the top most bundle and rootfs directory
mkdir -p $TEMPDIR/rootfs
mkdir -p "$TEMPDIR"/rootfs
# export busybox via podman into the rootfs directory
podman export $(podman create $TESTIMG) | tar -C $TEMPDIR/rootfs -xvf -
[ $? -ne 0 ] && exit 1
if ! (podman export "$(podman create $TESTIMG)" | tar -C "$TEMPDIR"/rootfs -xvf -); then
exit 1
fi
# use existing spec
cp ./config.json $TEMPDIR
ls $TEMPDIR
cd $TEMPDIR
cp ./config.json "$TEMPDIR"
ls "$TEMPDIR"
cd "$TEMPDIR"
crun create $CNAME
[ $? -ne 0 ] && exit 1
if ! crun create $CNAME; then
exit 1
fi
crun list
[ $? -ne 0 ] && exit 1
if ! crun list; then
exit 1
fi
crun start $CNAME
[ $? -ne 0 ] && exit 1
if ! crun start $CNAME; then
exit 1
fi
crun list
[ $? -ne 0 ] && exit 1
if ! crun list; then
exit 1
fi
crun state $CNAME
[ $? -ne 0 ] && exit 1
if ! crun state $CNAME; then
exit 1
fi
crun ps $CNAME
[ $? -ne 0 ] && exit 1
if ! crun ps $CNAME; then
exit 1
fi
ret=$(crun exec $CNAME pwd)
[ $? -ne 0 ] || [ $ret != '/' ] && exit 1
if ! ret=$(crun exec $CNAME pwd) || [[ "$ret" != '/' ]]; then
exit 1
fi
crun pause $CNAME
[ $? -ne 0 ] && exit 1
if ! crun pause $CNAME; then
exit 1
fi
crun state $CNAME
[ $? -ne 0 ] && exit 1
if ! crun state $CNAME; then
exit 1
fi
crun resume $CNAME
[ $? -ne 0 ] && exit 1
if ! crun resume $CNAME; then
exit 1
fi
crun state $CNAME
[ $? -ne 0 ] && exit 1
if ! crun state $CNAME; then
exit 1
fi
ret=$(crun exec $CNAME pwd)
[ $? -ne 0 ] || [ $ret != '/' ] && exit 1
if ! ret=$(crun exec $CNAME pwd) || [[ "$ret" != '/' ]]; then
exit 1
fi
crun delete --force $CNAME
[ $? -ne 0 ] && exit 1
if ! crun delete --force $CNAME; then
exit 1
fi
crun list
[ $? -ne 0 ] && exit 1
if ! crun list; then
exit 1
fi
crun run $CNAME &
[ $? -ne 0 ] && exit 1
if ! (crun run $CNAME &); then
exit 1
fi
crun list
[ $? -ne 0 ] && exit 1
if ! crun list; then
exit 1
fi
# make sure the container is running state
sleep 2
ret=$(crun exec $CNAME echo 'ok')
[ $? -ne 0 ] || [ $ret != 'ok' ] && exit 1
if ! ret=$(crun exec $CNAME echo 'ok') || [[ "$ret" != 'ok' ]]; then
exit 1
fi
crun kill $CNAME
[ $? -ne 0 ] && exit 1
if ! crun kill $CNAME; then
exit 1
fi
exit 0

View file

@ -0,0 +1,4 @@
summary: Shellcheck tests
test: find ../ -type f -name "*.sh" -exec shellcheck {} +
duration: 10m
tag: [ shellcheck ]