Skip to content

Commit

Permalink
bats: use nerdctl replace ctr-remote
Browse files Browse the repository at this point in the history
Signed-off-by: Yadong Ding <[email protected]>
  • Loading branch information
Desiki-high committed Sep 20, 2024
1 parent 3d52fc7 commit a292f4f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 17 deletions.
1 change: 0 additions & 1 deletion tests/bats/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ci:
bash -f ./install_bats.sh
bats --formatter tap build_docker_image.bats
bats --formatter tap compile_nydusd.bats
bats --formatter tap compile_ctr_remote.bats
bats --formatter tap compile_nydus_snapshotter.bats
bats --formatter tap run_container_with_rafs.bats
bats --formatter tap run_container_with_zran.bats
Expand Down
14 changes: 0 additions & 14 deletions tests/bats/compile_ctr_remote.bats

This file was deleted.

2 changes: 1 addition & 1 deletion tests/bats/run_container_with_rafs.bats
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ setup() {
run_nydus_snapshotter
config_containerd_for_nydus
ctr images ls | grep -q "${nydus_rafs_image}" && ctr images rm $nydus_rafs_image
ctr-remote images rpull $nydus_rafs_image
nerdctl pull --snapshotter=nydus $nydus_rafs_image
}

@test "run container with rafs" {
Expand Down
2 changes: 1 addition & 1 deletion tests/bats/run_container_with_zran.bats
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ setup() {
run_nydus_snapshotter
config_containerd_for_nydus
ctr images ls | grep -q "${nydus_zran_image}" && ctr images rm $nydus_zran_image
ctr-remote images rpull $nydus_zran_image
nerdctl pull --snapshotter=nydus $nydus_zran_image
}

@test "run container with zran" {
Expand Down

0 comments on commit a292f4f

Please sign in to comment.