Continuous Integration and Continuous Deployment is essential for companies that want their developers to be able to deploy code quickly, efficiently, and with minimal application downtime.
In this workshop, you will get a taste of what it takes to setup a CI/CD pipeline using CircleCI and Heroku. For the workshop, we will provide you with a working application with a functional test suite.
By the end of this workshop, you will be able to:
- Manually run the application test suite
- Manually deploy the application to Heroku
- Configure CircleCI to run your test suite
- (Stretch) Configure CircleCI to deploy your app to Heroku if all tests are passing
heroku create git remote -v git push heroku master
- Fork and clone this repo
- Sign up for CircleCI with your GitHub account
- Connect Desired Repo
- Create .circleci directory
- Create
config.yml
file in .cirecleci directory - Configure files
- Copy and paste
config_template.yml
- Change docker image type to cypress/base:8
- Add the commands you use locally
- Commit and push; check tests on CircleCI
- Copy and paste