From 813bfdec0178e59569eba366063553e0def033ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Wed, 13 Sep 2023 13:10:14 +0200 Subject: [PATCH] ci: docker: nerdtl: Use io.containerd.kata-${KATA_HYPERVISOR}.io MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will ensure that we're calling the correct binary for the hypervisor. Signed-off-by: Fabiano FidĂȘncio --- tests/integration/docker/gha-run.sh | 2 +- tests/integration/nerdctl/gha-run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/docker/gha-run.sh b/tests/integration/docker/gha-run.sh index f677b8258e..cab3401ea1 100755 --- a/tests/integration/docker/gha-run.sh +++ b/tests/integration/docker/gha-run.sh @@ -42,7 +42,7 @@ function run() { sudo docker run --rm --entrypoint nping instrumentisto/nmap --tcp-connect -c 2 -p 80 www.github.com info "Running docker with Kata Containers (${KATA_HYPERVISOR})" - sudo docker run --rm --runtime io.containerd.kata.v2 --entrypoint nping instrumentisto/nmap --tcp-connect -c 2 -p 80 www.github.com + sudo docker run --rm --runtime io.containerd.kata-${KATA_HYPERVISOR}.v2 --entrypoint nping instrumentisto/nmap --tcp-connect -c 2 -p 80 www.github.com } function main() { diff --git a/tests/integration/nerdctl/gha-run.sh b/tests/integration/nerdctl/gha-run.sh index 64b7c7cc6a..c4803d5db5 100644 --- a/tests/integration/nerdctl/gha-run.sh +++ b/tests/integration/nerdctl/gha-run.sh @@ -67,7 +67,7 @@ function run() { sudo nerdctl run --rm --entrypoint nping instrumentisto/nmap --tcp-connect -c 2 -p 80 www.github.com info "Running nerdctl with Kata Containers (${KATA_HYPERVISOR})" - sudo nerdctl run --rm --runtime io.containerd.kata.v2 --entrypoint nping instrumentisto/nmap --tcp-connect -c 2 -p 80 www.github.com + sudo nerdctl run --rm --runtime io.containerd.kata-${KATA_HYPERVISOR}.v2 --entrypoint nping instrumentisto/nmap --tcp-connect -c 2 -p 80 www.github.com } function main() {