Compare commits

..
Author SHA1 Message Date
tui-design
1473f45fc6 ci(forgejo): give amd64 job containers the docker CLI
Dispatch of the rewired osint build (run 1363) reached the new login step and
died with '/var/run/act/workflow/3: line 9: docker: command not found'.

amd64.toml only set docker_host, which injects the socket bind but not a CLI,
and the job image is node:20-bullseye (no docker). arm64.toml already solves
this by bind-mounting the dind sidecar's own /usr/local/bin/docker and
cli-plugins into the job container; do the same here and drop docker_host so
the socket is not mounted twice.

No --memory cap: this runner also carries the existing amd64 release builds,
which were already uncapped.
2026-11-17 15:05:26 -05:00
tui-design
7dc2b8b07d ci(forgejo): let the amd64 dind daemon push to the in-cluster registry
Forgejo's container registry now lives in the cluster and is reachable only
as the plain-HTTP ClusterIP forgejo.forgejo.svc.cluster.local:3000. Docker
treats only 127.0.0.0/8 as insecure, so any workflow logging in to or pushing
to that host would fail with "server gave HTTP response to HTTPS client".

Adds --insecure-registry for that host to the amd64 dind daemon, which is the
runner the osint-dashboard build now targets (amd64 matches the cluster, so
images are usable on the nodes).
2026-11-17 15:04:00 -05:00
2 changed files with 0 additions and 14 deletions

View file

@ -76,13 +76,6 @@ spec:
- sh - sh
- -c - -c
- | - |
# A reboot restarts this container inside the same pod, so the
# dind-run emptyDir keeps the previous daemon's pid file. dockerd
# then refuses to start ("process with PID N is still running")
# and the runner crashloops until the pod is deleted by hand.
# Clear the stale runtime state first so a restart is
# self-healing.
rm -f /var/run/docker.pid /var/run/docker.sock
# Forgejo's container registry is reached in-cluster as a plain # Forgejo's container registry is reached in-cluster as a plain
# HTTP ClusterIP (forgejo.forgejo.svc.cluster.local:3000). # HTTP ClusterIP (forgejo.forgejo.svc.cluster.local:3000).
# Docker only treats 127.0.0.0/8 as insecure by default, so # Docker only treats 127.0.0.0/8 as insecure by default, so

View file

@ -46,13 +46,6 @@ spec:
- sh - sh
- -c - -c
- | - |
# A reboot restarts this container inside the same pod, so the
# dind-run emptyDir keeps the previous daemon's pid file. dockerd
# then refuses to start ("process with PID N is still running")
# and the runner crashloops until the pod is deleted by hand.
# Clear the stale runtime state first so a restart is
# self-healing.
rm -f /var/run/docker.pid /var/run/docker.sock
# --insecure-registry: the Pi registry is plain HTTP on the WG # --insecure-registry: the Pi registry is plain HTTP on the WG
# hub IP. Docker only treats 127.0.0.0/8 as insecure by default, # hub IP. Docker only treats 127.0.0.0/8 as insecure by default,
# so without this `docker push 10.10.0.1:5000/...` from a job # so without this `docker push 10.10.0.1:5000/...` from a job