Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#235 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, github-actions, helm, kubernetes
Lĩnh vực
ci-cd, devops, documentation

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Vue
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của components-web-app/docs

Tất cả issue của components-web-app/docs

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.