Commit 7c9ece04dc

7c9ece04dc3e7ca6ecf12981124ce57ed4a3e948

parent: 4a934923dc

Verified · cmc ci/build: success ci/quality: success ci/test: success

cmc <hello@cleberg.net> · 2026-11-18 03:44 UTC

deps: go 1.27.4, gitbay-ci:4

Go 1.27.3's net/http is affected by GO-2026-6859 (MaxBytesReader header
race crashing the HTTP/1 server), fixed in 1.27.4. The image sets
GOTOOLCHAIN=local, so jobs move to gitbay-ci:4 built from
golang:1.27.4-trixie on the runner host.

Layout: unified · split

.gitbay/ci.yml +4 −4
@@ -2,7 +2,7 @@ jobs:
22 # Fast feedback: this finishes in seconds, so it is not held behind the
33 # suite.
44 build:
5 image: localhost/gitbay-ci:3
5 image: localhost/gitbay-ci:4
66 steps:
77 - go build ./...
88 - go vet ./...
@@ -13,7 +13,7 @@ jobs:
1313 # The 20m is under the runner's own 30m limit, so go times out first and
1414 # says which test hung instead of the runner killing it blind.
1515 test:
16 image: localhost/gitbay-ci:3
16 image: localhost/gitbay-ci:4
1717 steps:
1818 - missing=""; for t in git git-lfs gpg; do command -v "$t" >/dev/null || missing="$missing $t"; done; test -x /usr/sbin/sshd || missing="$missing sshd"; test -z "$missing" || { echo "runner is missing:$missing"; exit 1; }
1919 - go test ./... -count=1 -timeout 20m
@@ -25,7 +25,7 @@ jobs:
2525 # sha256 Qlty publishes beside it, and unpacked with Python because this
2626 # image has no xz.
2727 quality:
28 image: localhost/gitbay-ci:3
28 image: localhost/gitbay-ci:4
2929 steps:
3030 - curl -fsSL -o /tmp/qlty.tar.xz https://qlty-releases.s3.amazonaws.com/qlty/v0.661.0/qlty-x86_64-unknown-linux-gnu.tar.xz && echo "fa07eb51fbb32a0854113e81ce2d957b73f1c027c58b478d32c233b6aba7a977 /tmp/qlty.tar.xz" | sha256sum -c - && python3 -c "import tarfile; tarfile.open('/tmp/qlty.tar.xz').extractall('/tmp', filter='data')"
3131 - QLTY_TELEMETRY=off /tmp/qlty-x86_64-unknown-linux-gnu/qlty check --all --no-progress --filter trufflehog,gofmt
@@ -46,7 +46,7 @@ jobs:
4646 # `build trigger krz/gitbay vuln` runs it on demand before a release
4747 # (#177).
4848 vuln:
49 image: localhost/gitbay-ci:3
49 image: localhost/gitbay-ci:4
5050 schedule: "0 3 * * *"
5151 steps:
5252 - go run golang.org/x/vuln/cmd/govulncheck@latest ./...
.gitbay/wiki/Admin.org +2 −2
@@ -1143,7 +1143,7 @@ where every repository is trusted. There is no automatic fallback: a
11431143runner started with =-isolation podman= that cannot find a working
11441144podman exits rather than running a build unsandboxed.
11451145
1146gitbay's own jobs name =localhost/gitbay-ci:3=, built from
1146gitbay's own jobs name =localhost/gitbay-ci:4=, built from
11471147=deploy/Containerfile.ci= on the runner host. A job's image must carry
11481148what its steps need: the suite drives real git, git-lfs, gpg and sshd and
11491149asserts they exist before running, so the stock runner default would fail
@@ -1152,7 +1152,7 @@ it immediately. Build or rebuild it with:
11521152#+begin_src sh
11531153ssh -p 2222 root@<host> 'cat > /tmp/Containerfile.ci' < deploy/Containerfile.ci
11541154ssh -p 2222 root@<host> 'su - ci-runner -s /bin/sh -c \
1155 "podman build -t localhost/gitbay-ci:3 -f /tmp/Containerfile.ci /tmp"'
1155 "podman build -t localhost/gitbay-ci:4 -f /tmp/Containerfile.ci /tmp"'
11561156#+end_src
11571157
11581158The tag is deliberate rather than =:latest=: changing the file means
deploy/Containerfile.ci +2 −2
@@ -8,12 +8,12 @@
88#
99# scp -P 2222 deploy/Containerfile.ci root@gitbay.org:/var/lib/gitbay-runner/gitbay-ci.Containerfile
1010# ssh -p 2222 root@gitbay.org 'chown ci-runner /var/lib/gitbay-runner/gitbay-ci.Containerfile \
11# && su - ci-runner -s /bin/sh -c "podman build -t localhost/gitbay-ci:3 -f gitbay-ci.Containerfile ." \
11# && su - ci-runner -s /bin/sh -c "podman build -t localhost/gitbay-ci:4 -f gitbay-ci.Containerfile ." \
1212# && rm /var/lib/gitbay-runner/gitbay-ci.Containerfile'
1313#
1414# Tagged, not :latest, so a change to this file is a deliberate bump in
1515# .gitbay/ci.yml rather than a silent change under a running branch.
16FROM docker.io/library/golang:1.27.3-trixie
16FROM docker.io/library/golang:1.27.4-trixie
1717
1818# gitbay-runner-prune.service skips images carrying this label. A localhost/
1919# image cannot be pulled back, so pruning it fails every job that names it.
go.mod +1 −1
@@ -1,6 +1,6 @@
11module gitbay.org/gitbay
22
3go 1.27.3
3go 1.27.4
44
55require (
66 filippo.io/age v1.3.2