Skip to content

Demo for CI CD pipeline using circleci and deployment on Heroku after approval by project adminstrator

Notifications You must be signed in to change notification settings

rashidmajeed/circleci-pipeline-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI-CD Pipeline for Nodejs, Circle CI, Heroku

This demo is practical demonstration of dockerizing app, continous integration using circle ci and deploy on heroku.

Flow of a process

A picture is a graphical representation how git is integrated with circle ci and deploy built and tested image to heroku.

nodejs-circlci-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

Pipeline Behavior on Triggering on code commit by Developer/Tester

  • On the Failure of Test pipeline failed and stop further execution as shown below:

Screenshot from 2022-03-25 16-12-04

  • After Fixing the Tests pipeline runing for approval by authorized person for deployment as shown below:

Screenshot from 2022-03-25 16-17-41

  • Pipeline succeeded and after build and test process image from dockerhub is deployed on Heroku server as shown below:

Screenshot from 2022-03-25 16-18-20

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.

About

Demo for CI CD pipeline using circleci and deployment on Heroku after approval by project adminstrator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published