Add debug info

This commit is contained in:
Shiming Zhang 2021-09-16 15:18:52 +08:00
parent 37603418ce
commit c939f7a384
1 changed files with 10 additions and 0 deletions

View File

@ -24,6 +24,16 @@ PARALLET="${PARALLET:-0}"
SELF="$(basename "${BASH_SOURCE[0]}")"
if [[ "${DEBUG}" == "true" ]]; then
echo "DEBUG: ${DEBUG}"
echo "IMAGE1: ${IMAGE1}"
echo "IMAGE2: ${IMAGE2}"
echo "INCREMENTAL: ${INCREMENTAL}"
echo "QUICKLY: ${QUICKLY}"
echo "EXCLUDED: ${EXCLUDED}"
echo "PARALLET: ${PARALLET}"
fi
function check() {
local image1="${1:-}"
local image2="${2:-}"