CI/CD: image variants and the cache warm now run in one GitLab job
まだ誰も着手していません。
評価
- 難易度
- 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行目の表現も確認してください。3つのページがそれぞれトラックごとに1つのジョブを説明していれば完了です。リリースへのリンクは、テンプレートが公開されるまで待ちます。
索引モデルが 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.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 1時間 20分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
components-web-app/docs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
components-web-app/docs#256 · コメント 1 件 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
components-web-app/docs#253 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
components-web-app/docs#255 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
components-web-app/docs#254 · コメント 1 件 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
components-web-app/docs#237 · コメント 2 件 ·
components-web-app/docs の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
521xueweihan/HelloGitHub#4025 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
voidzero-dev/void#478 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
Small-tailqwq/dsh-deep-whale#207 ·
メンテナーはふだん 1 日以内に返信
-
The inspector never shows the instances field, so scaling out is unreachable対応中かも @Mrkewl が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
xevrion/breakscale#96 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Flux159/mcp-server-kubernetes#384 ·