知识卡片
部署脚本也是受控代码
复杂部署需要精确编排,脚本化可减少人工重复错误。脚本本身仍是软件,应文档化、评审、测试并版本控制;执行引擎只是自动执行,并不能证明操作正确。将发布流程与应用版本关联,有助可追溯与重现。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 可部署性 · 查看原书依据
For this reason deployment is often scripted. These deployment scripts should be treated like code—documented, reviewed, tested, and version controlled. A scripting engine executes the deployment script automatically, saving time and minimizing opportunities for human error.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第5章《可部署性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch05.html)
- 结论依据:原文的定义、机制或比较支持“复杂部署需要精确编排,脚本化可减少人工重复错误”;正文保留其条件与取舍。
- 原始内容:For this reason deployment is often scripted. These deployment scripts should be treated like code—documented, reviewed, tested, and version controlled. A scripting engine executes the deployment script automatically, saving time and minimizing opportunities for human error.