Feature: Add a dedicated VM for the CI runner #93

Merged
claude-bot Bot merged 2 commits from feature/ci-runner-vm into main 2026-12-04 18:48:05 +01:00

Part of #82 (the firewall and backup steps follow separately).

What changes

  • 01-proxmox-infra: new runner VM on pve-b550, a full clone of the Ubuntu Noble template. 2 vCPU, 4 GB RAM, 20 GB disk, fixed MAC with a pfSense DHCP reservation, SSH key login only
  • The Ansible node gets a key used only for this VM (runnerAnsibleSshPublicKey)
  • Docs: decision record 0002 (why a VM with Docker job containers), runbook for first-time setup, a note in the README

Config

New keys in 01-proxmox-infra: runnerIp, runnerAnsibleSshPublicKey. They must be on main of the private config repo before this PR's preview can pass.

Preview

 +  pfsense:index:Dhcpv4Staticmapping runner-dhcp create
 +  proxmoxve:index:VmLegacy runner create
Resources: + 2 to create, 27 unchanged

Merging deploys 01 and creates the VM. act_runner is installed afterwards with Ansible.

Part of #82 (the firewall and backup steps follow separately). ## What changes - `01-proxmox-infra`: new `runner` VM on pve-b550, a full clone of the Ubuntu Noble template. 2 vCPU, 4 GB RAM, 20 GB disk, fixed MAC with a pfSense DHCP reservation, SSH key login only - The Ansible node gets a key used only for this VM (`runnerAnsibleSshPublicKey`) - Docs: decision record `0002` (why a VM with Docker job containers), runbook for first-time setup, a note in the README ## Config New keys in `01-proxmox-infra`: `runnerIp`, `runnerAnsibleSshPublicKey`. They must be on `main` of the private config repo before this PR's preview can pass. ## Preview ``` + pfsense:index:Dhcpv4Staticmapping runner-dhcp create + proxmoxve:index:VmLegacy runner create Resources: + 2 to create, 27 unchanged ``` Merging deploys `01` and creates the VM. act_runner is installed afterwards with Ansible.
claude-bot Bot added 2 commits 2026-12-04 18:45:19 +01:00
A VM rather than an LXC: jobs run in Docker, and Docker in an LXC needs
nesting + keyctl. The runner holds the Proxmox, pfSense and Pulumi
credentials, so it gets its own kernel. The Ansible node gets a key used
only for this VM, so its access can be revoked on its own.
docs: add decision record and runbook for the CI runner VM
Secret Scan / Betterleaks (pull_request) Successful in 6s
Deploy Proxmox Infra / Pulumi Deploy (pull_request) Skipped
Deploy Proxmox Infra / Pulumi Preview (pull_request) Successful in 46s
6108d6dbf5
claude-bot Bot merged commit f6c71c3a3a into main 2026-12-04 18:48:05 +01:00
claude-bot Bot deleted branch feature/ci-runner-vm 2026-12-04 18:48:05 +01:00
Sign in to join this conversation.