Skip to content

Commit

Permalink
feat: get images on main (#145)
Browse files Browse the repository at this point in the history
canonical/bundle-kubeflow#679

Summary of changes:
- Added script that produces list of container images managed by charm in this repository. Image list is a dynamic list.

Co-authored-by: Phoevos Kalemkeris <phoevos.kalemkeris@canonical.com>
  • Loading branch information
i-chvets and phoevos authored Sep 2, 2023
1 parent 5bf2317 commit 42fef35
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tools/get-images-1.7-stable.sh → tools/get-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@
#
# This script returns list of container images that are managed by this charm and/or its workload
#
# static list
STATIC_IMAGE_LIST=(
)
# dynamic list
git checkout origin/track/ckf-1.7
IMAGE_LIST=()
IMAGE_LIST+=($(find -type f -name metadata.yaml -exec yq '.resources | to_entries | .[] | .value | ."upstream-source"' {} \;))

printf "%s\n" "${STATIC_IMAGE_LIST[@]}"
printf "%s\n" "${IMAGE_LIST[@]}"

0 comments on commit 42fef35

Please sign in to comment.