commit 6c9d05683f76630db88f8108a526468245d0f22d parent a386ecfae081f8b9a975800ba3a85141933b2c79 Author: MTRNord <MTRNord@users.noreply.github.com> Date: Fri, 10 Apr 2026 11:17:16 +0200 meep Signed-off-by: MTRNord <MTRNord@users.noreply.github.com> Diffstat:
| M | apps/talos_cluster/jenkins/seeds/jobs/gitops_multiarch_builds.groovy | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/apps/talos_cluster/jenkins/seeds/jobs/gitops_multiarch_builds.groovy b/apps/talos_cluster/jenkins/seeds/jobs/gitops_multiarch_builds.groovy @@ -86,6 +86,19 @@ pipelineJob('gitops-multiarch-builds') { # Install git (needed for rev-parse in build scripts; not in Alpine by default) apk add --no-cache git + # dockerd inside docker:dind starts asynchronously; wait for the socket + for i in \\$(seq 1 30); do + if [ -S /var/run/docker.sock ]; then + break + fi + echo "Waiting for docker daemon... (\\$i/30)" + sleep 2 + done + if [ ! -S /var/run/docker.sock ]; then + echo "ERROR: docker daemon did not start within 60 seconds" + exit 1 + fi + # Register QEMU binfmt handlers so the DinD kernel can execute arm64 binaries docker run --rm --privileged tonistiigi/binfmt --install all