feat(ci): 镜像并行构建 - 三镜像并行构建,构建时间从17min压缩到8-10min #314
Reference in New Issue
Block a user
Delete Branch "feat/ci-parallel-build"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
改动说明
核心改造
将 Staging 和 Production 的镜像构建从「单Job串行构建3个镜像」改为「3个并行Job各构建1个镜像」。
Staging构建改造:
build-staging-api/build-staging-worker/build-staging-web三个并行Jobdeploy-staging不再构建镜像,只负责:pull镜像 → tag为:staging → push → smoke test → 通知Production构建改造:
build-production-api/build-production-worker/build-production-web三个并行Jobdeploy-production的依赖从build-production-runtime-images改为3个build job优化点
8min),从17min压缩到~8-10min资源影响
932b43a689toc34c1634fc