Skip to content

Commit

Permalink
fixup!chore(github-action): build cnb image - fail late mode - extrac…
Browse files Browse the repository at this point in the history
…t return code
  • Loading branch information
o-orand committed Oct 1, 2024
1 parent 3b6377b commit 07e226d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-using-cnb-buildpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,14 @@ jobs:
}
export APP="http://127.0.0.1:8080"
exit_status=0
! create_service="$(check_service "Create" "curl -sSLf -X PUT $APP/foo -d data=bar" )"
! get_service="$(check_service "Get" "curl -sSLf -X GET $APP/foo" )"
! delete_service="$(check_service "Delete" "curl -vvv -sSL -X DELETE $APP/foo" )"
! create_service_output="$(check_service "Create" "curl -sSLf -X PUT $APP/foo -d data=bar" )"
get_service=$?
! get_service_output="$(check_service "Get" "curl -sSLf -X GET $APP/foo" )"
create_service=$?
! delete_service_output="$(check_service "Delete" "curl -vvv -sSL -X DELETE $APP/foo" )"
delete_service=$?
echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
echo "create_service: $create_service"
Expand Down

0 comments on commit 07e226d

Please sign in to comment.