Ci/frontend ecr build pre#1
Merged
Merged
Conversation
Contributor
|
lo fallos son de test, no hacemos test para desarrollos propios. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumen
Se añade workflow de GitHub Actions para construir y publicar la imagen Docker del frontend en Amazon ECR usando el estándar de etiquetado inmutable
sha-${{ github.sha }}.Este PR no despliega en Kubernetes ni modifica infraestructura. El despliegue se gestionará desde
infra-apps, que queda como fuente de verdad de los manifests/Helm values por entorno.Cambios incluidos
Nuevo workflow de build/push para frontend.
Uso de OIDC para autenticación contra AWS mediante
AWS_ROLE_ARN_PRE.Instalación y build del proyecto frontend.
Build de imagen Docker del frontend.
Push a ECR PRE:
gesplan-pre/vestimenta-frontendEtiquetado de imagen con:
sha-${{ github.sha }}Validación en PR sin push a ECR.
Sin uso de credenciales AWS estáticas.
Sin uso de
latestcomo tag de despliegue.Qué NO hace este PR
helm upgrade.kubectl.Motivo
Se separa el ciclo de vida de la aplicación en dos fases:
infra-apps: decidir qué tag se despliega en PRE/PRO mediante Helm y workflows controlados.Esto mejora la trazabilidad, evita despliegues implícitos desde el repo de código y permite promocionar versiones concretas usando tags inmutables.
Validaciones esperadas
preo ejecución manual, debe publicar una imagen con tagsha-<commit>./api.Revisión solicitada
Validar especialmente:
npm ci,npm run build, etc.).