6 Commits

Author SHA1 Message Date
will.anderson f4e0a03314 fix(api): rename CommitStatus state json tag from 'status' to 'state'
Build & Push Gitea image / build-push (push) Successful in 8m28s
Aligns CommitStatus with CombinedStatus which already uses 'state'.
Fixes API inconsistency where individual statuses returned 'status'
but the combined endpoint returned 'state', causing client-side null
reads when accessing .state on individual CommitStatus objects.
2026-05-10 22:29:44 -05:00
will.anderson b1536a2384 fix(ci): semver-compatible version string
Build & Push Gitea image / build-push (push) Failing after 10m10s
2026-05-08 13:05:36 +00:00
will.anderson 3a04b04f64 fix(ci): use semver-compatible version string for Gitea image
Build & Push Gitea image / build-push (push) Successful in 5m8s
Change GITEA_VERSION from 'neuron-<sha>' to '1.26.1-neuron.<sha>' so
tea and other clients that parse the version can correctly identify it
as 1.26.1-compatible and enable the full API surface.
2026-05-08 08:04:26 -05:00
will.anderson 6d72104631 chore: promote stage to main
Build & Push Gitea image / build-push (push) Successful in 2m37s
2026-05-08 06:20:37 +00:00
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
2 changed files with 12 additions and 3 deletions
+11 -2
View File
@@ -66,14 +66,23 @@ jobs:
echo "primary=${REGISTRY}:${ENV_TAG}" >> "$GITHUB_OUTPUT"
echo "sha=${SHA}" >> "$GITHUB_OUTPUT"
- name: Install docker buildx
run: |
mkdir -p ~/.docker/cli-plugins
BUILDX_URL="https://github.com/docker/buildx/releases/download/v0.20.1/buildx-v0.20.1.linux-amd64"
curl -fsSL "$BUILDX_URL" -o ~/.docker/cli-plugins/docker-buildx
chmod +x ~/.docker/cli-plugins/docker-buildx
docker buildx version
- name: Build Gitea image
run: |
TAGS=""
for t in ${{ steps.tag.outputs.tags }}; do
TAGS="$TAGS -t $t"
done
docker build \
--build-arg GITEA_VERSION="neuron-$(git rev-parse --short HEAD)" \
docker buildx build \
--load \
--build-arg GITEA_VERSION="1.26.1-neuron.$(git rev-parse --short HEAD)" \
--build-arg TAGS="sqlite sqlite_unlock_notify" \
$TAGS \
.
+1 -1
View File
@@ -14,7 +14,7 @@ type CommitStatus struct {
// ID is the unique identifier for the commit status
ID int64 `json:"id"`
// State represents the status state (pending, success, error, failure)
State commitstatus.CommitStatusState `json:"status"`
State commitstatus.CommitStatusState `json:"state"`
// TargetURL is the URL to link to for more details
TargetURL string `json:"target_url"`
// Description provides a brief description of the status