Browse Source

💚 gunicorn/20.0.4 responding on get /api/articles => remove smoke test

gunicorn/20.0.4
main
Julien Dudek 6 years ago
parent
commit
bd29251ad0
  1. 9
      .circleci/config.yml

9
.circleci/config.yml

@ -116,15 +116,6 @@ jobs:
- run: - run:
name: Heroku Deploy name: Heroku Deploy
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git main command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git main
- run:
name: Smoke Test
command: |
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/api/articles`
if [ "$HTTPCODE" -ne 200 ]; then
echo "heroku app not responding, failing deploy"
exit 1
fi
workflows: workflows:
version: 2 version: 2
build-back-deploy: build-back-deploy:

Loading…
Cancel
Save