Commit Graph

32 Commits

Author SHA1 Message Date
Gianpierre Mio
c00fc2fbd6 ci: unify deploy pipeline - sync to Gitea + self-hosted deploy
All checks were successful
Deploy API-Ubigeo / deploy (push) Successful in 13m52s
- GitHub: CI on ubuntu-latest (no more self-hosted)
- GitHub: add sync-gitea.yml for auto-deploy trigger
- Gitea: add deploy.yml with robust health check
- Remove disabled deploy.yml.disabled
2026-04-08 13:42:40 -05:00
Gianpierre Mio
976c5ee10b docs: update README 2026-04-04 12:34:52 -05:00
Gianpierre Mio
2a00d26a10 ci: disable deploy workflow on GitHub (runs on Gitea) 2026-04-04 12:30:32 -05:00
Gianpierre Mio
2008190237 temp: use docker format strings instead of python3
All checks were successful
Deploy / deploy (push) Successful in 4m13s
2026-03-10 16:27:37 -05:00
Gianpierre Mio
87845f725f temp: inspect impulsa_landing nginx container
All checks were successful
Deploy / deploy (push) Successful in 4m33s
2026-03-10 16:20:12 -05:00
Gianpierre Mio
0e0abfa5e0 temp: fix diagnostic workflow - separate steps
All checks were successful
Deploy / deploy (push) Successful in 3m56s
2026-03-10 16:13:37 -05:00
Gianpierre Mio
041c09f7ba temp: find impulsa web location on host
All checks were successful
Deploy / deploy (push) Successful in 4m13s
2026-03-10 16:06:15 -05:00
Gianpierre Mio
eef1b172eb docs: add active_context.md with infra and Traefik setup notes
All checks were successful
Deploy / deploy (push) Successful in 4m0s
2026-03-10 10:44:41 -05:00
Gianpierre Mio
13060806cc fix: inject ubigeo route directly into Traefik main.yaml using jq
All checks were successful
Deploy / deploy (push) Successful in 4m8s
2026-03-10 10:38:43 -05:00
Gianpierre Mio
9346ccc70a debug: print main.yaml to understand Traefik file provider config
All checks were successful
Deploy / deploy (push) Successful in 3m45s
2026-03-10 10:31:45 -05:00
Gianpierre Mio
599d8372cb debug: print traefik.yaml and main.yaml to understand file provider config
Some checks failed
Deploy / deploy (push) Failing after 4m11s
2026-03-10 10:24:42 -05:00
Gianpierre Mio
b7018ffd64 debug: inspect Traefik config directory and file provider settings
All checks were successful
Deploy / deploy (push) Successful in 4m17s
2026-03-10 10:16:47 -05:00
Gianpierre Mio
2d3a3a8cb1 debug: add diagnostics step to verify Traefik config and container networks
Some checks failed
Deploy / deploy (push) Failing after 3m12s
2026-03-10 10:11:07 -05:00
Gianpierre Mio
a85c2cb447 fix: pass Traefik YAML as base64 to avoid all escaping issues
All checks were successful
Deploy / deploy (push) Successful in 3m46s
2026-03-10 10:05:47 -05:00
Gianpierre Mio
5f6f304bb6 fix: run register-traefik.sh inside alpine container with host volume mount
Some checks failed
Deploy / deploy (push) Failing after 3m49s
2026-03-10 10:00:44 -05:00
Gianpierre Mio
cfdfa41dc0 fix: use external sh script to write Traefik config — avoid YAML escaping issues
Some checks failed
Deploy / deploy (push) Failing after 3m41s
2026-03-10 09:55:57 -05:00
Gianpierre Mio
be8b582677 fix: use docker run to write Traefik config from host volume
All checks were successful
Deploy / deploy (push) Successful in 4m39s
2026-03-10 09:48:09 -05:00
Gianpierre Mio
6ca41ea56e fix: add Traefik file-provider route registration step
All checks were successful
Deploy / deploy (push) Successful in 4m15s
Traefik uses static file config, not Docker label discovery.
Write /etc/easypanel/traefik/config/api-ubigeo.yaml if writable.
2026-03-10 09:00:14 -05:00
Gianpierre Mio
6c0201637f fix: force container recreate with down+up, use wget for health check
Some checks failed
Deploy / deploy (push) Failing after 3m52s
- docker compose down + up forces container recreation with new labels
- Replace curl (not in runner) with wget for internal health check
- Health check against 127.0.0.1:3200 (internal, no domain needed)
2026-03-10 08:50:35 -05:00
Gianpierre Mio
e3a89e82a2 fix: inline deploy steps — remove dependency on deploy-ubigeo.sh
Some checks failed
Deploy / deploy (push) Failing after 3m39s
Script used docker-compose (v1 syntax), runner has docker compose (v2).
Now builds image and runs compose directly in workflow steps.
2026-03-10 08:42:19 -05:00
Gianpierre Mio
9b40829e56 fix: replace actions/checkout with native git — runner has no node
Some checks failed
Deploy / deploy (push) Has been cancelled
The self-hosted runner (gitea-act-runner-custom) lost node after image
rebuild. Replace actions/checkout@v4 with plain git clone/reset.
Also adds a guard to auto-rebuild the runner image if node is missing.
2026-03-10 08:37:26 -05:00
Gianpierre Mio
76b238cba1 fix: add Traefik labels to expose api-ubigeo via reverse proxy
Some checks failed
Deploy / deploy (push) Failing after 4m44s
Container is in the easypanel network — Traefik auto-detects via labels.
Routes api-ubigeo.darkcodex.dev -> port 3200 with Let's Encrypt SSL.
2026-03-10 08:27:21 -05:00
Gianpierre Mio
d5d9f45bd3 ci: fix health check - use public URL instead of localhost
All checks were successful
Deploy / deploy (push) Successful in 1m29s
2026-03-10 00:21:43 -05:00
Gianpierre Mio
df7f5abf8e ci: add curl to runner image
Some checks failed
Deploy / deploy (push) Failing after 1m20s
2026-03-10 00:15:49 -05:00
Gianpierre Mio
fc8c047f68 ci: add docker-compose plugin to runner image
Some checks failed
Deploy / deploy (push) Failing after 1m12s
2026-03-10 00:10:58 -05:00
Gianpierre Mio
2fdf5d1b2c ci: fix runner - add node, docker-cli, rsync to custom runner image
Some checks failed
Deploy / deploy (push) Failing after 5m35s
2026-03-10 00:02:54 -05:00
Gianpierre Mio
47eba37207 ci: retry - self-hosted now docker://node:20
Some checks failed
Deploy / deploy (push) Failing after 12s
2026-03-09 23:56:24 -05:00
Gianpierre Mio
d9c28ff859 ci: retry with updated runner mounts
Some checks failed
Deploy / deploy (push) Failing after 12s
2026-03-09 23:55:17 -05:00
Gianpierre Mio
f084123a5c ci: trigger deploy with updated runner config
Some checks failed
Deploy / deploy (push) Failing after 1s
2026-03-09 23:53:05 -05:00
Gianpierre Mio
c5d6734f9a ci: simplify workflows - deploy on main push, CI on PR only
Some checks failed
Deploy / deploy (push) Failing after 1s
2026-03-09 23:50:28 -05:00
Gianpierre Mio
c48dc3cd0b feat: add Redis cache, gzip, CI/CD via Gitea self-hosted runner
Some checks failed
CI - Build and Lint / build (push) Failing after 3s
Deploy API-Ubigeo / deploy (push) Failing after 1s
2026-03-09 23:43:25 -05:00
Gianpierre Mio
a789d33bee feat: initial API Ubigeo Peru - INEI 2025 + países del mundo 2026-03-09 22:55:29 -05:00