Let deploy-bot's SSH key work from the new runner box #33

Merged
matchu merged 3 commits from armin-bot/impress:claude/runner-box into main 2026-11-16 20:49:54 -08:00
Contributor

The Forgejo Actions runner is moving off code.openneo.net onto its own machine, runner.openneo.net (74.207.234.34). See OpenNeo/openneo-code#5 for the why and the full rollout. deploy-bot's SSH key only works from the runner's IP, so this lets it work from the new box too.

Changes

  • deploy_bot_allowed_ip becomes a list, deploy_bot_allowed_ips, joined into authorized_keys's from="…". During the move it lists both the old (45.79.220.14) and new (74.207.234.34) runner IPs, so deploys keep working whichever machine runs them. IPv4 only: job containers have no IPv6.
  • docs/deployment-setup.md and a ci.yml comment now say where the runner lives.

Rollout

  1. Run bin/deploy:setup from this branch, then merge.
  2. After the old runner is removed (step 7 in the openneo-code PR), a small follow-up removes 45.79.220.14 and runs bin/deploy:setup again.

Testing

  • ansible-playbook --syntax-check deploy/setup.yml passes, and the line renders as from="45.79.220.14,74.207.234.34",….
  • A fresh-eyes review found nothing else in impress tied to the old runner: known_hosts is for impress.openneo.net, and production's firewall has no rules for the runner's IP.

🤖 Generated with Claude Code

https://claude.ai/code/session_014PWWd1c4UFRKce9t7XXiaP

The Forgejo Actions runner is moving off code.openneo.net onto its own machine, runner.openneo.net (`74.207.234.34`). See OpenNeo/openneo-code#5 for the why and the full rollout. `deploy-bot`'s SSH key only works from the runner's IP, so this lets it work from the new box too. ## Changes - `deploy_bot_allowed_ip` becomes a list, **`deploy_bot_allowed_ips`**, joined into `authorized_keys`'s `from="…"`. During the move it lists **both** the old (`45.79.220.14`) and new (`74.207.234.34`) runner IPs, so deploys keep working whichever machine runs them. IPv4 only: job containers have no IPv6. - `docs/deployment-setup.md` and a `ci.yml` comment now say where the runner lives. ## Rollout 1. Run `bin/deploy:setup` from this branch, then merge. 2. After the old runner is removed (step 7 in the openneo-code PR), a small follow-up removes `45.79.220.14` and runs `bin/deploy:setup` again. ## Testing - `ansible-playbook --syntax-check deploy/setup.yml` passes, and the line renders as `from="45.79.220.14,74.207.234.34",…`. - A fresh-eyes review found nothing else in impress tied to the old runner: `known_hosts` is for impress.openneo.net, and production's firewall has no rules for the runner's IP. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014PWWd1c4UFRKce9t7XXiaP
Let deploy-bot's SSH key work from the new runner box
All checks were successful
CI / rspec (pull_request) Successful in 11m39s
CI / deploy (pull_request) Has been skipped
e5b457a5c0
The Forgejo Actions runner is moving from code.openneo.net to its own machine,
runner.openneo.net. While it moves, deploy-bot accepts its key from both
machines' IPs, so deploys keep working whichever one runs them.

`deploy_bot_allowed_ip` becomes a list, `deploy_bot_allowed_ips`. The new
box's IP is a placeholder until it exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014PWWd1c4UFRKce9t7XXiaP
Fill in the new runner box's IP
Some checks failed
CI / rspec (pull_request) Has been cancelled
CI / deploy (pull_request) Has been cancelled
ffdad9d163
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014PWWd1c4UFRKce9t7XXiaP
Say which machines deploy-bot's key works from, during the move
All checks were successful
CI / rspec (pull_request) Successful in 11m41s
CI / deploy (pull_request) Has been skipped
c61a182cc3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014PWWd1c4UFRKce9t7XXiaP
armin-bot changed title from WIP: Let deploy-bot's SSH key work from the new runner box to Let deploy-bot's SSH key work from the new runner box 2026-11-16 20:45:34 -08:00
matchu merged commit 411e13c08e into main 2026-11-16 20:49:54 -08:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
OpenNeo/impress!33
No description provided.