diff --git a/scripts/images/get-all-images.sh b/scripts/images/get-all-images.sh index d6acf58..436a954 100755 --- a/scripts/images/get-all-images.sh +++ b/scripts/images/get-all-images.sh @@ -4,6 +4,8 @@ # charm's repository one by one using specified branch and collects images referred by that charm # using that repository's image collection script # +set -xe + BUNDLE_FILE=$1 IMAGES=() # retrieve all repositories and branches for CKF diff --git a/scripts/images/get-images.sh b/scripts/images/get-images.sh index 0b1f22a..5daaa45 100755 --- a/scripts/images/get-images.sh +++ b/scripts/images/get-images.sh @@ -1,4 +1,7 @@ #!/usr/bin/bash + +set -xe + BUNDLE_FILE=$1 IMAGES=() REPOS=($(grep _github_repo_name $BUNDLE_FILE | awk '{print $2}' | sort --unique)) diff --git a/scripts/images/scan-images.sh b/scripts/images/scan-images.sh index a9d0e64..8b2ecab 100755 --- a/scripts/images/scan-images.sh +++ b/scripts/images/scan-images.sh @@ -6,6 +6,7 @@ # # Usage: scan.sh # +set -xe FILE=$1 TRIVY_REPORTS_DIR="trivy-reports"