Skip to content

Commit

Permalink
Fix wrong var names
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Aug 30, 2024
1 parent 60847c7 commit 74984c8
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions scripts/install_buildpack_testing_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,23 +100,22 @@ pack config experimental true
echo "Test case: Build the ubi base stack image"
cd ubi-base-stack

set -x

cat ${SOURCE_PATH}/images.json | jq -c '.images[]' | while read -r image; do
name=$(echo "$image" | jq -r '.name')
config_dir=$(echo "$image" | jq -r '.config_dir')
output_dir=$(echo "$image" | jq -r '.output_dir')
build_image=$(echo "$image" | jq -r '.build_image')
run_image=$(echo "$image" | jq -r '.run_image')
NAME=$(echo "$image" | jq -r '.name')
CONFIG_DIR=$(echo "$image" | jq -r '.config_dir')
OUTPUT_DIR=$(echo "$image" | jq -r '.output_dir')
BUILD_IMAGE=$(echo "$image" | jq -r '.build_image')
RUN_IMAGE=$(echo "$image" | jq -r '.run_image')

build_receipt_filename=$(echo "$image" | jq -r '.build_receipt_filename')
run_receipt_filename=$(echo "$image" | jq -r '.run_receipt_filename')

echo "Name: ${NAME}"
echo "Config Dir: ${CONFIG_DIR}"
echo "Output Dir: ${OUTPUT_DIR}"

echo "Build Image: $build_image"
echo "Run Image: $run_image"
echo "Build Image: ${BUILD_IMAGE}"
echo "Run Image: ${RUN_IMAGE}"

echo "Build Receipt Filename: $build_receipt_filename"
echo "Run Receipt Filename: $run_receipt_filename"
Expand Down

0 comments on commit 74984c8

Please sign in to comment.