Browse Source

circleci : removed docker publish and added smoke test

main
Francois Lannoy 6 years ago
parent
commit
2cef5089b6
  1. 16
      .circleci/config.yml

16
.circleci/config.yml

@ -124,7 +124,12 @@ jobs:
command: echo todo && false
- run:
name: Smoke Test
command: echo todo && false
command: |
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/`
if [ "$HTTPCODE" -ne 200 ];then
echo "heroku app not responding, failing deploy"
exit 1
fi
workflows:
version: 2
@ -140,15 +145,6 @@ workflows:
- lint:
requires:
- build
- docker-build-and-push:
requires:
- build
- lint
- back-test-e2e
- back-test-unit
filters:
branches:
only: main
- back-deploy-heroku:
requires:
- build

Loading…
Cancel
Save