woodpecker-agent: defer docker restart so the agent self-deploy survives #51

Merged
k.renner merged 1 commits from agent-docker-deferred-restart into master 2026-06-26 12:13:15 +00:00
1 Commits
Author SHA1 Message Date
k.rennerandClaude Opus 4.8 3cb3a110a6 woodpecker-agent: defer the docker restart so the agent self-deploy survives
deploy-woodpecker-agent runs on an agent; a synchronous 'systemctl restart
docker' kills the job's own container before the play finishes (pipeline
994 died at docker-install, before the daemon.json task even ran). Schedule
the restart via a transient systemd timer (systemd-run --on-active=15s) so
the playbook completes first, then docker restarts and picks up the IPv6
daemon.json.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 14:13:12 +02:00