Commit Graph
9 Commits
Author SHA1 Message Date
dingo 739b900670 Use runner-provided Docker access for publishing 2026-09-11 17:33:30 -04:00
dingoandClaude Opus 5 1188fca412 ci: reach the Docker daemon by its runner alias again
The publish job pinned DOCKER_HOST to 172.17.0.1, a workaround from when the
runner's --add-host=docker-host alias was not reaching job containers. The
daemon no longer answers on that bridge address, so buildx could not connect.
Use the alias the runner config provisions (tcp://docker-host:2375), still set
at job level so the buildx and build-push JS actions inherit it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 16:57:25 -04:00
dingoandClaude Sonnet 5 f4068946ed Revert the six post-merge patch commits; back to the portal-merge state
Reverts the working tree for these six files to their state at 7c5cb78
(the control-portal merge, reconciled with the auto-deploy digest bump)
-- undoing c5b8361, 74ff146, b1a07b7, db3e5a8, 0bb3e4b, and 9b226f7.

Those six commits were reactive fixes chasing CI failures one at a
time; each one changed the failure mode without ever reaching a fully
green run, and the last one coincided with the browser session itself
crashing mid-test rather than a logic assertion failing. Reverting to
a clean, known point (right after the merge, before any of that
patching) rather than continuing to layer fixes on an unverified base.

Note: this reintroduces a real, independently-confirmed bug fixed by
db3e5a8 -- deploy/chart/templates/worlds.yaml's per-world loop is
missing a newline between iterations (a leading whitespace-trim on the
$host template variable eats it), which breaks `helm lint` /
`helm template` for any values file with more than one world. That
will fail again on the next push if it isn't re-applied.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 13:15:04 -04:00
dingoandClaude Sonnet 5 74ff146717 diag: log rejected intents server-side; preserve e2e artifacts on CI failure
The boss-attack e2e test keeps reporting bossHp completely unchanged
(1200, not just short of the timeout) on the CI runner, across two
separate runs, while it passes reliably in ~11s locally. Couldn't get
more signal from the runner itself: test-results/ (screenshots,
trace.zip, error-context.md) was never uploaded anywhere by the
workflow, so it's gone the moment the ephemeral job container is torn
down -- there was nothing left to retrieve.

Two changes to actually get signal on the next failure instead of
guessing blind:

- internal/transport/http.go: a rejected intent (e.g. "boss out of
  reach", "attack cooldown") already gets stored on c.Message for the
  client to show as a notice, but was never logged server-side. Now it
  is, via slog.Warn, so it shows up directly in the [WebServer] console
  output already captured in the job log -- no artifact retrieval
  needed.
- .gitea/workflows/build.yaml: upload test-results/ as a build artifact
  when the verify job fails, so trace.zip etc. survive past the job
  container for cases where the console log alone isn't enough.

Verified server still builds/vets clean and the full local e2e suite
(all 7 tests across game.spec.ts + portal.spec.ts, matching CI's count)
still passes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 11:57:36 -04:00
dingoandClaude Sonnet 5 b515c65aba ci: point publish job's DOCKER_HOST at the node bridge IP directly
container.options: --add-host=docker-host:host-gateway in the runner's
config is meant to make "docker-host" resolve inside job containers, but
that alias isn't landing on the publish job's container (DNS lookup of
docker-host fails there). act_runner's own connection to the same daemon
does resolve it, via the pod's hostAliases entry to 172.17.0.1 (proven by
verify's Postgres service container working over it). Point DOCKER_HOST
at that address directly instead of depending on the container-option
alias.

This is a stopgap: it hardcodes a node-internal bridge IP into the
workflow. The real fix is on the runner side, figuring out why
container.options isn't reaching job containers.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 09:03:15 -04:00
dingo 95bec34fee Added env: DOCKER_HOST: tcp://docker-host:2375 at the publish job level in .gitea/workflows/build.yaml. Workflow-level env: is guaranteed to land in every step's process — including composite/JS actions like buildx and build-push — regardless of whether the runner's own config-based env injection is working. It reuses the same docker-host alias your runner config already provisions via --add-host=docker-host:host-gateway, so no cluster/runner changes are needed. 2026-09-06 08:36:35 -04:00
Shard 0ffa0ba5d1 Deploy Aeternalis through Argo CD with verified PostgreSQL and SRS TLS 2026-09-06 03:43:31 -04:00
ashard_bot 82f48728a2 ci: use existing ubuntu-22.04 runner 2026-09-06 00:22:28 +00:00
dingo ff87b8a544 Build playable Aeternalis foundation and GitOps deployment pipeline 2026-09-05 12:52:51 -04:00