Skip to content

Commit

Permalink
fixup!chore(github-action): build cnb image - fail late mode - fix
Browse files Browse the repository at this point in the history
  • Loading branch information
o-orand committed Sep 30, 2024
1 parent f8cb10d commit cc7c224
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-using-cnb-buildpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,16 @@ jobs:
function check_service() {
type="$1"
cmd="$2"
cmd_prefix="$3"
if [ -z $cmd_prefix ];then
cmd_prefix="curl"
fi
exit_status=0
echo "$type using > $cmd <"
if $cmd;then
echo ""
echo "$type failed: retry in verbose mode"
$cmd -vvv
$cmd_prefix -vvv ${cmd##$cmd_prefix}
exit_status=1
else
echo ""
Expand Down

0 comments on commit cc7c224

Please sign in to comment.