Compare commits

..

183 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
Packit
4fb0f0ab02 [packit] 1.14.1 upstream release
Upstream tag: 1.14.1
Upstream commit: de537a79
2024-02-08 18:31:15 +00:00
Packit
f0433c54af [packit] 1.14 upstream release
Upstream tag: 1.14
Upstream commit: 667e6ebd
2024-01-24 16:53:52 +00:00
Fedora Release Engineering
80581cdbcd Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 08:32:27 +00:00
Fedora Release Engineering
6f3756d354 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 16:25:43 +00:00
Packit
8a0eba9339 [packit] 1.13 upstream release
Upstream tag: 1.13
Upstream commit: c7613497
2024-01-15 16:26:27 +00:00
Packit
2e69b59d67 [packit] 1.12 upstream release
Upstream tag: 1.12
Upstream commit: ce429cb2
2023-11-23 17:14:55 +00:00
Packit
8636b679c4 [packit] 1.11.2 upstream release
Upstream tag: 1.11.2
Upstream commit: ab0edeef
2023-11-07 12:56:06 +00:00
Packit
d92e05e194 [packit] 1.11.1 upstream release
Upstream tag: 1.11.1
Upstream commit: 1084f952
2023-10-30 20:26:00 +00:00
Packit
a055ddae3c [packit] 1.11 upstream release
Upstream tag: 1.11
Upstream commit: 11f8d3dc
2023-10-26 20:19:49 +00:00
Packit
00b0bd05e7 [packit] 1.10 upstream release
Upstream tag: 1.10
Upstream commit: c053c83c
2023-10-19 10:12:18 +00:00
Packit
fae9f7633f [packit] 1.9.2 upstream release
Upstream tag: 1.9.2
Upstream commit: 35274d34
2023-09-27 21:05:06 +00:00
Lokesh Mandvekar
612a96918e
remove krun manpage if krun not supported 2023-09-26 13:55:18 -04:00
Lokesh Mandvekar
8de06754f3
fix manpage installation 2023-09-26 13:33:15 -04:00
Packit
b9acc59939 [packit] 1.9.1 upstream release
Upstream tag: 1.9.1
Upstream commit: 1f2769e1
2023-09-26 15:29:50 +00:00
Packit
f8dd4474b1 [packit] 1.9 upstream release
Upstream tag: 1.9
Upstream commit: a538ac4e

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/crun.git refs/heads/*:refs/remotes/packit/*
git checkout packit/1.9-rawhide-update-propose_downstream
```
2023-09-07 14:03:27 +00:00
Packit
0c54bceac8 [packit] 1.8.7 upstream release
Upstream tag: 1.8.7
Upstream commit: 53a9996c

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/crun.git refs/heads/*:refs/remotes/packit/*
git checkout packit/1.8.7-rawhide-update-propose_downstream
```
2023-08-21 13:59:22 +00:00
Yaakov Selkowitz
b6961f245f Disable wasm in RHEL builds
crun-wasm is not shipped in RHEL, so avoid the build dependency by not
building it at all.
2023-08-03 23:36:19 -04:00
Giuseppe Scrivano
af069bdab7
bump to 1.8.6
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-07-27 09:52:51 +02:00
Fedora Release Engineering
86fd131d93 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 16:40:22 +00:00
Giuseppe Scrivano
c636b7586e
bump to 1.8.5
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-05-20 21:29:36 +02:00
Giuseppe Scrivano
83c9dde998
bump to 1.8.4
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-04-13 21:24:13 +02:00
Giuseppe Scrivano
85c3a19695
update sources
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-03-25 08:48:07 +01:00
Giuseppe Scrivano
bca7bed766
bump to 1.8.3
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-03-25 08:41:13 +01:00
Giuseppe Scrivano
4f279e7a34
update source for 1.8.2
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-03-21 16:03:33 +01:00
Giuseppe Scrivano
5dc658ac42
bump to 1.8.2
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-03-21 15:27:32 +01:00
Lokesh Mandvekar
4f9a5d69a2 migrated to SPDX license
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-03-06 16:42:00 +05:30
Giuseppe Scrivano
42d7001ab4
bump to 1.8.1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-02-27 11:56:33 +01:00
Lokesh Mandvekar
68e76ac992 use arch: golang_arches_future
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-02-09 16:49:50 +05:30
Lokesh Mandvekar
885030c8ca bump to v1.8
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-02-02 18:44:12 +05:30
Fedora Release Engineering
88465aa8a3 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 00:43:56 +00:00
Giuseppe Scrivano
c81e179cdc
crun: add gcrypt dependency
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-01-03 15:03:51 +01:00
Giuseppe Scrivano
c14e1218f5
make criu a weak dependency
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-12-13 11:18:29 +01:00
Giuseppe Scrivano
8434a3b7bc
bump to 1.7.2
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-11-29 20:52:27 +01:00
Giuseppe Scrivano
07a7ba9e01
bump to 1.7.1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-11-25 12:57:36 +01:00
Lokesh Mandvekar
bdd508b2f6 wasmedge present on all active Fedoras
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-11-22 09:34:59 +05:30
Lokesh Mandvekar
d68ce50deb use correct macro
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-11-16 18:19:51 +05:30
Daniel J Walsh
c587fe84e8
local build 2022-11-07 07:13:04 -05:00
Lokesh Mandvekar
f0e158812d enable wasm support
Currently, wasmedge is the only wasm provider in Fedora. That may change
with time. All wasm providers will include a `Provides: wasm-library`
which will be a hard dependency for crun along with a weak dependency
that the user can change per need.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-11-03 18:50:17 +05:30
Troy Dawson
db6cce4e02 Add ExclusiveArch
If using golang, then you needs to use ExclusiveArch for those arches that do not have golang.
2022-10-28 15:56:02 +00:00
Lokesh Mandvekar
76df75985f Revert "auto bump to 1.6"
This reverts commit aac762a55d by
autobuilder.
2022-10-07 13:28:26 -04:00
RH Container Bot
aac762a55d auto bump to 1.6 2022-10-07 15:14:05 +00:00
Lokesh Mandvekar
263de70111 remove debbuild macros to comply with fedora guidelines
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-10-04 15:02:13 -04:00
Daniel J Walsh
613edba48b
local build 2022-09-28 14:33:22 -04:00
Lokesh Mandvekar
00068edb16 use correct tarball
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-09-07 16:01:24 -04:00
RH Container Bot
57e8839cbd auto bump to 1.6 2022-09-07 15:03:24 +00:00
Lokesh Mandvekar
590ccfd018 use easier tag macros to make both fedora and debbuild happy
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-08-17 14:48:15 -04:00
Lokesh Mandvekar
9ee26cd499 Fix debbuild maintainer and dep issues
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-08-16 14:21:36 -04:00
Lokesh Mandvekar
f2635da7ab fix libkrun conditionals
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-08-11 15:59:09 -04:00
Lokesh Mandvekar
9e192ca81a
handle criu dep for debbuild as well
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-07-25 14:52:59 -04:00
Lokesh Mandvekar
80b16b4732 bump to 1.5
Resolves: #2108456 - use latest criu
Resolves: #2101691 - enable likbrun support in rawhide

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-07-20 14:20:03 -04:00
Lokesh Mandvekar
d7722b9371 build deb packages using debbuild
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-05-27 10:22:00 -04:00
RH Container Bot
c4ffaf6186 auto bump to 1.4.5 2022-04-27 11:04:33 +00:00
Lokesh Mandvekar
7ad0ace344 minor change: remove unnecessary git0 macro
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-03-31 13:28:16 -04:00
Lokesh Mandvekar
2a5599c386 bump to v1.4.4
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-03-24 08:27:34 -04:00
Lokesh Mandvekar
d381ac6342 specify BR: python3 and not python
rhcontainerbot/podman4 copr centos 8 repo doesn't recognize python

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-03-10 13:22:54 -05:00
Lokesh Mandvekar
f63c79c121 bump to 1.4.3
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-03-03 09:53:05 -05:00
Lokesh Mandvekar
4f5a1a6699 switch to autospec
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-01-27 13:10:09 -05:00
RH Container Bot
654236e941 crun-1.4.2-1
autobuilt 1.4.2

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2022-01-26 09:07:12 +00:00
Fedora Release Engineering
ae0357def6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 00:02:27 +00:00
RH Container Bot
c5881e1cd0 crun-1.4.1-1
autobuilt 1.4.1

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2022-01-14 10:07:27 +00:00
RH Container Bot
e4b2afec98 crun-1.4-1
autobuilt 1.4

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-12-22 12:07:23 +00:00
RH Container Bot
4074979a66 crun-1.3-1
autobuilt 1.3

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-11-05 07:07:24 +00:00
RH Container Bot
e101b6216a crun-1.2-1
autobuilt 1.2

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-10-08 07:09:38 +00:00
Lokesh Mandvekar
b101f2e9e1 BR: protobuf-c-devel
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-09-28 08:54:24 -04:00
RH Container Bot
8355bc9ad0 crun-1.1-1
autobuilt 1.1

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-09-27 15:07:29 +00:00
RH Container Bot
40780036ae crun-1.0-1
autobuilt 1.0

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-08-25 17:20:32 +00:00
RH Container Bot
eb38015b7e crun-0.21-1
autobuilt 0.21

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-08-10 19:52:58 +00:00
Lokesh Mandvekar
ef2bd8a057 update BUILD dir format
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-08-10 15:44:32 -04:00
Lokesh Mandvekar
c5ae9479bc crun-0.21-1
- bump to 0.21

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-08-05 15:34:26 -04:00
Fedora Release Engineering
e2d0ef4862 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 20:09:25 +00:00
RH Container Bot
187be24780 crun-0.20.1.9-0.17.git60de767
- bump to 0.20.1.9
- autobuilt 60de767

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-06-23 04:12:06 +00:00
RH Container Bot
a703d7ea38 crun-0.20.1.7-0.16.git7ef74c9
- bump to 0.20.1.7
- autobuilt 7ef74c9

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-06-21 12:43:05 +00:00
RH Container Bot
74031b3784 crun-0.19.1.13-0.15.git63400f2
- bump to 0.19.1.13
- autobuilt 63400f2

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-06-19 04:11:53 +00:00
RH Container Bot
bbefb7a6a6 crun-0.20.1.3-0.14.git9dec366
- bump to 0.20.1.3
- autobuilt 9dec366

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-06-15 04:11:37 +00:00
RH Container Bot
386c704b50 crun-0.20.1.1-0.13.git7adf4d0
- bump to 0.20.1.1
- autobuilt 7adf4d0

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-06-10 04:12:07 +00:00
RH Container Bot
0e87690fda crun-0.20.3-0.12.git8d6a8b5
- bump to 0.20.3
- autobuilt 8d6a8b5

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-06-03 04:11:00 +00:00
RH Container Bot
6b88df75b7 crun-0.20.1-0.11.gitffb75b2
- bump to 0.20.1
- autobuilt ffb75b2

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-06-02 04:10:45 +00:00
RH Container Bot
a85d4bbb7f crun-0.19.1.50-0.10.git1942907
- bump to 0.19.1.50
- autobuilt 1942907

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-25 04:11:07 +00:00
RH Container Bot
4eadb5f6a8 crun-0.19.1.45-0.9.git4cc7fa1
- bump to 0.19.1.45
- autobuilt 4cc7fa1

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-21 04:11:41 +00:00
RH Container Bot
8ec308217a crun-0.19.1.41-0.8.gitf9c405d
- bump to 0.19.1.41
- autobuilt f9c405d

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-15 04:10:21 +00:00
RH Container Bot
18a1380499 crun-0.19.1.36-0.7.git2badd69
- bump to 0.19.1.36
- autobuilt 2badd69

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-14 04:11:06 +00:00
RH Container Bot
4749c88b0e crun-0.19.1.31-0.6.gitb83eda7
- bump to 0.19.1.31
- autobuilt b83eda7

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-13 04:11:00 +00:00
RH Container Bot
602869d3ad crun-0.19.1.26-0.5.git029e0ed
- bump to 0.19.1.26
- autobuilt 029e0ed

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-11 04:13:45 +00:00
RH Container Bot
bbd4c102a6 crun-0.19.1.22-0.4.git4e968c9
- bump to 0.19.1.22
- autobuilt 4e968c9

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-10 04:11:07 +00:00
RH Container Bot
b83a0706e5 crun-0.19.1.19-0.3.gitb6c3139
- bump to 0.19.1.19
- autobuilt b6c3139

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-08 04:21:37 +00:00
RH Container Bot
7d94be6616 crun-0.19.1.17-0.2.git3f6a944
- bump to 0.19.1.17
- autobuilt 3f6a944

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-07 14:09:51 +00:00
Lokesh Mandvekar
0eb47bda3d crun-0.19.1.11-0.1.git1dead7e
- built 1dead7e

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-05-03 10:15:31 -04:00
Lokesh Mandvekar
64bd724490 crun-0.19.1.7-0.1.git3886321
- built 3886321

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-04-28 08:55:31 -04:00
Lokesh Mandvekar
6cf17ade9e crun-0.19.1-2
- rebuild for new bodhi

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-04-22 09:48:33 -04:00
Giuseppe Scrivano
36e4c1d08b
crun-0.19.1-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-04-22 13:15:49 +02:00
Lokesh Mandvekar
4fa0fa9b91 rearrange URL and Source0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-04-16 12:15:40 -04:00
Lokesh Mandvekar
aced1fa252 crun-0.19-2
- unversioned Provides: oci-runtime
- runc package will also provide an unversioned Provides: oci-runtime.
- user should pull in runc separately or else it will install crun by default
 (alphabetical order)
- similar situation as caddy, httpd, lighttpd and nginx having Provides:
webserver

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-04-13 15:19:27 -04:00
Giuseppe Scrivano
c0b699e701
crun-0.19-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-04-06 09:56:23 +02:00
Lokesh Mandvekar
6248751eb0 crun-0.18-5
- linux: always remount bind mounts ghpr#640

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-03-31 14:25:47 -04:00
Lokesh Mandvekar
26f50cb29d crun-0.18-4
- bump release tag to stay ahead of older fedora

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-03-25 09:40:29 -04:00
Lokesh Mandvekar
380d335bb6 crun-0.18-2
- Requires: libcap >= 2.48

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-03-25 08:35:10 -04:00
Giuseppe Scrivano
8f886d7652
crun.spec: fix changelog
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-02-19 09:15:29 +01:00
Giuseppe Scrivano
4a6c717ca9
crun.spec: add glibc-static
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-02-19 08:55:38 +01:00
Giuseppe Scrivano
1526544102
crun-0.18.1-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-02-19 08:50:05 +01:00
Fedora Release Engineering
647b904233 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 02:44:47 +00:00
Giuseppe Scrivano
488dee9865
crun-0.17.1-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-01-21 23:15:49 +01:00
Giuseppe Scrivano
f12f3984bf
crun-0.16-3.fc34
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-12-17 15:42:51 +01:00
Tom Stellard
e91e3db8f3 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-17 04:03:08 +00:00
Jindrich Novy
edfb809224 crun-0.16-2.fc34
- fix license

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2020-11-25 09:11:53 +01:00
Giuseppe Scrivano
b04364360f
crun-0.16-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-11-24 10:04:31 +01:00
Giuseppe Scrivano
428de5e45a
crun-0.15.1-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-11-04 09:48:37 +01:00
Lokesh Mandvekar
2d611f8179 crun-0.15-5
- rebuild to bump release tag ahead of older fedoras

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-09-30 11:49:43 -04:00
Giuseppe Scrivano
706520a9d2
crun-0.15-3
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-09-30 14:33:23 +02:00
Giuseppe Scrivano
89169426ca
rebuild
Signed-off-by: Giuseppe Scrivano <giuseppe@scrivano.org>
2020-09-23 17:27:34 +02:00
Giuseppe Scrivano
56f816f321
crun-0.15-1
Signed-off-by: Giuseppe Scrivano <giuseppe@scrivano.org>
2020-09-23 17:06:39 +02:00
Giuseppe Scrivano
f96e4628cd
crun-0.14.1-5
Signed-off-by: Giuseppe Scrivano <giuseppe@scrivano.org>
2020-09-14 12:05:15 +02:00
Lokesh Mandvekar
fd0e61b120 crun-0.14.1-4
- rebuild

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
(cherry picked from commit 98b1ba0204)
2020-09-01 10:17:46 -04:00
Giuseppe Scrivano
5a83a1c244 fix-nvr
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-09-01 10:17:39 -04:00
Giuseppe Scrivano
40e728ef71
crun-0.14.1-3
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-08-27 13:53:39 +02:00
Fedora Release Engineering
5c853951ee - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 14:46:08 +00:00
Giuseppe Scrivano
8dfc67bbbe
crun-0.14.1-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-07-08 09:32:06 +02:00
Giuseppe Scrivano
a05d0f3c44
crun-0.14-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-07-02 21:08:04 +02:00
Lokesh Mandvekar
8528d80e0b crun-0.13-2
- release bump for correct upgrade path

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-04-15 10:08:02 -04:00
Giuseppe Scrivano
27239f6dbf
crun-0.13-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-03-05 16:17:42 +01:00
Giuseppe Scrivano
823fc62b2a
crun-0.12.2.1-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-02-17 23:39:22 +01:00
Giuseppe Scrivano
d1ffc6a7c1
crun-0.12.2-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-02-17 19:23:41 +01:00
Giuseppe Scrivano
bdb929e8ff
crun-0.12.1-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-02-06 09:58:02 +01:00
Giuseppe Scrivano
286645916b
crun-0.12-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-02-03 22:28:55 +01:00
Fedora Release Engineering
927c4cc01b - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 15:03:15 +00:00
Giuseppe Scrivano
392c9ff2b9
crun-0.11-1
Signed-off-by: Giuseppe Scrivano <giuseppe@scrivano.org>
2019-12-23 15:57:19 +01:00
Giuseppe Scrivano
df7717a213
crun-0.10.6-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-11-18 10:22:06 +01:00
Giuseppe Scrivano
c0bba2b7d4
fix release number
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-11-10 00:39:38 +01:00
Giuseppe Scrivano
26d946539b
crun-0.10.5-2
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-11-10 00:37:00 +01:00
Giuseppe Scrivano
61bdfa1e15
crun-0.10.5-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-11-10 00:24:39 +01:00
Giuseppe Scrivano
1aae9a1b9d
crun-0.10.4-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-10-31 17:48:35 +01:00
Giuseppe Scrivano
329363bc12
crun-0.10.3-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-10-29 16:38:05 +01:00
Giuseppe Scrivano
dbc3405502
crun-0.10.2-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-10-07 14:44:12 +02:00
Giuseppe Scrivano
2bce94eeae
crun-0.10.1-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-10-04 14:59:10 +02:00
Giuseppe Scrivano
1368e5bb09
crun-0.10-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-10-01 17:59:40 +02:00
Giuseppe Scrivano
9976eadebc
crun-0.9.1-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-09-13 16:24:46 +02:00
Giuseppe Scrivano
1f4b4282e6
crun.spec: use commit for autosetup
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-09-13 16:04:31 +02:00
Giuseppe Scrivano
b39231a7db
crun-0.9-2
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-09-13 15:59:22 +02:00
Giuseppe Scrivano
2a8100f70c
crun-0.9
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-09-11 23:27:29 +02:00
Jindrich Novy
d349fd9c3d Add versioned oci-runtime provide.
Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2019-09-10 12:00:43 +02:00
Giuseppe Scrivano
abb2487055
crun-0.8-2 2019-09-09 13:49:51 +02:00
Giuseppe Scrivano
10538a2e0b
crun-0.8-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-08-19 15:11:29 +02:00
Giuseppe Scrivano
2dbcdcdaf7
crun.spec: fix repository to containers/crun
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-08-12 11:48:17 +02:00
Fedora Release Engineering
00b021b851 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 21:13:43 +00:00
Giuseppe Scrivano
7a1c7a9379
crun-0.7-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-07-18 14:13:08 +02:00
Giuseppe Scrivano
8bf27bd1fb
crun-0.6-1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-06-21 19:11:11 +02:00
Mohan Boddu
a160789313 Revert "Retire crun."
Unretirement for https://pagure.io/releng/issue/8463

This reverts commit 2010bba797.
2019-06-21 13:01:30 -04:00
Bill Nottingham
2010bba797 Retire crun. 2010-08-27 14:58:16 -04:00
Fedora Release Engineering
94863f1098 dist-git conversion 2010-07-28 12:20:19 +00:00
Damien Durand
ed7a355dcc Initial import 2010-03-05 13:00:51 +00:00
Damien Durand
38f262e54e *** empty log message *** 2010-01-06 19:55:19 +00:00
15 changed files with 765 additions and 25 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

103
.gitignore vendored
View file

@ -1 +1,104 @@
crun-0.1.1.tar.gz
/crun-0.6.tar.gz
/crun-0.7.tar.gz
/crun-0.8.tar.gz
/crun-0.9.tar.gz
/crun-6a2c111.tar.gz
/crun-0.9.1.tar.gz
/crun-0.10.tar.gz
/crun-0.10.1.tar.gz
/crun-0.10.2.tar.gz
/crun-0.10.3.tar.gz
/crun-0.10.4.tar.gz
/crun-0.10.5.tar.gz
/crun-0.10.6.tar.gz
/crun-0.11.tar.gz
/crun-0.12.tar.gz
/crun-0.12.1.tar.gz
/crun-0.12.2.tar.gz
/crun-0.12.2.1.tar.gz
/crun-0.13.tar.gz
/crun-0.14.tar.gz
/crun-0.14.1.tar.gz
/crun-0.15.tar.gz
/crun-0.15.1.tar.gz
/crun-0.16.tar.gz
/crun-0.17.tar.gz
/crun-0.18.tar.gz
/3e7fa1db14a3c4ad0605f1cb2851ec134f4ccc07.patch
/f642968ec5ae05b33f2545da6edf135c338b34d1.patch
/crun-0.19.tar.gz
/crun-0.19.1.tar.gz
/crun-0.19.1.7-3886.tar.xz
/crun-0.19.1.11-1dea.tar.xz
/crun-0.19.1.17-3f6a.tar.xz
/crun-0.19.1.19-b6c3.tar.xz
/crun-0.19.1.22-4e96.tar.xz
/crun-0.19.1.26-029e.tar.xz
/crun-0.19.1.31-b83e.tar.xz
/crun-0.19.1.36-2bad.tar.xz
/crun-0.19.1.41-f9c4.tar.xz
/crun-0.19.1.45-4cc7.tar.xz
/crun-0.19.1.50-1942.tar.xz
/crun-0.20.1-ffb7.tar.xz
/crun-0.20.3-8d6a.tar.xz
/crun-0.20.1.1-7adf.tar.xz
/crun-0.20.1.3-9dec.tar.xz
/crun-0.19.1.13-6340.tar.xz
/crun-0.20.1.7-7ef7.tar.xz
/crun-0.20.1.9-60de.tar.xz
/crun-0.21-dirty.tar.xz
/crun-0.21.tar.xz
/crun-1.0.tar.xz
/crun-1.1.tar.xz
/crun-1.2.tar.xz
/crun-1.3.tar.xz
/crun-1.4.tar.xz
/crun-1.4.1.tar.xz
/crun-1.4.2.tar.xz
/crun-1.4.3.tar.xz
/crun-1.4.4.tar.xz
/crun-1.4.5.tar.xz
/crun-1.5.tar.xz
/crun-1.6.tar.xz
/crun-1.7.tar.xz
/crun-1.7.1.tar.xz
/crun-1.7.2.tar.xz
/crun-1.8.tar.xz
/crun-1.8.1.tar.xz
/crun-1.8.2.tar.xz
/crun-1.8.3.tar.xz
/crun-1.8.4.tar.xz
/crun-1.8.5.tar.xz
/crun-1.8.6.tar.xz
/crun-1.8.7.tar.xz
/crun-1.9.tar.xz
/crun-1.9.1.tar.xz
/crun-1.9.2.tar.xz
/crun-1.10.tar.xz
/crun-1.11.tar.xz
/crun-1.11.1.tar.xz
/crun-1.11.2.tar.xz
/crun-1.12.tar.xz
/crun-1.13.tar.xz
/crun-1.14.tar.xz
/crun-1.14.1.tar.xz
/crun-1.14.2.tar.xz
/crun-1.14.3.tar.xz
/crun-1.14.4.tar.xz
/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

140
.packit.yaml Normal file
View file

@ -0,0 +1,140 @@
---
# See the documentation for more information:
# https://packit.dev/docs/configuration/
downstream_package_name: crun
# Ref: https://packit.dev/docs/configuration#files_to_sync
files_to_sync:
- src: rpm/gating.yaml
dest: gating.yaml
- src: plans/
dest: plans/
delete: true
mkpath: true
- src: tests/tmt/
dest: tests/tmt/
delete: true
mkpath: true
- src: .fmf/
dest: .fmf/
delete: true
mkpath: true
- .packit.yaml
packages:
crun-fedora:
pkg_tool: fedpkg
specfile_path: rpm/crun.spec
crun-centos:
pkg_tool: centpkg
specfile_path: rpm/crun.spec
crun-eln:
specfile_path: rpm/crun.spec
srpm_build_deps:
- git-archive-all
- make
actions:
# This action runs only on copr build jobs
create-archive:
- "git-archive-all -v --force-submodules rpm/crun-HEAD.tar.xz"
- bash -c "ls -1 rpm/crun-HEAD.tar.xz"
jobs:
- job: copr_build
trigger: pull_request
packages: [crun-fedora]
notifications: &copr_build_failure_notification
failure_comment:
message: "Ephemeral COPR build failed. @containers/packit-build please check."
targets: &fedora_copr_targets
- fedora-all-x86_64
- fedora-all-aarch64
- job: copr_build
trigger: pull_request
packages: [crun-eln]
notifications: *copr_build_failure_notification
targets:
- fedora-eln-x86_64
- fedora-eln-aarch64
- job: copr_build
trigger: pull_request
packages: [crun-centos]
notifications: *copr_build_failure_notification
targets: &centos_copr_targets
- 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
trigger: commit
packages: [crun-fedora]
notifications:
failure_comment:
message: "podman-next COPR build failed. @containers/packit-build please check."
branch: main
owner: rhcontainerbot
project: podman-next
# Podman system tests for Fedora and CentOS Stream
- job: tests
trigger: pull_request
packages: [crun-fedora]
notifications: &test_failure_notification
failure_comment:
message: "TMT tests failed. @containers/packit-build please check."
targets: *fedora_copr_targets
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
# Podman system tests for CentOS Stream
- job: tests
trigger: pull_request
packages: [crun-centos]
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:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/centos-stream-$releasever/rhcontainerbot-podman-next-centos-stream-$releasever.repo
- job: propose_downstream
trigger: release
packages: [crun-fedora]
dist_git_branches: &fedora_targets
- fedora-all
# Disabled until we're switching to Packit for CentOS Stream
- job: propose_downstream
trigger: ignore
packages: [crun-centos]
dist_git_branches:
- c10s
- job: koji_build
trigger: commit
packages: [crun-fedora]
dist_git_branches: *fedora_targets
- job: bodhi_update
trigger: commit
packages: [crun-fedora]
dist_git_branches:
- fedora-branched # rawhide updates are created automatically

3
README.packit Normal file
View file

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

152
crun.spec
View file

@ -1,38 +1,142 @@
Name: crun
Version: 0.1.1
Release: 1%{?dist}
Summary: Lightweight, easy to use, simpler cron-like tool
%global krun_opts %{nil}
%global wasmedge_opts %{nil}
%global yajl_opts %{nil}
Group: Applications/System
License: GPLv2+
URL: http://code.google.com/p/koolkit/wiki/crun
Source0: http://koolkit.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if %{defined copr_username}
%define copr_build 1
%endif
# krun and wasm support only on aarch64 and x86_64
%ifarch aarch64 || x86_64
%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
%endif
%if %{defined fedora} || (%{defined rhel} && 0%{?rhel} < 10)
%global system_yajl 1
%else
%global yajl_opts --enable-embedded-yajl
%endif
Summary: OCI runtime written in C
Name: crun
%if %{defined copr_build}
Epoch: 102
%endif
# DO NOT TOUCH the Version string!
# The TRUE source of this specfile is:
# https://github.com/containers/crun/blob/main/rpm/crun.spec
# 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.26
Release: %autorelease
URL: https://github.com/containers/%{name}
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.zst
License: GPL-2.0-only
%if %{defined golang_arches_future}
ExclusiveArch: %{golang_arches_future}
%else
ExclusiveArch: aarch64 ppc64le riscv64 s390x x86_64
%endif
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: git-core
BuildRequires: gperf
BuildRequires: libcap-devel
%if %{defined krun_support}
BuildRequires: libkrun-devel
%endif
BuildRequires: systemd-devel
%if %{defined system_yajl}
BuildRequires: yajl-devel
%endif
BuildRequires: libseccomp-devel
BuildRequires: python3-libmount
BuildRequires: libtool
BuildRequires: protobuf-c-devel
BuildRequires: criu-devel >= 3.17.1-2
Recommends: criu >= 3.17.1
Recommends: criu-libs
%if %{defined wasmedge_support}
BuildRequires: wasmedge-devel
%endif
BuildRequires: python
BuildRequires: glibc-static
Provides: oci-runtime
%description
crun is a light weight, easy to use, simpler cron like tool.
It Executes a given program, a specified number of times, after a specified
time interval.
%{name} is a OCI runtime
%if %{defined krun_support}
%package krun
Summary: %{name} with libkrun support
Requires: libkrun
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: krun = %{?epoch:%{epoch}:}%{version}-%{release}
%description krun
krun is a symlink to the %{name} binary, with libkrun as an additional dependency.
%endif
%if %{defined wasm_support}
%package wasm
Summary: %{name} with wasm support
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
# wasm packages are not present on RHEL yet and are currently a PITA to test
# Best to only include wasmedge as weak dep on rhel
%if %{defined fedora}
Requires: wasm-library
%endif
Recommends: wasmedge
%description wasm
%{name}-wasm is a symlink to the %{name} binary, with wasm as an additional dependency.
%endif
%prep
%setup -q
%autosetup -Sgit -n %{name}-%{version}
%build
%configure
make %{?_smp_mflags}
./autogen.sh
./configure --disable-silent-rules %{krun_opts} %{wasmedge_opts} %{yajl_opts}
%make_build
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%make_install prefix=%{_prefix}
rm -rf %{buildroot}%{_prefix}/lib*
%clean
rm -rf $RPM_BUILD_ROOT
# Placeholder check to silence rpmlint
%check
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/crun
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%if %{defined krun_support}
%files krun
%license COPYING
%{_bindir}/krun
%{_mandir}/man1/krun.1.gz
%endif
%if %{defined wasm_support}
%files wasm
%license COPYING
%{_bindir}/%{name}-wasm
%endif
%changelog
* Fri Dec 11 2009 Damien Durand <splinux@fedoraproject.org> 0.1.1-1
- Initial release
%autochangelog

15
gating.yaml Normal file
View file

@ -0,0 +1,15 @@
--- !Policy
product_versions:
- fedora-*
decision_contexts:
- bodhi_update_push_stable
- bodhi_update_push_testing
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

40
plans/main.fmf Normal file
View file

@ -0,0 +1,40 @@
discover:
how: fmf
execute:
how: tmt
prepare:
- when: distro == centos-stream or distro == rhel
how: shell
script: |
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm
dnf -y config-manager --set-enabled epel
order: 10
- when: initiator == packit
how: shell
script: |
COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo"
if compgen -G $COPR_REPO_FILE > /dev/null; then
sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE
fi
dnf -y upgrade --allowerasing
order: 20
- how: install
package:
- bats
- crun
- podman-tests
/shellcheck:
discover+:
filter: 'tag:shellcheck'
enabled: true
adjust:
enabled: false
when: distro == centos-stream-10 or distro == rhel-10
prepare+:
- how: install
package: ShellCheck
/tests:
discover+:
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 @@
0865cb80e85afc598cab2ec5b4820c15 crun-0.1.1.tar.gz
SHA512 (crun-1.26.tar.zst) = 0785af6095a26290f433c5739bea5d98a029c3f0e8efbeed420481849ebddd70acde6c1105133c392abf26bca90d232cced5e5994da7506d66a020a02c129fb3

View file

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

View file

@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -exo pipefail
if [[ "$(id -u)" -ne 0 ]];then
echo "Please run this script as superuser"
exit 1
fi
cat /etc/redhat-release
rpm -q conmon containers-common crun podman podman-tests
# Run crun specific 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

@ -0,0 +1,180 @@
{
"ociVersion": "1.0.0",
"process": {
"terminal": false,
"user": {
"uid": 0,
"gid": 0
},
"args": [
"sleep", "10"
],
"env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"TERM=xterm"
],
"cwd": "/",
"capabilities": {
"bounding": [
"CAP_AUDIT_WRITE",
"CAP_KILL",
"CAP_NET_BIND_SERVICE"
],
"effective": [
"CAP_AUDIT_WRITE",
"CAP_KILL",
"CAP_NET_BIND_SERVICE"
],
"inheritable": [
],
"permitted": [
"CAP_AUDIT_WRITE",
"CAP_KILL",
"CAP_NET_BIND_SERVICE"
],
"ambient": [
"CAP_AUDIT_WRITE",
"CAP_KILL",
"CAP_NET_BIND_SERVICE"
]
},
"rlimits": [
{
"type": "RLIMIT_NOFILE",
"hard": 1024,
"soft": 1024
}
],
"noNewPrivileges": true
},
"root": {
"path": "rootfs",
"readonly": true
},
"hostname": "crun",
"mounts": [
{
"destination": "/proc",
"type": "proc",
"source": "proc"
},
{
"destination": "/dev",
"type": "tmpfs",
"source": "tmpfs",
"options": [
"nosuid",
"strictatime",
"mode=755",
"size=65536k"
]
},
{
"destination": "/dev/pts",
"type": "devpts",
"source": "devpts",
"options": [
"nosuid",
"noexec",
"newinstance",
"ptmxmode=0666",
"mode=0620",
"gid=5"
]
},
{
"destination": "/dev/shm",
"type": "tmpfs",
"source": "shm",
"options": [
"nosuid",
"noexec",
"nodev",
"mode=1777",
"size=65536k"
]
},
{
"destination": "/dev/mqueue",
"type": "mqueue",
"source": "mqueue",
"options": [
"nosuid",
"noexec",
"nodev"
]
},
{
"destination": "/sys",
"type": "sysfs",
"source": "sysfs",
"options": [
"nosuid",
"noexec",
"nodev",
"ro"
]
},
{
"destination": "/sys/fs/cgroup",
"type": "cgroup",
"source": "cgroup",
"options": [
"nosuid",
"noexec",
"nodev",
"relatime",
"ro"
]
}
],
"linux": {
"resources": {
"devices": [
{
"allow": false,
"access": "rwm"
}
]
},
"namespaces": [
{
"type": "pid"
},
{
"type": "network"
},
{
"type": "ipc"
},
{
"type": "uts"
},
{
"type": "cgroup"
},
{
"type": "mount"
}
],
"maskedPaths": [
"/proc/acpi",
"/proc/asound",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/sys/firmware",
"/proc/scsi"
],
"readonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
}
}

View file

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

113
tests/tmt/sanity/runtest.sh Normal file
View file

@ -0,0 +1,113 @@
#!/usr/bin/env bash
set -exo pipefail
TEMPDIR=$(mktemp -d)
TESTIMG="quay.io/libpod/busybox"
CNAME="mycont-$RANDOM"
cat /etc/redhat-release
uname -r
rpm -q crun criu
if ! crun --version; then
exit 1
fi
if ! crun features; then
exit 1
fi
if ! crun list; then
exit 1
fi
# create the top most bundle and rootfs directory
mkdir -p "$TEMPDIR"/rootfs
# export busybox via podman into the rootfs directory
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"
if ! crun create $CNAME; then
exit 1
fi
if ! crun list; then
exit 1
fi
if ! crun start $CNAME; then
exit 1
fi
if ! crun list; then
exit 1
fi
if ! crun state $CNAME; then
exit 1
fi
if ! crun ps $CNAME; then
exit 1
fi
if ! ret=$(crun exec $CNAME pwd) || [[ "$ret" != '/' ]]; then
exit 1
fi
if ! crun pause $CNAME; then
exit 1
fi
if ! crun state $CNAME; then
exit 1
fi
if ! crun resume $CNAME; then
exit 1
fi
if ! crun state $CNAME; then
exit 1
fi
if ! ret=$(crun exec $CNAME pwd) || [[ "$ret" != '/' ]]; then
exit 1
fi
if ! crun delete --force $CNAME; then
exit 1
fi
if ! crun list; then
exit 1
fi
if ! (crun run $CNAME &); then
exit 1
fi
if ! crun list; then
exit 1
fi
# make sure the container is running state
sleep 2
if ! ret=$(crun exec $CNAME echo 'ok') || [[ "$ret" != 'ok' ]]; then
exit 1
fi
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 ]