Files
vpn-dns-gateway/delivery/evidence/agent-migration-20261114.md
T
vsun1 ed0a862657
vpn-dns-gateway/pipeline/pr-main This commit looks good
Move CI runners to Droplet and enable application HTTPS
2026-11-15 12:49:06 -05:00

4.3 KiB
Raw Blame History

Delivery agent migration — preparation evidence

Vincent selected The-Ocean instead of the laptop to avoid the previously observed campus SSH restriction. This work occurred on November 14 Eastern; the host's UTC timestamps below fall on November 15, 2026.

  • Existing host: 1 CPU, 1,967 MiB RAM, original 25 GB plan disk, 2 GiB swap. At 03:29 UTC, 811 MiB RAM was available and swap used was 129 MiB.
  • Transferred the existing agent image, without rebuilding its toolchain: sha256:0752666650a3afe7b61854c1df4dca21f4ef381fab1f4fb9b042adaa203c58a8. Transfer archive SHA-256 matched on both machines: f987fdb285757aabe91fffd21a3a58da00bec975efcce7ee8ef3f127b27d0696.
  • Stopped the laptop container before connecting its replacement. Existing node name ssw590-vince-delivery, label delivery-trusted, one exclusive executor, folder credentials and disabled pricing job were retained.
  • Remote agent: 512 MiB RAM / 768 MiB RAM+swap, 0.5 CPU, 96 MiB JVM heap, no published port, existing gitea_web network, private WebSocket connection. Socket group detected as 987; initial group-0 mismatch was corrected.
  • Builder: BuildKit v0.34.2 image pinned by index digest in the start helper; 256 MiB RAM / 384 MiB RAM+swap, CPU quota 50000/100000, no published port. The pipeline explicitly selects this builder when DELIVERY_BUILDER is set.
  • Deployment SSH: ssh -G reports hostname host.docker.internal and hostkeyalias 147.182.178.136. The existing Jenkins known-hosts credential remains authoritative; host verification was not bypassed.
  • Jenkins prerequisite build 2 passed at 03:47 UTC, including real credential binding, deploy login, pinned host key and sudo. See inventory.
  • 03:50:16–03:51:43 UTC: the separate capacity preparation trial passed 12 control tests and 3 app tests, source-secret/dependency gates, capped image build, full image gate (zero HIGH/CRITICAL), and a temporary 64 MiB app smoke. Health v1, identity uncommitted-remote-preflight, total 30 for quantity 3, and HTTP 400 for invalid quantity were verified. The smoke container was removed. No image was pushed and no assessed environment was deployed.
  • The trial used a non-secret local snapshot of delivery/app, delivery/ci, the scanner rule and the trial script, not a reviewed full repository checkout. Snapshot archive SHA-256: 2cd5d23062ff9904b48a23dfd5d9f2b9c67929cb86db006e7b2677060da3afa0. Gate reports retain actual timestamps and tool/database metadata.
  • Observed available RAM exceeded 700 MiB; swap used increased from 263 to 372 MiB during the sampled trial. At 03:54 UTC, 861 MiB was available, swap used was 370 MiB and root disk was 56% used (11 GiB available, rounded by df). Agent cgroup memory-limit events were nonzero; agent and builder oom and oom_kill counters were zero, and both reported OOMKilled=false.
  • Gitea, Jenkins login and Grafana login returned HTTP 200 through private Docker routes after the trial. Seven previous containers remained running.
  • Restarted only the agent; logs recorded a fresh WebSocket connection and Connected at 03:57:57 UTC. unless-stopped is configured for both agent and builder; an entire-host reboot was not performed as part of this migration.

Raw reports, partial resource-output capture, runtime JSON and screenshot: ignored build/evidence/assignment8-agent-migration/. Protected server reports: /root/ssw590-delivery-bootstrap/agent-migration/. The short trial used swap and does not prove full release, recovery or campus presentation performance.

No firewall rule, credential scope, TLS verification, peer-review requirement or human production approval changed. Co-located Docker authority gives trusted jobs administrative access to the shared host; this is an explicit course-lab trade-off. The older Gitea Actions PDF runner remains on the laptop. No new instance or cloud plan change was made. Migration changes are uncommitted; DNS, reviewed releases, production approvals and recovery exercises remain pending.

Subsequently Vincent requested moving that Actions runner too. The statement above describes the end of the delivery-agent migration, not current placement. See the later runner record.