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
Owner

Pipeline 994 died at docker-install before applying the IPv6 daemon.json — a synchronous docker restart kills the agent self-deploy job. Defer it via a transient systemd timer (systemd-run --on-active=15s) so the play finishes, then docker restarts with v6. Merging self-triggers deploy-woodpecker-agent.

Pipeline 994 died at docker-install before applying the IPv6 daemon.json — a synchronous docker restart kills the agent self-deploy job. Defer it via a transient systemd timer (systemd-run --on-active=15s) so the play finishes, then docker restarts with v6. Merging self-triggers deploy-woodpecker-agent.
k.renner added 1 commit 2026-06-26 12:13:13 +00:00
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>
k.renner merged commit d338e7fb44 into master 2026-06-26 12:13:15 +00:00
Sign in to join this conversation.