Skip to content

Commit

Permalink
Merge pull request #274 from BigVan/main
Browse files Browse the repository at this point in the history
Add CI test for zdfs image
  • Loading branch information
yuchen0cc authored Apr 8, 2024
2 parents d52fea5 + 70bf849 commit ca81c09
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,20 @@ jobs:
ctr c rm test && ctr c ls
ctr i rm docker.io/overlaybd/redis:6.2.1_obd && ctr i ls
- name: CI - run overlaybd(zdfs) container
shell: bash
run: |
set -x
ctr i pull registry-1.docker.io/overlaybd/redis:7.2.3_obd_zdfsRef
if [[ ! -f /opt/overlaybd/baselayers/.commit ]]; then
ln /opt/overlaybd/baselayers/ext4_64 /opt/overlaybd/baselayers/.commit
fi
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
ctr t ls | grep test
ctr t kill -s 9 test && sleep 5s && ctr t ls
ctr c rm test && ctr c ls
ctr i rm registry-1.docker.io/overlaybd/redis:7.2.3_obd_zdfsRef && ctr i ls
- name: CI - obdconv
shell: bash
run: |
Expand Down

0 comments on commit ca81c09

Please sign in to comment.