知识卡片

普通读书笔记卡 · 1334.b.7

流水线参数避免膨胀

理解等级:中级

把参数放在流水线阶段配置中很方便,且可独立修改生产配置。但参数越多,越难脱离流水线开发、测试和抢修,流水线就成为恢复前置依赖。阶段只保留少量必要参数,把大部分执行逻辑留在可独立调用的脚本中。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 配置基础设施栈实例 · 查看原书依据

      Setting stack instance variables in the pipeline configuration couples configuration values to your delivery implementation. The more configuration values you define in your pipeline, the harder it is to run the stack tool outside the pipeline. Your pipeline can become a single point of failure—you may not be able to fix, recover, or rebuild an

    参考来源

    - 位置:《Infrastructure As Code》第8章《配置基础设施栈实例》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch08.html) - 结论依据:原文说明把参数放在流水线阶段配置中很方便,且可独立修改生产配置;本卡据此解释其用途及适用边界。 - 原始内容:Setting stack instance variables in the pipeline configuration couples configuration values to your delivery implementation. The more configuration values you define in your pipeline, the harder it is to run the stack tool outside the pipeline. Your pipeline can become a single point of failure—you may not be able to fix, recover, or rebuild an