Commit graph

9 commits

Author SHA1 Message Date
Ashwin Kumar Sivakumar
ed4b65cba8 fix(ci): sort registry prune by real image build time, protect current SHA
All checks were successful
build-and-release / build (push) Successful in 1m6s
Same fix as nxtgauge-frontend-solid: registry_prune.py sorted candidate
tags by the manifest GET response's Date header (the moment of the
request, not the image's actual build time), making the "keep newest N"
sort effectively random whenever multiple tags are touched in the same
prune run - which happens on every single run, since the tag just
pushed by this same build is always one of the candidates. That let the
prune step delete the image a run had just built, before gitops even
got a chance to reference it.

Now reads the real "created" timestamp from the image's config blob and
always protects the current run's own SHA from deletion regardless of
sort order.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-17 05:37:45 +05:30
Ashwin Kumar Sivakumar
98a41d833a fix(ci): push gitops updates via GitHub instead of direct-to-Forgejo
Some checks failed
build-and-release / build (push) Failing after 57s
GITOPS_PAT auth was failing against Forgejo. GitHub is the source of
truth for nxtgauge-gitops; push there and let sync-to-forgejo.yml
relay to Forgejo, which Flux actually watches.
2026-07-12 23:00:58 +05:30
Ashwin Kumar Sivakumar
697a4b0d92 fix(ci): use GITOPS_PAT for gitops push, not never-configured SSH secrets
Some checks failed
build-and-release / build (push) Failing after 1m34s
Same fix as nxtgauge-frontend-solid: GITEOPS_REPO/GITEOPS_SSH_KEY were
never configured as repo secrets. Switch to an HTTPS clone with
GITOPS_PAT, matching nxtgauge-backend-rust's already-working workflow.
2026-07-12 18:37:20 +05:30
Ashwin Kumar Sivakumar
7f4351550a fix(ci): tolerate whitespace in buildx metadata-file digest grep
Some checks failed
build-and-release / build (push) Failing after 1m39s
Same fix as nxtgauge-frontend-solid: buildx writes its metadata file
pretty-printed, so the compact ":"-only grep pattern never matched,
failing the build-and-push step right after a successful push and
skipping the GitOps-release step. Match backend-rust's
whitespace-tolerant pattern.
2026-07-12 18:32:57 +05:30
Ashwin Kumar Sivakumar
f94dafdf7c fix(ci): detect docker gateway instead of hardcoding 127.0.0.1
Some checks failed
build-and-release / build (push) Failing after 1m17s
Same fix as nxtgauge-backend-rust and nxtgauge-frontend-solid: every
build here has been failing with "Cannot connect to the Docker daemon
at tcp://127.0.0.1:2375" since the job container is nested inside the
runner pod's dind sidecar. Detect the real gateway from
/proc/net/route instead of hardcoding loopback.
2026-07-12 18:28:38 +05:30
Ashwin Kumar Sivakumar
d13fc3218a Update Forgejo admin publish workflow 2026-06-17 03:28:45 +05:30
Ashwin Kumar Sivakumar
446152648f feat(ai): add AI management page and sidebar link 2026-06-15 06:19:17 +05:30
Ashwin Kumar Sivakumar
5422cf4af0 fix(ci): deploy admin via immutable gitops release
Some checks failed
build-and-release / build (push) Failing after 3s
2026-06-14 05:52:49 +05:30
Ashwin Kumar Sivakumar
75a93cf476 chore: migrate ci naming to forgejo 2026-06-11 17:17:42 +05:30