Skip to content

Commit

Permalink
Coloring too the first steps
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 1068de0 commit 1caaef2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/install_buildpack_testing_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ curl_args=(
os=$(util::tools::os)
arch=$(util::tools::arch)

echo "Git clone the paketo repositories ..."
print::message_with_color "${GREEN}" "Git clone the paketo repositories ..."
repos=(
https://github.com/paketo-community/builder-ubi-base.git
https://github.com/paketo-community/builder-ubi-buildpackless-base.git
Expand All @@ -103,7 +103,7 @@ done

# Install Jam CLI
JAM_VERSION="v2.7.3"
echo "Installing jam: ${JAM_VERSION}"
print::message_with_color "${GREEN}" "Installing jam: ${JAM_VERSION}"

curl "https://github.com/paketo-buildpacks/jam/releases/download/${JAM_VERSION}/jam-${os}-${arch}" \
"${curl_args[@]}"
Expand All @@ -113,15 +113,15 @@ jam version
# Install Pack CLI
PACK_CLI_VERSION="v0.35.1"

echo "Installing pack ..."
print::message_with_color "${GREEN}" "Installing pack: ${PACK_CLI_VERSION}"
curl -sSL "https://github.com/buildpacks/pack/releases/download/${PACK_CLI_VERSION}/pack-${PACK_CLI_VERSION}-linux.tgz" | tar -C ./tmp --no-same-owner -xzv pack
sudo mv tmp/pack /usr/local/bin

echo "Checking pack ..."
pack --version
pack config experimental true

print::message_with_color "${CYAN}" "## Test case:: Build the ubi builder image using pack. ##"
print::message_with_color "${CYAN}" "Test case:: Build the ubi builder image using pack. "
cd builder-ubi-base
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock

Expand All @@ -130,7 +130,7 @@ pack builder create builder \
${SOURCE_PATH}/builder.toml
cd ..

print::message_with_color "${CYAN}" "## Test case:: Build the ubi buildpackless builder image using pack. ##"
print::message_with_color "${CYAN}" "Test case:: Build the ubi buildpackless builder image using pack. "
cd builder-ubi-buildpackless-base
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock

Expand All @@ -139,7 +139,7 @@ pack builder create builder \
${SOURCE_PATH}/builder.toml
cd ..

print::message_with_color "${CYAN}" "## Test case:: Build the ubi base stack image. ##"
print::message_with_color "${CYAN}" "Test case:: Build the ubi base stack image. "
cd ubi-base-stack

export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock
Expand Down

0 comments on commit 1caaef2

Please sign in to comment.