Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

CI/CD: deploys run a pinned image promoted to :staging / :canary / :production (template #164)

クローズ
#235 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, github-actions, helm, kubernetes

調査の方向性

The payload names no doc file except production.yml, the workflow it says builds nothing. Find the CI/CD docs that describe image tags, build pushes and deploys, then compare them with the behaviour listed in the issue. Done when the docs state the build tag and digest, the track tags, the IfNotPresent pull policy, the rollback paths and the packages: write requirement, and no page still says pods run :main with Always.

索引モデルが issue の本文から書いたものです。

説明

From components-web-app e5b2a29 (#164). Where the CI/CD docs describe images and tags:

  • Builds push only the branch tag (php:main, app:main) and record the pushed digest.
  • A deploy copies that exact build to its track's tag (:staging, :canary, :production) through the registry API, and runs <tag>@<digest> with imagePullPolicy: IfNotPresent. Review apps stay on their branch tag, pinned by digest.
  • Why: pods used to run :main with Always. A restart, eviction or scale-up, or the nightly orphan scan (which migrates on start), could then run an undeployed build against the live database.
  • Rollback: re-run an older pipeline's deploy job, or use helm rollback. Both restore the exact digest.
  • GitHub: the deploy jobs need packages: write. production.yml builds nothing, so it pins :main's digest at deploy time.
  • The registry keeps a fixed set of tags (main, staging, canary, production, plus review branches). There are no tags per commit.
主要言語
TypeScript
スター
0
フォーク
0
平均マージ
1時間 20分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

components-web-app/docs のほかの issue

components-web-app/docs の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。