From c7690337284f1c4289e494d949a4f9c837f86652 Mon Sep 17 00:00:00 2001 From: Gyurix Date: Tue, 17 Sep 2024 18:14:49 +0200 Subject: [PATCH] comment docker pull --- scripts/scheduler/entrypoint.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/scripts/scheduler/entrypoint.sh b/scripts/scheduler/entrypoint.sh index ee7ec87..93e14db 100644 --- a/scripts/scheduler/entrypoint.sh +++ b/scripts/scheduler/entrypoint.sh @@ -404,15 +404,16 @@ check_update() { if [ "$digest" != "$local_digest" ] ; then echo "Update available. Executing update command..." - DOCKER_PULL="docker pull $REPOSITORY_URL/$TEMP_IMAGE:$TEMP_VERSION" - eval $DOCKER_PULL - STATUS=$? - debug "PULL STATUS: $STATUS" - if [ $STATUS != 0 ] ; then # Exit status of last task - echo "PULL ERROR: $DOCKER_PULL no any new image accessible in registry $REPOSITORY_URL"; - else - UPDATE="1"; - fi + UPDATE="1"; + #DOCKER_PULL="docker pull $REPOSITORY_URL/$TEMP_IMAGE:$TEMP_VERSION" + #eval $DOCKER_PULL + #STATUS=$? + #debug "PULL STATUS: $STATUS" + #if [ $STATUS != 0 ] ; then # Exit status of last task + # echo "PULL ERROR: $DOCKER_PULL no any new image accessible in registry $REPOSITORY_URL"; + #else + # UPDATE="1"; + #fi else echo "Already up to date. Nothing to do." fi