Skip to content

Commit

Permalink
Run pack -v extension package using as config --config /package.toml …
Browse files Browse the repository at this point in the history
…and create the file if missing

Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Sep 5, 2024
1 parent 05c75f4 commit 3039e4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/install_buildpack_testing_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ create-package \
--destination "${COMPILED_BUILDPACK}" \
--version "${VERSION}"

PACKAGE_FILE=${SOURCE_PATH:-.}/package.toml
[[ -e ${PACKAGE_FILE} ]] && cp ${PACKAGE_FILE} "${COMPILED_BUILDPACK}/package.toml"
printf '['extension']\nuri = "%s"\n\n[platform]\nos = "%s"\n' "${COMPILED_BUILDPACK}" "${OS}" >> "${COMPILED_BUILDPACK}/package.toml"

cd "${COMPILED_BUILDPACK}"

print::colored_msg "${CYAN}" "Show extension.toml content for the ubi java extension"
Expand Down

0 comments on commit 3039e4a

Please sign in to comment.