Skip to content

Commit

Permalink
Add set -xe to get-images.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mvlassis committed Aug 29, 2024
1 parent 6efe0ae commit 19e80b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/get-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
Expand Down

0 comments on commit 19e80b9

Please sign in to comment.