Skip to content

Commit

Permalink
fixup!chore(github-action): build cnb image - rework vcap services pa…
Browse files Browse the repository at this point in the history
…rsing - refactor code - fix typo 3
  • Loading branch information
o-orand committed Sep 30, 2024
1 parent 8fd7475 commit d5881ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-using-cnb-buildpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
name: Testing app
shell: bash
run: |
./setup-prerequisite.sh
./setup-prerequisite.sh #
./vcap-services-template-reformat.sh
cat vcap-service.env
Expand Down Expand Up @@ -116,8 +116,8 @@ jobs:
if nc -vz 127.0.0.1 8080;then echo "port 8080 available";else echo "port 8080 UNAVAILABLE";exit_status=1;fi
if nc -vz 127.0.0.1 ${SERVICE_PORT};then echo "port ${SERVICE_PORT} available";else echo "port ${SERVICE_PORT} UNAVAILABLE";exit_status=1;fi
echo "Checking redis server 127.0.0.1 : PING ==> $(redis-cli -a ${SERVICE_PASSWORD} -h 127.0.0.1 -p ${SERVICE_PORT} ping)"
echo "Checking redis server $CONTAINER_REDIS_IP : PING ==> $(redis-cli -a ${SERVICE_PASSWORD} -h $CONTAINER_REDIS_IP -p ${SERVICE_PORT} ping)"
set -x
echo "Checking redis server $SERVICE_HOST : PING ==> $(redis-cli -a ${SERVICE_PASSWORD} -h ${SERVICE_HOST} -p ${SERVICE_PORT} ping)"
function check_service() {
type="$1"
cmd="$2"
Expand Down

0 comments on commit d5881ac

Please sign in to comment.