Commit 57707aebf9

57707aebf93abd4ad205cc48cc4725d113f26c40

parent: f9845abbc9

Verified · cmc

cmc <hello@cleberg.net> · 2026-09-09 03:30 UTC

deploy: the bay1 runner claims untrusted builds; release ships gitbay-runner

Ref #184

Layout: unified · split

deploy/gitbay-runner.override.conf +3 −1
@@ -70,8 +70,10 @@ TimeoutStopSec=50min
70# already dead. mixed signals the main process only; whatever is left 70# already dead. mixed signals the main process only; whatever is left
71# when it exits is killed. 71# when it exits is killed.
72KillMode=mixed 72KillMode=mixed
73# -untrusted: this runner isolates in podman, so it takes merge request
74# heads from forks; a runner without a container must not.
73ExecStart= 75ExecStart=
74ExecStart=/usr/local/bin/gitbay-runner -remote git@127.0.0.1 -workdir /var/lib/gitbay-runner/work -poll 5s -timeout 45m -repos krz/gitbay,cmc/ci-smoke -isolation podman -image localhost/gitbay-ci:1 -cpus 3 -memory 6g 76ExecStart=/usr/local/bin/gitbay-runner -remote git@127.0.0.1 -workdir /var/lib/gitbay-runner/work -poll 5s -timeout 45m -repos krz/gitbay,cmc/ci-smoke -isolation podman -image localhost/gitbay-ci:1 -cpus 3 -memory 6g -untrusted
75Nice=10 77Nice=10
76CPUWeight=30 78CPUWeight=30
77IOWeight=30 79IOWeight=30
deploy/release.sh +3 −3
@@ -1,6 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2# Build release binaries for a tag: reproducible cross-compiled gitbay and 2# Build release binaries for a tag: reproducible cross-compiled gitbay,
3# gitbayd with a checksum manifest. 3# gitbayd and gitbay-runner with a checksum manifest.
4# 4#
5# git checkout v0.2.0 && ./deploy/release.sh v0.2.0 5# git checkout v0.2.0 && ./deploy/release.sh v0.2.0
6# 6#
@@ -19,7 +19,7 @@ mkdir -p "$out"
19for target in linux/amd64 linux/arm64 darwin/arm64; do 19for target in linux/amd64 linux/arm64 darwin/arm64; do
20 goos="${target%/*}" 20 goos="${target%/*}"
21 goarch="${target#*/}" 21 goarch="${target#*/}"
22 for bin in gitbay gitbayd; do 22 for bin in gitbay gitbayd gitbay-runner; do
23 name="${bin}-${V}-${goos}-${goarch}" 23 name="${bin}-${V}-${goos}-${goarch}"
24 echo "building $name" 24 echo "building $name"
25 CGO_ENABLED=0 GOOS="$goos" GOARCH="$goarch" \ 25 CGO_ENABLED=0 GOOS="$goos" GOARCH="$goarch" \