知识卡片
环境晋级更新版本引用
应用仓的构建输出带版本,流水线可用模板与新版本生成部署清单,向环境仓发 PR。环境按目录区分时,晋级可把已验证版本的配置复制到下一个环境目录。一仓便于集中追踪,也可能因自动 PR 并发而冲突;划分配置仓可降低冲突,但提高权限与同步工具的管理工作。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- API 制品的构建与配置部署 9.4 Deploy and Test stage: Deploying API Gateway configuration · 查看原书依据
The second is how to promote the configuration across environments. One approach is to keep different environment configurations on different Git branches, but this involves a lot of complexity in tracking changes across branches. A simpler approach is to maintain a folder of configurations for each environment.
参考来源
- 位置:《Automating API Delivery APIOps with OpenAPI》《第 09 章 API 制品的构建与配置部署》(9.4 Deploy and Test stage: Deploying API Gateway configuration;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-9.xhtml#p199)
- 结论依据:原文对比分支、按环境目录和多个环境仓的管理方式。
- 原始内容:The second is how to promote the configuration across environments. One approach is to keep different environment configurations on different Git branches, but this involves a lot of complexity in tracking changes across branches. A simpler approach is to maintain a folder of configurations for each environment.