๐๐จ๐ง๐ญ๐ข๐ง๐ฎ๐จ๐ฎ๐ฌ ๐๐ง๐ญ๐๐ ๐ซ๐๐ญ๐ข๐จ๐ง (Build/Test/Merge) โก ๐๐จ๐ง๐ญ๐ข๐ง๐ฎ๐จ๐ฎ๐ฌ ๐๐๐ฅ๐ข๐ฏ๐๐ซ๐ฒ (Automatically release to repository) โก ๐๐จ๐ง๐ญ๐ข๐ง๐ฎ๐จ๐ฎ๐ฌ ๐๐๐ฉ๐ฅ๐จ๐ฒ๐ฆ๐๐ง๐ญ (Automatically deploy to production)
๐๐จ๐ง๐ญ๐ข๐ง๐ฎ๐จ๐ฎ๐ฌ ๐๐ง๐ญ๐๐ ๐ซ๐๐ญ๐ข๐จ๐ง
To describe continuous delivery and continuous deployment, weโll start with continuous integration. Under continuous integration, the develop phaseโbuilding and testing codeโis fully automated. Each time you commit code, changes are validated and merged to the master branch, and the code is packaged in a build artifact.
๐๐จ๐ง๐ญ๐ข๐ง๐ฎ๐จ๐ฎ๐ฌ ๐๐๐ฅ๐ข๐ฏ๐๐ซ๐ฒ
Continuous delivery automates the next phase: deliver. Under continuous delivery, anytime a new build artifact is available, the artifact is automatically placed in the desired environment and deployed.
๐๐จ๐ง๐ญ๐ข๐ง๐ฎ๐จ๐ฎ๐ฌ ๐๐๐ฉ๐ฅ๐จ๐ฒ๐ฆ๐๐ง๐ญ
With continuous deployment, you automate the entire process from code commit to production. The trigger between the develop and deliver phases is automatic, so code changes are pushed live once they receive validation and pass all tests