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

[Blocker] Deploy through a staging slot with smoke test, rollback and OIDC

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
azure, github-actions
Lĩnh vực
ci-cd, cloud, devops, security

Hướng nghiên cứu

Bắt đầu với .github/workflows/azure-app-service.yml:98-103 và lần theo workflow triển khai Azure App Service hiện tại. Kiểm tra cách staging slot, smoke test /healthz, việc render trang đã xác thực, slot swap, đường dẫn rollback và đăng nhập OIDC kết hợp với nhau. Hoàn thành có nghĩa là các lần triển khai kiểm thử một slot trước khi swap, rollback sử dụng một swap và không còn Azure credential dài hạn nào trong repository secrets.

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

Mô tả

enhancement

Tier 1 — release blocker

Problem

Production deploys are single-shot: the package goes straight to the live site with no staging slot, no smoke test, no rollback path, and authentication uses a long-lived publish-profile secret rather than federated (OIDC) credentials.

Evidence
  • .github/workflows/azure-app-service.yml:98-103 — azure/webapps-deploy with publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
Proposed fix
  1. Deploy to a staging slot.
  2. Smoke test the slot (/healthz, plus one authenticated page render).
  3. Swap slots on success; leave the slot in place for instant rollback.
  4. Replace the publish profile with azure/login using OIDC federated credentials and delete the secret.
Acceptance criteria
  • Deploys land on a slot first and swap only after the smoke test passes
  • Rollback is a slot swap, not a redeploy
  • No long-lived Azure credential in repository secrets
Ngôn ngữ chính
HTML
Star
10
Fork
0
Merge trung bình
2 giờ 35 phút
Pull request đã merge (30 ngày)
21

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

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 kasuken/LearnStack

Tất cả issue của kasuken/LearnStack

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.