From 474395ce7b6b48a2094d3884fdb4df9bec4309c2 Mon Sep 17 00:00:00 2001 From: Friedrich Wilken Date: Wed, 13 Dec 2023 07:28:13 +0100 Subject: [PATCH] Add more comments. --- scripts/image_exists.sh | 2 ++ scripts/no_image_exists.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/image_exists.sh b/scripts/image_exists.sh index a06469ac..adc395ac 100755 --- a/scripts/image_exists.sh +++ b/scripts/image_exists.sh @@ -1,5 +1,7 @@ #!/bin/bash +# This script checks with a timeout, if a defined image with a defined can be found. + TIMEOUT=${1:-600} INTERVAL=${2:-20} TAG=${3:-latest} diff --git a/scripts/no_image_exists.sh b/scripts/no_image_exists.sh index 5cb2eed2..1887b7bd 100755 --- a/scripts/no_image_exists.sh +++ b/scripts/no_image_exists.sh @@ -1,5 +1,7 @@ #!/bin/bash +# This script will verify that a defined image with a defined tag cannot be found. + TAG=${1:-latest} IMAGE=${2:-europe-docker.pkg.dev/kyma-project/prod/nats-manager}