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:
parent
62392be60a
commit
a3a2c600d6
2 changed files with 6 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ spec:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
dockerd --host=unix:///var/run/docker.sock --tls=false &
|
dockerd --host=unix:///var/run/docker.sock --tls=false --mtu=1420 &
|
||||||
pid=$!
|
pid=$!
|
||||||
i=0
|
i=0
|
||||||
while [ "$i" -lt 30 ]; do
|
while [ "$i" -lt 30 ]; do
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,11 @@ data:
|
||||||
level: info
|
level: info
|
||||||
runner:
|
runner:
|
||||||
file: /data/runner.ini
|
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
|
timeout: 1h
|
||||||
cache: /data/cache
|
cache: /data/cache
|
||||||
cache:
|
cache:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue