Skip to content

Commit

Permalink
fixup!chore(github-action): build cnb image - fail late mode - remove…
Browse files Browse the repository at this point in the history
… retry in verbose mode
  • Loading branch information
o-orand committed Sep 30, 2024
1 parent 332e832 commit dc032cc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build-using-cnb-buildpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,13 @@ jobs:
echo "Checking redis server $SERVICE_HOST : PING ==> $(redis-cli -a ${SERVICE_PASSWORD} -h ${SERVICE_HOST} -p ${SERVICE_PORT} --no-auth-warning ping)"
function check_service() {
set -x
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"
echo $cmd_prefix -vvv ${cmd##$cmd_prefix}
echo "$type failed"
exit_status=1
else
echo ""
Expand Down

0 comments on commit dc032cc

Please sign in to comment.