持续交付和持续部署都自动化了发布流程,并共享缩写 CD,但它们在一个关键方面有所不同:持续交付使代码准备好通过手动发布触发器进行部署,而持续部署会自动发布,没有手动步骤。
Continuous Delivery — 自动化、手动触发
text
CONTINUOUS DELIVERY: every change that passes the pipeline is ready to deploy, but
the actual production release is triggered MANUALLY (a human decision):
Code → build → test → (auto-deploy to staging) → [MANUAL approval] → deploy to prod
→ code is ALWAYS in a deployable state; releasing is "one click" when you choose
→ keeps a human gate before production (approval, timing control)
