chore: promote stage to main #3

Merged
will.anderson merged 5 commits from stage into main 2026-05-08 06:20:40 +00:00

5 Commits

Author SHA1 Message Date
will.anderson 83223bb939 ci: install docker buildx plugin; switch to buildx build --load
labeler / labeler (pull_request_target) Successful in 34s
Build & Push Gitea image / build-push (push) Successful in 3m18s
DOCKER_BUILDKIT=1 requires the buildx plugin which isn't installed on
the runner. Install it explicitly then use docker buildx build --load
(outputs to local daemon so the push step can tag+push normally).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 19:01:46 -05:00
will.anderson 5393a85b04 ci: enable DOCKER_BUILDKIT for BuildKit FROM --platform support
Build & Push Gitea image / build-push (push) Failing after 53s
The Gitea Dockerfile uses FROM --platform=$BUILDPLATFORM which requires
BuildKit. The GCE runner defaults to the legacy builder — set
DOCKER_BUILDKIT=1 to enable it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 18:57:30 -05:00
will.anderson 4e929ad814 ci: dev/stage/main branch build pipeline for custom Gitea image
Build & Push Gitea image / build-push (push) Failing after 1m50s
Build and push to Artifact Registry on merge to dev/stage/main:
  dev   → gitea:dev
  stage → gitea:stage
  main  → gitea:latest + gitea:<sha>

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 18:47:04 -05:00
will.anderson 3d9a09496d fix(actions): use per-step status in workflow job API response; add build workflow
Build & Push Gitea image / build-push (push) Failing after 2m20s
ToActionWorkflowJob was calling ToActionsStatus(job.Status) for every
step, making each step reflect the whole job conclusion instead of its
own state. Replace the inline loop with the existing ToActionWorkflowStep
helper which correctly uses step.Status.

Add .gitea/workflows/build-push.yaml to build and push a Docker image to
Artifact Registry on push to this branch, enabling deployment to GKE.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 18:46:18 -05:00
will.anderson bb6faa4c5d feat(webhook): add workflow_step webhook events for step-level CI notifications
Adds HookEventWorkflowStep event type that fires on every step state
transition (queued -> in_progress -> completed). Follows the same
pattern as the existing workflow_job events.

- New WorkflowStepPayload struct with run/job/step context
- WorkflowStepStatusUpdate notifier interface + dispatch
- Step state change detection in UpdateTask runner endpoint
- Fix: register workflow_step in updateHookEvents API mapping
- Full test coverage mirroring workflow_job tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 17:47:14 -05:00