CI/CD: image variants and the cache warm now run in one GitLab job
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 62/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- gitlab, shell
- 领域
- ci-cd, documentation
调研方向
阅读 bin/devops/k8s.sh 中的 image_variants_and_warm 函数,并查看 issue 中的 GitLab 任务说明,以确认合并后的任务名称。然后更新 content/6.deployment/3.ci-cd.md 第 246 行和第 268 行,将分开的 variants 和 warm 任务名称替换为合并后的任务 image variants and warm <track>。检查 content/6.deployment/4.variables.md 第 376 行的措辞。当三个页面都描述每个 track 只有一个任务时即完成;发布链接需等待模板发布后再更新。
由索引模型根据 Issue 内容生成。
描述
From components-web-app/components-web-app#160 (commit 5f987be09ccf7ecfda261be61662020f7d72ea67, in the template's Unreleased section, so the next release after 2.0.0-alpha.30).
On GitLab, the image variants <track> and warm cache <track> jobs are now one job per track, image variants and warm <track> (the image_variants_and_warm function in bin/devops/k8s.sh). A separate warm job waited about 50 s for a runner after every deploy.
- It runs the variants first and then the warm, in the same order as before (the warm must never come first, #153).
- Each half keeps its switch:
CWA_CI_IMAGE_VARIANTS_*andCWA_CI_WARM_CACHE_*, with production on unless"false"and the other tracks off unless"true". The job runs when either is on. - If one half fails, the other still runs. Either failure fails the job, which is
allow_failure, so a live deploy is never marked failed. - The
performance audit <track>jobs nowneeds:the combined job. - GitHub is unchanged: its steps already run one after another in the same job.
Pages to update:
content/6.deployment/3.ci-cd.md:246: listsimage variants review/staging/canary/productionas their own jobs.content/6.deployment/3.ci-cd.md:268: says the warm runs "as its own job" and lists thewarm cache <track>jobs.- Check
content/6.deployment/4.variables.md:376(CWA_CI_PRODUCTION_DISABLEDremoves "image variants, cache warm … jobs"); the wording can stay, but there's now one job for both. - Add the release link once the template version is released.
Upgrade note for downstream projects: copy .gitlab-ci.yml and bin/devops/k8s.sh. A project job that needs: either old job name must use the new name.
- 主要语言
- Vue
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
components-web-app/docs 的其他 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 70/100
components-web-app/docs#230 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
components-web-app/docs#227 ·
-
难度 3/5 半天 新手友好度 55/100
components-web-app/docs#233 ·
-
难度 3/5 半天 新手友好度 55/100
components-web-app/docs#232 ·
-
documentation
难度 3/5 半天 新手友好度 45/100
components-web-app/docs#231 ·
查看 components-web-app/docs 的全部 Issue
相似的 Issue
-
enhancement priority normal
难度 2/5 1-3 小时 新手友好度 62/100
nextcloud/context_agent#270 ·
维护者通常 1 天内回复
-
area: ci complexity: trivial impact: low
难度 1/5 1 小时以内 新手友好度 72/100
ueberdosis/tiptap#8521 ·
维护者通常 1 天内回复
-
internal os specific
难度 2/5 1-3 小时 新手友好度 65/100
frostney/GocciaScript#1688 ·
维护者通常 1 天内回复
-
benchmark: `make setup` fails because audit-exporter builds with Go 1.25.0 while go.mod requires 1.26.0可能已有人在做 @xsvm 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 84/100
volcano-sh/volcano#6097 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
aristanetworks/avd#7579 ·
维护者通常 1 天内回复