full-day workshop: Align Azure deployment steps with current azd infrastructure generation

Đang mở
#269 1 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
68/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ệ
azure, github-actions

Hướng nghiên cứu

Bắt đầu với Exercise 8 và next-steps.md đã được đưa vào repository, sau đó chạy azd init --from-code và azd infra gen để so sánh infra/main.bicep, infra/resources.bicep và các module với quy trình được ghi chép. Ghi lại phiên bản azd đã được kiểm thử, việc xác thực service, hướng dẫn mang tính cấu trúc về API_SERVER_URL, việc xác thực Bicep, cũng như việc kiểm tra workflow được tạo và các endpoint đã triển khai.

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

Mô tả

priority: P0

Problem

Exercise 8 runs azd init --from-code and immediately tells learners to edit infra/resources.bicep. That file is not tracked in the template. The checked-in next-steps.md, generated for the current azd flow, states that azd initially generates infrastructure in memory and that learners must run azd infra gen to persist infra/main.bicep, infra/resources.bicep, and modules.

The exercise therefore assumes a generated file that may not exist. It also relies on a fixed location near line 130 and specific client/server output names, although generated azd output can vary by version and detection result.

Suggested change

Pin or state a tested azd version and document the complete, reproducible path that creates editable Bicep before asking learners to modify it.

Acceptance criteria

  • A fresh run produces infra/resources.bicep before the edit step, with any required azd infra gen command documented.
  • The supported/tested azd version is stated.
  • Learners validate the services detected by azd init --from-code.
  • The API_SERVER_URL edit identifies the correct resource structurally rather than by approximate line number.
  • Bicep validation runs before azd pipeline config.
  • The generated workflow and deployed endpoints are verified using the documented flow.
Ngôn ngữ chính
Python
Star
80
Fork
161
Merge trung bình
31 phút
Pull request đã merge (30 ngày)
1

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 github-samples/pets-workshop

Tất cả issue của github-samples/pets-workshop

Issue tương tự

Thêm issue về Python

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.