From 19e80b96e0addd2084333a91c16c171f93acfe01 Mon Sep 17 00:00:00 2001 From: mvlassis Date: Thu, 29 Aug 2024 16:43:39 +0300 Subject: [PATCH] Add set -xe to get-images.sh --- tools/get-images.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/get-images.sh b/tools/get-images.sh index 3bfd305..de990fe 100755 --- a/tools/get-images.sh +++ b/tools/get-images.sh @@ -3,6 +3,9 @@ # This script returns list of container images that are managed by this charm and/or its workload # # dynamic list + +set -xe + IMAGE_LIST=() IMAGE_LIST+=($(find -type f -name config.yaml -exec yq '.options | with_entries(select(.key | test("-image$"))) | .[].default' {} \; | tr -d '"')) printf "%s\n" "${IMAGE_LIST[@]}"