CI/CD Cheat Sheet
- Ci/CD is automated methodologies that prepare, test, deliver or deploy code onto a servers
- Production (prod) an environment which is intended to be used by paying users
- Staging an environment which is intended to simulate a production environment for last stage debugging
- Continuous Integration (CI)
- Automating the review of developer’s code.
- eg. Run test suites with a build server to eg. CodeBuild
- Continuous Delivery (CD)
- Automating the preparation of the developer code for release
- Eg. Run test suites with a build server to eg. CodeBuild and if tests pass create pull request or merge branch into staging
- Continuous Deployment (CD)
- Automatically deploying developers code which ready for release
- Eg. Automatically merge pull requests will all tests passing and deploying into production.
- Continuous Deployment can refer to the entire pipeline eg. CodePipeline using CodeCommit + CodeBuild +CodeDeploy