mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
docker/podman: test c/r with action-script
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
28d0056388
commit
82a0db036e
2 changed files with 6 additions and 0 deletions
|
|
@ -28,6 +28,9 @@ CRIU_LOG='/criu.log'
|
|||
mkdir -p /etc/criu
|
||||
echo "log-file=$CRIU_LOG" > /etc/criu/runc.conf
|
||||
|
||||
# Test checkpoint/restore with action script
|
||||
echo "action-script /usr/bin/true" | sudo tee /etc/criu/default.conf
|
||||
|
||||
export SKIP_CI_TEST=1
|
||||
|
||||
./run-ci-tests.sh
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ mkdir -p /etc/criu
|
|||
echo "manage-cgroups ignore" > /etc/criu/runc.conf
|
||||
sed -i 's/#runtime\s*=\s*.*/runtime = "runc"/' /usr/share/containers/containers.conf
|
||||
|
||||
# Test checkpoint/restore with action script
|
||||
echo "action-script /usr/bin/true" | sudo tee /etc/criu/default.conf
|
||||
|
||||
podman info
|
||||
|
||||
podman run --name cr -d docker.io/library/alpine /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue