From 792b3bbb2a6c11f857c14fa9c4bcbcf2ecb415c0 Mon Sep 17 00:00:00 2001 From: Sophia Guo Date: Fri, 13 Dec 2024 10:22:32 -0500 Subject: [PATCH] non tck ones not limited to use podman --- external/build_image.sh | 2 +- external/external.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external/build_image.sh b/external/build_image.sh index 671a0241d9..a08e7f2b11 100755 --- a/external/build_image.sh +++ b/external/build_image.sh @@ -67,7 +67,7 @@ function build_image() { echo "The test in the build_image() function is ${test}" # Used for tagging the image tags="adoptopenjdk-${test}-test:${version}-${package}-${os}-${vm}-${build}" - if [[ "$test" == *"criu"* || "$test" == *"tck"* ]]; then + if [[ "$test" == *"criu"* || "$test" == tck-* ]]; then container_build="sudo podman build" fi diff --git a/external/external.sh b/external/external.sh index 584f66bf87..925e0f94fd 100755 --- a/external/external.sh +++ b/external/external.sh @@ -128,7 +128,7 @@ parseCommandLineArgs() { docker_os=ubi fi - if [[ "${test}" == *"criu"* || "${test}" == *"tck"* ]]; then + if [[ "${test}" == *"criu"* || "${test}" == tck-* ]]; then container_run="sudo podman run" container_login="sudo podman login" container_inspect="sudo podman inspect"