forgejo amd64 runner: capacity 1 and dockerd --mtu=1420

Two concurrent x86_64 builds on the dind daemon made the second one's egress
fail (apt looping on Ign: for Debian InRelease) while a single build on the
same daemon succeeded. Serialize the amd64 runner, and match the docker bridge
MTU to the pod's 1420 so containers stop assuming a 1500-byte path.
This commit is contained in:
Sirius DevOps 2026-09-12 01:25:51 -04:00
commit a3a2c600d6
2 changed files with 6 additions and 2 deletions

View file

@ -76,7 +76,7 @@ spec:
- sh
- -c
- |
dockerd --host=unix:///var/run/docker.sock --tls=false &
dockerd --host=unix:///var/run/docker.sock --tls=false --mtu=1420 &
pid=$!
i=0
while [ "$i" -lt 30 ]; do

View file

@ -28,7 +28,11 @@ data:
level: info
runner:
file: /data/runner.ini
capacity: 2
# capacity 1: the dind daemon on this runner holds the release/CI build
# containers and images. Two concurrent x86_64 builds on it made the
# *second* build's egress fail (apt looping on "Ign:" for Debian
# InRelease) while a single build on the same daemon succeeded.
capacity: 1
timeout: 1h
cache: /data/cache
cache: