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

Abierto
#269 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
68/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
azure, github-actions

Línea de trabajo

Comienza con Exercise 8 y el next-steps.md incluido en el repositorio; después ejecuta azd init --from-code y azd infra gen para comparar infra/main.bicep, infra/resources.bicep y los módulos con el flujo documentado. Documenta una versión de azd probada, la validación del servicio, las indicaciones estructurales sobre API_SERVER_URL, la validación de Bicep y la verificación del workflow generado y de los endpoints desplegados.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Python
Estrellas
80
Forks
161
Merge medio
31 min
PR fusionados (30 d)
1

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de github-samples/pets-workshop

Todos los issues de github-samples/pets-workshop

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.