Commit Graph
7 Commits
Author SHA1 Message Date
Admin Bot 5c30fd4fb7 fix: standardize CI workflow to unified pattern
CI / Test (pull_request) Successful in 3m23s
CI / Build & Push Image (pull_request) Skipped
Reference: riotpiao.com action run 496/707

Unified structure:
- test job: all branches + PRs
- build-push job: main push only, depends on test
- Install Node.js before checkout
- Install docker only in build-push
- Proper secrets and env handling
- Docker login + build + push + prune
2026-09-06 23:18:44 -07:00
Admin Bot 3f89511bdd fix: remove container override, install deps in workflow steps
CI / Vet, test, build (push) Successful in 3m46s
CI / Build and push image (push) Failing after 39s
Container override breaks docker socket access to dind sidecar.

Changes:
- Remove 'container: image: golang:1.26-bookworm'
- Install Node.js before checkout (required by actions runtime)
- Install docker.io in build step (required for docker build/push)

Now works with shared docker socket via dind sidecar.
2026-09-06 22:49:59 -07:00
Admin Bot df553cc70d ci: fix docker dind access, remove container override
CI / Vet, test, build (push) Successful in 3m33s
CI / Build and push image (push) Failing after 40s
Problem: Push job used docker:27-cli override with explicit dind cert
mounting, but runner base changed to code.forgejo.org/forgejo/runner:6.
Alpine container couldn't access Debian runner's dind socket paths.

Fix:
- Remove container override, run on golang runner natively
- Install docker.io directly in push step (apt-get)
- Add docker image prune post-action to cleanup

This pattern matches riotpiao.com CI and works with current runner setup.
2026-09-06 05:55:54 -07:00
Admin Bot 9c5fb0ce84 feat: load service adapters from ConfigMap, remove k8s API dependency
CI / Vet, test, build (push) Canceled after 2m10s
CI / Build and push image (push) Canceled after 0s
Adapters defined in config.yaml alongside routes and models.
Parsed by existing config loader, populated into registry at startup.
Removed: client-go deps, REST loader, informer, nginx proxy,
CiliumNetworkPolicy, apis/gateway/v1/ (duplicate types).
Kept: merged CI pipeline, imagePullPolicy Always, CA certs in Dockerfile.
2026-08-26 16:39:30 -07:00
Story Crater Bot 0aaf4116f1 fix(ci): target the golang runner, generic docker runner retired
Build / Build and push image (push) Successful in 1m20s
CI / Test, vet, build (push) Successful in 2m17s
2026-08-21 16:53:05 -07:00
Story Crater Bot 7ebbf2bd03 fix: install node in job containers so actions/checkout can exec
Build / Build and push image (push) Failing after 15s
CI / Test, vet, build (push) Successful in 1m45s
actions/checkout@v4 is a JS action; Forgejo Actions runs it via node, which
neither golang:1.25-bookworm nor docker:27-cli ship. Every run since the
.gitea/workflows move has failed identically: 'exec: node: executable file
not found in $PATH' during the checkout step, before any real job step ran.

Verified locally against both exact images before pushing:
- golang:1.25-bookworm: apt-get install nodejs ca-certificates git -> node
  v18.20.4, git 2.39.5.
- docker:27-cli: apk add nodejs git -> node v22.23.2, git 2.47.2, and
  actions/checkout's dist/index.js actually executes afterward (confirmed
  by invoking it directly) instead of failing on a missing binary.
- The Dockerfile itself builds clean end to end and the resulting image
  serves /healthz, so checkout was the only remaining blocker in the path.
2026-08-21 13:49:24 -07:00
Story Crater Bot dac1a5da4b fix: move workflows from .forgejo/workflows to .gitea/workflows
Build / Build and push image (push) Failing after 30s
CI / Test, vet, build (push) Failing after 29s
.forgejo/workflows/*.yaml never creates an action_run on push on this
Forgejo instance (1.27.0) -- confirmed directly in the action_run table
across multiple probe pushes. .gitea/workflows fires immediately with an
identical spec. This is why build.yaml never once executed.
2026-08-21 11:36:34 -07:00