← 返回刚才阅读的位置

知识卡片

结构图卡 · 1903.c.4

构建与部署分层

理解等级:中级

基础设施代码处理可分为组装、编译和执行。组装解析代码库、模块和工具插件,产出与实例无关的构建;编译加入某实例的配置、外部资源引用及工具状态配置,生成期望状态模型;执行才对照真实资源调用平台 API。明确这个边界,才能避免把实例配置混入通用发布包。

结构图:

flowchart TD
 A[源代码与构建依赖] --> B[组装通用构建]
 B --> C[加入实例部署依赖]
 C --> D[编译期望状态]
 D --> E[调用平台执行变更]
这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

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

      The Assemble step takes code and build-time dependencies and turns them into a build. The build could be the distributable release candidate, or it could be files in a temporary working folder. The key attribute of the build for the purposes of this discussion is

    参考来源

    - 位置:《Infrastructure As Code》第15章《构建与分发基础设施代码》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch15.html) - 结论依据:原文在该段定义概念并解释相关过程或限制,支撑“基础设施代码处理可分为组装、编译和执行”这一核心结论;正文的用途与边界据同小节后续论述整理。 - 原始内容:The Assemble step takes code and build-time dependencies and turns them into a build. The build could be the distributable release candidate, or it could be files in a temporary working folder. The key attribute of the build for the purposes of this discussion is