This demo is practical demonstration of dockerizing app, continous integration using circle ci and deploy on heroku.
A picture is a graphical representation how git is integrated with circle ci and deploy built and tested image to heroku.
SETUP
- (Create a new project from template)
- Auth with CircleCI
- Pick project from list
- Docker account & Heroku account & app configured
- Set up environment values:
- $DOCKER_LOGIN
- $DOCKER_PASSWORD
- $HEROKU_APP_NAME
- $HEROKU_API_KEY
- $SNYK_TOKEN
- On the Failure of Test pipeline failed and stop further execution as shown below:
- After Fixing the Tests pipeline runing for approval by authorized person for deployment as shown below:
- Pipeline succeeded and after build and test process image from dockerhub is deployed on Heroku server as shown below:
These workflow images can be really helpful for learner to know about how the whole pipeline process is executed.
Hope this will be good learning guide.