Skip to content

Commit

Permalink
feat: get images on main (#79)
Browse files Browse the repository at this point in the history
* feat: get images on main
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.
- Update tools/get-images.sh
---------
Co-authored-by: Phoevos Kalemkeris <[email protected]>
  • Loading branch information
i-chvets authored and orfeas-k committed Sep 26, 2023
1 parent ed80215 commit 4cef054
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
14 changes: 0 additions & 14 deletions tools/get-images-1.7-stable.sh

This file was deleted.

3 changes: 1 addition & 2 deletions tools/get-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
#
# dynamic list
IMAGE_LIST=()
IMAGE_LIST+=($(grep "self._metacontroller_image =" src/charm.py | awk '{print $3}' | sort --unique | sed s/,//g | sed s/\"//g))
IMAGE_LIST+=($(find -type f -name metadata.yaml -exec yq '.resources | to_entries | .[] | .value | ."upstream-source"' {} \;))
printf "%s\n" "${IMAGE_LIST[@]}"

0 comments on commit 4cef054

Please sign in to comment.