Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions scripts/create-imageslist.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
# This script will create a txt file with RKE extended life images.
set -e -x

IMAGES_LIST_FILE="./build/bin/rke-extended-life-images.txt"

# Ensure the build directory exists
mkdir -p ./build/bin

echo "Creating ${IMAGES_LIST_FILE}"

# The command to generate a unique list of sorted images after removing noiro/aci images.
./bin/rke config --system-images --all | grep -Eo '^[^ ]+/.+' | grep -v '^noiro/' | sort | uniq > "$IMAGES_LIST_FILE"

echo "Done creating ${IMAGES_LIST_FILE}"

# Display the content of the generated file
cat "$IMAGES_LIST_FILE"
1 change: 1 addition & 0 deletions scripts/package
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ SUFFIX=""
[ "${ARCH}" != "amd64" ] && SUFFIX="_${ARCH}"

./scripts/create-releasenote.sh
./scripts/create-imageslist.sh
Loading