Skip to content

Commit 70bf849

Browse files
committed
Add CI test for zdfs image
Signed-off-by: Yifan Yuan <[email protected]>
1 parent d52fea5 commit 70bf849

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci-basic.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ jobs:
5454
ctr c rm test && ctr c ls
5555
ctr i rm docker.io/overlaybd/redis:6.2.1_obd && ctr i ls
5656
57+
- name: CI - run overlaybd(zdfs) container
58+
shell: bash
59+
run: |
60+
set -x
61+
ctr i pull registry-1.docker.io/overlaybd/redis:7.2.3_obd_zdfsRef
62+
if [[ ! -f /opt/overlaybd/baselayers/.commit ]]; then
63+
ln /opt/overlaybd/baselayers/ext4_64 /opt/overlaybd/baselayers/.commit
64+
fi
65+
ctr run -d --net-host --snapshotter=overlaybd --snapshotter-label='containerd.io/snapshot/cri.image-ref:registry-1.docker.io/overlaybd/redis:7.2.3_obd_zdfsRef' registry-1.docker.io/overlaybd/redis:7.2.3_obd_zdfsRef test
66+
ctr t ls | grep test
67+
ctr t kill -s 9 test && sleep 5s && ctr t ls
68+
ctr c rm test && ctr c ls
69+
ctr i rm registry-1.docker.io/overlaybd/redis:7.2.3_obd_zdfsRef && ctr i ls
70+
5771
- name: CI - obdconv
5872
shell: bash
5973
run: |

0 commit comments

Comments
 (0)