From eb006fb2215fac9e50ba2fd16c9fff5f6bf91caa Mon Sep 17 00:00:00 2001 From: Jorge Moratinos Salcines Date: Mon, 13 Jul 2026 15:23:58 +0200 Subject: [PATCH] Fixed run capif tests scripts --- helm/scripts/run_remote_capif_tests.sh | 2 +- services/run_capif_tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/scripts/run_remote_capif_tests.sh b/helm/scripts/run_remote_capif_tests.sh index 086f2a8..c1f2961 100755 --- a/helm/scripts/run_remote_capif_tests.sh +++ b/helm/scripts/run_remote_capif_tests.sh @@ -65,7 +65,7 @@ then fi docker pull $DOCKER_ROBOT_IMAGE:$DOCKER_ROBOT_IMAGE_VERSION || echo "Docker image ($DOCKER_ROBOT_IMAGE:$DOCKER_ROBOT_IMAGE_VERSION) not present on repository" -docker images|grep -Eq '^'$DOCKER_ROBOT_IMAGE'[ ]+[ ]'$DOCKER_ROBOT_IMAGE_VERSION'' +docker images|grep -Eq '^'$DOCKER_ROBOT_IMAGE'([[:space:]]+|:)'$DOCKER_ROBOT_IMAGE_VERSION'' if [[ $? -ne 0 ]] then read -p "Robot image is not present. To continue, Do you want to build it? (y/n)" build_robot_image diff --git a/services/run_capif_tests.sh b/services/run_capif_tests.sh index 65c9a45..819f299 100755 --- a/services/run_capif_tests.sh +++ b/services/run_capif_tests.sh @@ -33,7 +33,7 @@ then fi docker pull $DOCKER_ROBOT_IMAGE:$DOCKER_ROBOT_IMAGE_VERSION || echo "Docker image ($DOCKER_ROBOT_IMAGE:$DOCKER_ROBOT_IMAGE_VERSION) not present on repository" -docker images|grep -Eq '^'$DOCKER_ROBOT_IMAGE'[ ]+[ ]'$DOCKER_ROBOT_IMAGE_VERSION'' +docker images|grep -Eq '^'$DOCKER_ROBOT_IMAGE'([[:space:]]+|:)'$DOCKER_ROBOT_IMAGE_VERSION'' if [[ $? -ne 0 ]] then read -p "Robot image is not present. To continue, Do you want to build it? (y/n)" build_robot_image -- GitLab