devops
cea41ce428
fix: conectar el frontend al catálogo real de Medusa
...
El Deployment frontend-deploy no tenía ninguna variable de entorno, así
que HEADLESS_PROVIDER quedaba undefined y el provider caía siempre en
mockCatalogProvider (data/products.json estático), aunque
medusaCatalogProvider ya estaba implementado y listo en
lib/headless/providers/medusa.ts.
Se agrega HEADLESS_PROVIDER=medusa, MEDUSA_BACKEND_URL apuntando al
Service interno medusa-svc:9000 (evita depender de Cloudflare/NPM en
cada render SSR), y envFrom hacia el secret commerce-storefront
(MEDUSA_PUBLISHABLE_KEY) ya creado en el namespace ecommerce.
No se bumpea el tag de imagen: build.yaml excluye explícitamente los
cambios de frontend.yaml del trigger de build, y la versión la gestiona
la propia CI vía sed sobre este archivo.
2026-08-12 00:12:10 -05:00
devops
381e6ab6ab
docs(playbooks): documentar incidente medusa-deploy atascado en Init (2026-08)
...
Postmortem del incidente resuelto en e9c93bf : sintoma reportado como
CrashLoopBackOff que en realidad era Init:0/2 indefinido (0 restarts).
Documenta las hipotesis descartadas en orden (secret/DATABASE_URL,
NetworkPolicy, salud de Postgres, ResourceQuota, DNS, MTU/PMTUD
cross-node), la causa raiz (pg_isready no parseaba ?sslmode=disable en
la URI, exit 3 "no attempt"), el fix con flags explicitos, y la deuda
tecnica pendiente en la branch fix/medusa-wait-for-postgres.
2026-08-10 00:47:23 -05:00
devops
e9c93bfb82
fix(medusa): usar flags explicitos en pg_isready en vez de DATABASE_URL crudo
...
El init container wait-for-postgres pasaba $DATABASE_URL completo a
pg_isready. Al agregarle ?sslmode=disable (via create-commerce-secrets.sh),
pg_isready fallaba con "no attempt" (exit 3, conninfo invalida para su
parser de URI) y el pod quedaba atascado en Init indefinidamente, sin
llegar nunca al CrashLoopBackOff visible. Postgres, DNS, Endpoints y
NetworkPolicy estaban sanos; el fallo era puramente del parseo de la URI.
Se reemplaza por -h/-p/-U/-d explicitos (host y puerto fijos del Service,
usuario y db ya disponibles via envFrom), asi el init container queda
inmune a query params futuros en DATABASE_URL.
2026-08-10 00:27:10 -05:00
devops
f25b10a2f9
Merge pull request 'fix(medusa): forzar podAffinity con commerce-postgres para evitar blackhole MTU cross-node' ( #3 ) from fix/medusa-postgres-node-affinity into main
2026-08-09 07:36:33 +00:00
devops
7a83ed61b9
fix(medusa): forzar podAffinity con commerce-postgres para evitar blackhole MTU cross-node
...
Diagnostico: pg_isready y el cliente pg de Medusa fallan de forma
consistente (100%, 186/186 intentos) cuando el pod queda agendado en un
nodo distinto al de commerce-postgres-0. TCP handshake (nc/ping) funciona
cruzando nodos, pero el primer paquete de datos real de la sesion nunca
llega - blackhole de PMTU Discovery entre los nodos del cluster k3d
(flannel VXLAN / MTU del bridge Docker subyacente).
Se agrega podAffinity requiredDuringSchedulingIgnoredDuringExecution
(no nodeSelector fijo, mantiene portabilidad) para que medusa-deploy
siempre comparta nodo con commerce-postgres-0 y evite cruzar el
blackhole. Es un workaround, no el fix de raiz: documentado en
docs/known-issues.md junto con el TODO de ajustar el MTU del cluster
a 1400.
2026-08-09 02:34:15 -05:00
devops
987ef04b0d
Merge pull request 'fix(medusa): agregar initContainer wait-for-postgres para evitar CrashLoopBackOff por fallo transitorio de red en arranque' ( #2 ) from fix/medusa-wait-for-postgres into main
2026-08-09 06:42:39 +00:00
devops
f4ad14028e
fix(medusa): agregar initContainer wait-for-postgres para evitar CrashLoopBackOff por fallo transitorio de red en arranque
2026-08-09 01:29:43 -05:00
devops
025f16a17b
Merge pull request 'fix(gitops): unificar repoURL a https en ecommerce-app' ( #1 ) from fix/repo-url-consistency into main
2026-08-09 05:52:14 +00:00
devops
a90c0a75a2
fix(gitops): usar https en repoURL de ecommerce-app para consistencia con application.yaml
2026-08-09 00:10:14 -05:00
devops
dbd955d925
Update workloads/commerce-backend/.dockerignore
Build and Push Medusa / Construir y publicar Medusa (push) Successful in 2m7s
2026-08-02 06:49:07 +00:00
devops
7529b5756e
Update workloads/commerce-backend/Dockerfile
Build and Push Medusa / Construir y publicar Medusa (push) Successful in 16m23s
2026-08-02 06:48:40 +00:00
devops
d3ab59aa31
Update workloads/commerce-backend/.dockerignore
Build and Push Medusa / Construir y publicar Medusa (push) Canceled after 0s
2026-08-02 06:14:47 +00:00
devops
638d8328e4
Update workloads/commerce-backend/Dockerfile
Build and Push Medusa / Construir y publicar Medusa (push) Failing after 22m12s
2026-08-02 06:14:26 +00:00
devops
67f41ccdbb
fix(commerce): add TypeScript runtime for Medusa build
Build and Push Medusa / Construir y publicar Medusa (push) Failing after 10m24s
2026-08-01 02:32:05 -05:00
devops
7939dc492c
fix(ci): stabilize Medusa dependency installation
Build and Push Medusa / Construir y publicar Medusa (push) Failing after 4m59s
2026-08-01 02:21:44 -05:00
devops
eec4ce21cb
ci(commerce): retry Medusa build
Build and Push Medusa / Construir y publicar Medusa (push) Failing after 12m6s
2026-08-01 01:29:14 -05:00
devops
7f222b118c
chore(commerce): restore MinIO manifest permissions [skip ci]
2026-08-01 00:56:05 -05:00
devops
c865063f24
fix(commerce): use published MinIO image and rebuild Medusa
Build and Push Medusa / Construir y publicar Medusa (push) Failing after 1m11s
2026-08-01 00:49:49 -05:00
devops
8100b8b1fa
feat(commerce): activate Medusa phase 1 stack
2026-08-01 00:29:32 -05:00
devops
b58fbc2c19
chore: release v1.0.77 [skip ci]
2026-08-01 04:36:52 +00:00
devops
aa857bc2ae
fase 1
Build and Push Frontend / Construir y Subir Imagen (push) Successful in 9m23s
Build and Push Medusa / Construir y publicar Medusa (push) Failing after 15m12s
2026-07-31 23:27:01 -05:00
devops
4b85fccc97
chore: release v1.0.75 [skip ci]
2026-07-27 02:04:25 +00:00
devops
bacabe21db
fix(ci): validate active catalog navigation components
Build and Push Frontend / Construir y Subir Imagen (push) Successful in 5m36s
2026-07-26 20:54:59 -05:00
devops
097bcc1c5b
Update .gitea/workflows/build.yaml
Build and Push Frontend / Construir y Subir Imagen (push) Successful in 5m13s
2026-07-27 01:53:41 +00:00
devops
47bba80cb5
fix(frontend): synchronize catalog navigation with URL
Build and Push Frontend / Construir y Subir Imagen (push) Failing after 29s
2026-07-26 20:36:53 -05:00
devops
3421f856c7
Update .gitea/workflows/build.yaml
...
Conservé:
actions/checkout@v3
docker/login-action@v2
docker/build-push-action@v4
Secretos REGISTRY_USER y REGISTRY_PASSWORD
Versionamiento v1.0.${{ github.run_number }}
Imagen versionada y latest
Actualización automática de frontend.yaml
Commit [skip ci]
Timeout de 20 minutos
Las mejoras agregadas son:
Ya no construye imágenes por cambios exclusivos en frontend.yaml, ingress.yaml o patches/.
Elimina integration/ y archivos *.example.tsx únicamente dentro del runner, evitando el error de compilación anterior.
Comprueba que CategoryMenu.tsx, cuando exista:
lea los parámetros actuales de la URL;
contenga collection=Marvel;
contenga category=Mochilas;
esté realmente importado por otro componente, Header o Layout.
Evita que un pipeline antiguo actualice el manifiesto si ya existe un commit más nuevo.
2026-07-27 01:15:05 +00:00
devops
b66d18b23f
chore: release v1.0.72 [skip ci]
2026-07-26 22:39:03 +00:00
devops
46e53f0f26
fix(build): exclude catalog integration example from production
Build and Push Frontend / build (push) Successful in 4m11s
2026-07-26 17:34:55 -05:00
devops
5b9a1d5c4c
menus
Build and Push Frontend / build (push) Failing after 2m23s
2026-07-26 17:26:13 -05:00
devops
9e6b29fd01
chore(gitops): remove misplaced frontend sources [skip ci]
2026-07-26 17:04:17 -05:00
devops
dd18c2f6b2
Add workloads/ecommerce/integration/app-catalog-page.example.tsx
Build and Push Frontend / build (push) Canceled after 1m53s
2026-07-26 21:38:40 +00:00
devops
a6eb98c5af
chore: release v1.0.65 [skip ci]
2026-07-26 21:36:57 +00:00
devops
b4f390f6ba
Add workloads/ecommerce/src/components/catalog/CatalogRouteBoundary.tsx
Build and Push Frontend / build (push) Canceled after 0s
2026-07-26 21:36:26 +00:00
devops
531e213be9
Add workloads/ecommerce/src/components/navigation/CategoryMenu.tsx
Build and Push Frontend / build (push) Canceled after 0s
2026-07-26 21:35:39 +00:00
devops
4dd9adba26
Delete workloads/ecommerce/src/components/navigation/CategoryMenu.tsx
Build and Push Frontend / build (push) Canceled after 0s
2026-07-26 21:34:49 +00:00
devops
9f1308cb3c
Add workloads/ecommerce/src/components/navigation/CategoryMenu.module.css
Build and Push Frontend / build (push) Canceled after 2m31s
2026-07-26 21:34:26 +00:00
devops
fd032bd2a9
Add workloads/ecommerce/src/components/navigation/CategoryMenu.tsx
Build and Push Frontend / build (push) Successful in 5m20s
2026-07-26 21:31:33 +00:00
devops
40b06e8f0c
chore: release v1.0.64 [skip ci]
2026-07-26 21:03:23 +00:00
devops
0c4c5d6843
Delete directory 'workloads/patches'
2026-07-26 20:55:24 +00:00
devops
932dec8dbd
Add workloads/ecommerce/patches/frontend-resources.yaml
Build and Push Frontend / build (push) Successful in 8m26s
2026-07-26 20:55:07 +00:00
devops
2bf8d52a21
chore: release v1.0.63 [skip ci]
2026-07-26 20:46:21 +00:00
devops
df4a3cd557
Add workloads/ecommerce/patches/catalog-resources.yaml
Build and Push Frontend / build (push) Successful in 4m48s
2026-07-26 20:41:36 +00:00
devops
17ab725587
chore: release v1.0.62 [skip ci]
2026-07-26 20:32:06 +00:00
devops
f95d271691
Update workloads/ecommerce/kustomization.yaml
Build and Push Frontend / build (push) Successful in 1m37s
2026-07-26 20:30:34 +00:00
devops
9406a20e67
chore: release v1.0.61 [skip ci]
2026-07-26 20:22:57 +00:00
devops
ac331c482d
Update workloads/ecommerce/kustomization.yaml
Build and Push Frontend / build (push) Successful in 1m44s
2026-07-26 20:21:23 +00:00
devops
6be9b740c0
chore: release v1.0.60 [skip ci]
2026-07-26 20:07:09 +00:00
devops
1802a70845
Update workloads/ecommerce/kustomization.yaml
...
Build and Push Frontend / build (push) Successful in 2m27s
El Service incluido dentro de frontend.yaml no será modificado, porque el patch apunta exclusivamente al recurso:
Deployment/frontend-deploy
2026-07-26 20:04:51 +00:00
devops
84b3799132
Add workloads/patches/catalog-resources.yaml
...
Cuando una cuota controla requests.cpu, requests.memory, limits.cpu y limits.memory, los pods nuevos del namespace deben declarar esos valores para poder ser admitidos correctamente.
2026-07-26 20:03:58 +00:00
devops
ed40c4e9fa
Add workloads/patches/frontend-resources.yaml
...
Este patch:
Aumenta el frontend a dos réplicas.
Permite crear un pod nuevo antes de eliminar el anterior.
Evita que una actualización deje la tienda sin frontend.
Eleva el límite que estaba provocando los OOMKilled de next-server/libvips.
maxUnavailable: 0 y maxSurge: 1 permiten que el Deployment mantenga disponibilidad durante un Rolling Update, siempre que la cuota y el clúster tengan capacidad para el pod adicional.
2026-07-26 20:02:44 +00:00
devops
3693f78515
chore: release v1.0.59 [skip ci]
2026-07-24 07:03:11 +00:00
devops
c46179a950
Update workloads/ecommerce/package.json
Build and Push Frontend / build (push) Successful in 8m47s
2026-07-24 06:54:31 +00:00
devops
3cf6a51799
Update workloads/ecommerce/Dockerfile
Build and Push Frontend / build (push) Failing after 1m13s
2026-07-24 06:48:14 +00:00
devops
80bca3e5c5
Update workloads/ecommerce/Dockerfile
Build and Push Frontend / build (push) Failing after 49s
2026-07-24 06:40:53 +00:00
devops
154536f0da
Update workloads/ecommerce/.npmrc
Build and Push Frontend / build (push) Failing after 1m40s
2026-07-24 06:40:21 +00:00
devops
29d32f71a4
Update workloads/ecommerce/Dockerfile
Build and Push Frontend / build (push) Failing after 1m30s
2026-07-24 06:35:30 +00:00
devops
5c4f3e52d2
Update workloads/ecommerce/Dockerfile
Build and Push Frontend / build (push) Failing after 2m2s
2026-07-24 06:27:31 +00:00
devops
cd111617a2
Update workloads/ecommerce/Dockerfile
Build and Push Frontend / build (push) Failing after 1m35s
2026-07-24 06:03:20 +00:00
devops
9569c94b6c
Update .gitea/workflows/build.yaml
Build and Push Frontend / build (push) Failing after 2m11s
2026-07-24 05:58:04 +00:00
devops
df603dd261
Update .gitea/workflows/build.yaml
Build and Push Frontend / build (push) Failing after 36s
2026-07-24 05:52:17 +00:00
devops
05fb19689e
Update .gitea/workflows/build.yaml
Build and Push Frontend / build (push) Failing after 2m36s
2026-07-24 05:49:31 +00:00
devops
899d093f3f
Update workloads/ecommerce/package.json
Build and Push Frontend / build (push) Failing after 58s
2026-07-24 04:54:25 +00:00
devops
9d68903abd
Update workloads/ecommerce/Dockerfile
Build and Push Frontend / build (push) Canceled after 0s
2026-07-24 04:53:45 +00:00
devops
4a641491bf
Add workloads/ecommerce/.npmrc
Build and Push Frontend / build (push) Canceled after 0s
2026-07-24 04:52:35 +00:00
devops
ad88fe0df7
Update workloads/ecommerce/Dockerfile
Build and Push Frontend / build (push) Canceled after 51m59s
2026-07-24 04:22:28 +00:00
devops
6e98cfba37
Update workloads/ecommerce/next.config.ts
Build and Push Frontend / build (push) Canceled after 0s
2026-07-24 04:17:37 +00:00
devops
dc9827e353
Update workloads/ecommerce/Dockerfile
Build and Push Frontend / build (push) Canceled after 0s
2026-07-24 04:15:25 +00:00
devops
891757e973
Update workloads/ecommerce/.dockerignore
Build and Push Frontend / build (push) Canceled after 2m50s
2026-07-24 04:14:59 +00:00
devops
5e5038c2d6
Delete .gitea/workflows/catalog-sync.yaml
2026-07-24 03:49:26 +00:00
devops
4c75b7f850
Update workloads/ecommerce/next.config.ts
Build and Push Frontend / build (push) Canceled after 23m29s
2026-07-20 03:53:27 +00:00
devops
a8aef44693
Update workloads/ecommerce/Dockerfile
2026-07-20 03:50:52 +00:00
devops
0cd4b89cfa
Update workloads/ecommerce/Dockerfile
Build and Push Frontend / build (push) Failing after 21m34s
2026-07-20 03:22:42 +00:00
devops
fe7b2019c2
feat(ecommerce): migrate Ari Shopping to Next.js 15 headless storefront v4
Build and Push Frontend / build (push) Failing after 9m42s
2026-07-19 21:36:35 -05:00
devops
2e7abc7e72
chore: release v1.0.35 [skip ci]
2026-07-20 01:15:47 +00:00
devops
303cbb07ad
chore: release v1.0.34 [skip ci]
2026-07-20 01:11:58 +00:00
devops
6f6729083f
Add workloads/ecommerce/ingress.yaml
Build and Push Frontend / build (push) Successful in 3m43s
2026-07-20 01:11:26 +00:00
devops
7b6613507c
Add workloads/ecommerce/catalog-api.yaml
Build and Push Frontend / build (push) Successful in 2m47s
2026-07-20 01:09:12 +00:00
devops
bb0fb087cc
chore: release v1.0.33 [skip ci]
2026-07-20 01:06:06 +00:00
devops
91041bce81
Update apps/ecommerce-app.yaml
2026-07-20 01:04:52 +00:00
devops
ae5bc8827c
Add workloads/ecommerce/kustomization.yaml
Build and Push Frontend / build (push) Successful in 3m29s
2026-07-20 01:02:39 +00:00
devops
4c60d387fd
chore: release v1.0.32 [skip ci]
2026-07-20 00:50:36 +00:00
devops
3fdbcd7c45
Upload files to "workloads/ecommerce"
Build and Push Frontend / build (push) Successful in 2m37s
2026-07-20 00:48:05 +00:00
devops
f263a9cc55
feat(ecommerce): migrate Ari Shopping to Next.js 15 headless storefront v4
Build and Push Frontend / build (push) Failing after 5m39s
2026-07-19 19:37:41 -05:00
devops
383b644929
Upload files to "workloads/ecommerce"
Build and Push Frontend / build (push) Failing after 47s
2026-07-20 00:30:48 +00:00
devops
afe3b4abea
Delete workloads/ecommerce.zip
2026-07-20 00:30:11 +00:00
devops
e60ae9627e
Upload files to "workloads"
2026-07-20 00:30:01 +00:00
devops
19fca33e4f
Delete directory 'workloads/ecommerce'
Build and Push Frontend / build (push) Failing after 28s
2026-07-20 00:29:09 +00:00
devops
5faeeb207e
chore: release v1.0.27 [skip ci]
2026-07-19 22:25:18 +00:00
devops
e25845bac9
feat(ecommerce): release Ari Shopping Frontend v2.1 real catalog
Build and Push Frontend / build (push) Successful in 1m21s
2026-07-19 17:23:16 -05:00
devops
da5c3acd81
chore: release v1.0.26 [skip ci]
2026-07-19 21:25:37 +00:00
devops
27d1ad992d
feat(ecommerce): release Ari Shopping Frontend v2.1 real catalog
Build and Push Frontend / build (push) Successful in 1m22s
2026-07-19 16:21:44 -05:00
devops
6f853beea9
chore: release v1.0.25 [skip ci]
2026-07-19 18:44:34 +00:00
devops
1c74220c88
feat(ecommerce): release Ari Shopping Frontend v2.1 real catalog
Build and Push Frontend / build (push) Successful in 2m30s
2026-07-19 13:41:37 -05:00
devops
6700166821
chore: release v1.0.23 [skip ci]
2026-07-18 21:36:31 +00:00
devops
54d2f208ae
feat(ecommerce): release Ari Shopping Frontend v2
Build and Push Frontend / build (push) Successful in 1m57s
2026-07-18 16:34:01 -05:00
devops
9f25b17468
chore: release v1.0.22 [skip ci]
2026-07-18 20:41:20 +00:00
devops
fadaaa91e9
Update workloads/ecommerce/index.html
Build, Push and Validate Frontend / build (push) Successful in 5m1s
2026-07-18 20:39:50 +00:00
devops
2e0d06f502
Delete apps/headlamp-governance-app.yaml
2026-07-18 05:26:41 +00:00
devops
59c754e9a4
Delete apps/headlamp-app.yaml
2026-07-18 05:26:35 +00:00
devops
e0ab49f14a
Delete directory 'workloads/headlamp'
2026-07-18 05:01:38 +00:00