知识卡片

普通读书笔记卡 · 529.e

仓库内分发构建

理解等级:中级

直接从源码仓库分发时,要用提交 ID 或唯一标签把构建作为明确对象传到后续阶段。另一种办法是一环境一分支,用合并表示晋级,控制器据环境分支持续同步。无论物理方式如何,关键都是知道当前部署的是哪个离散版本,而非含糊的最新代码。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 构建与分发基础设施代码 · 查看原书依据

      Managing an infrastructure build by reference requires using a unique identifier for the build in the source repository. The identifier could be one that the repository assigns to the changeset, such as the Git commit ID. Or you could tag the code commit with an

    参考来源

    - 位置:《Infrastructure As Code》第15章《构建与分发基础设施代码》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch15.html) - 结论依据:原文在该段定义概念并解释相关过程或限制,支撑“直接从源码仓库分发时,要用提交 ID 或唯一标签把构建作为明确对象传到后续阶段”这一核心结论;正文的用途与边界据同小节后续论述整理。 - 原始内容:Managing an infrastructure build by reference requires using a unique identifier for the build in the source repository. The identifier could be one that the repository assigns to the changeset, such as the Git commit ID. Or you could tag the code commit with an