Skip to content

Commit

Permalink
fixup!test: setup mongodb server - debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
o-orand committed Sep 25, 2024
1 parent 44aa805 commit f0d5ccd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-using-cnb-buildpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ jobs:
cat vcap-services-template.sh|envsubst >vcap-service.env
cat vcap-service.env
echo "Starting sample app"
#docker run -d -e PORT=80 --env-file vcap-service.env -p 8080:80 --name "cnb-app-container" ${{env.CNB_IMAGE_NAME}}
docker run -e PORT=80 --env-file vcap-service.env -p 8080:80 --name "cnb-app-container" ${{env.CNB_IMAGE_NAME}}
docker logs -f cnb-app-container &> cnb-app-container.log &
docker run -d -e PORT=80 --env-file vcap-service.env -p 8080:80 --name "cnb-app-container" ${{env.CNB_IMAGE_NAME}}
#docker run -e PORT=80 --env-file vcap-service.env -p 8080:80 --name "cnb-app-container" ${{env.CNB_IMAGE_NAME}}
docker logs -f cnb-app-container --follow &> cnb-app-container.log &
docker ps -a
export APP="http://127.0.0.1:8080"
exit_status=0
Expand All @@ -93,6 +93,7 @@ jobs:
cat cnb-app-container.log
echo "Dumping logs using docker logs cnb-app-container"
docker logs cnb-app-container
ls -lrt
exit $exit_status
-
name: Tag version ${{github.ref_name}}
Expand Down

0 comments on commit f0d5ccd

Please sign in to comment.