Move CI runners to Droplet and enable application HTTPS
vpn-dns-gateway/pipeline/pr-main This commit looks good

This commit is contained in:
2026-11-15 12:49:06 -05:00
parent bf28adc7fb
commit ed0a862657
36 changed files with 1266 additions and 72 deletions
@@ -42,6 +42,9 @@ The runner requests work from the same HTTPS service and has no public
submission listener.
\section{Runner Setup}
This section preserves the October 7 setup. The November migration recorded
at the end of this chapter supersedes its laptop placement and start procedure.
The repository-scoped \gls{build-runner} \texttt{ssw590-vince-local}, version 2.3.0,
runs as Docker container \texttt{ssw590-local-runner} on Vincent's Windows
laptop using Docker Desktop's Linux engine. Its \texttt{latex-local} label
@@ -353,4 +356,38 @@ was merged and issue \#12 is closed (re-checked in Gitea on October 22), and
the merged-\texttt{main} workflow run~6 passed (verified by Vincent on
October 21). The paragraph above is kept as the version 3.4 record.
\section{November 2026 Runner Migration}
On November 14 Vincent requested moving this runner to the existing 2\,GiB
The-Ocean droplet for the final demonstration. Codex stopped the laptop daemon,
transferred the same compiler image with archive checksum and image-ID checks,
and streamed the existing registration over pinned SSH directly into a protected
Docker volume. No registration value entered the repository or output. The
historical name \texttt{ssw590-vince-local} and label \texttt{latex-local} remain;
the active container is \texttt{ssw590-manual-runner}. Repository scope is unchanged.
The first 96 MiB daemon trial exceeded its memory cap during action setup and
restarted. Its attempt was canceled and retained as failure evidence. With the
daemon raised to 192 MiB RAM / 256 MiB RAM+swap and 0.25 CPU, the
\href{https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/actions/runs/12/jobs/14}{run 12 attempt 3 job}
passed checkout, compilation and both uploads in 4m32s (compilation 1m42s).
It rebuilt reviewed main commit \texttt{8beefde}, not Assignment 8's uncommitted
preparation. Diagnostics and the retrieved PDF checksum match; the opened title
shows \texttt{5.1+build.12.8beefde}. This is migration evidence, not an Assignment 8 release.
Compiler jobs have separate 512/768 MiB RAM/RAM+swap, 0.5 CPU and 256 PID
caps. No host port or job Docker socket mount is added. TLS checks remain
enabled. New-job admission pauses below 600 MiB available host RAM or 3 GiB
free disk; it does not reserve resources or coordinate Jenkins. Run manual
builds and delivery releases sequentially. The runner still has administrative
Docker authority over the shared host, so workflow editors remain trusted.
The daemon uses \texttt{unless-stopped}; idle restart/reconnect passed at
04:55:52 UTC on November 15 (the request was November 14 Eastern).
\path{gitea/droplet-runner/README.md} records operations and fallback;
\path{gitea/droplet-runner/EVIDENCE.md} links the dated evidence. The original
laptop identity/image are retained but inactive. Its helper requires
\texttt{-AllowLaptopFallback} after stopping the remote copy. VS maintains the
runner and BY the host; no new cloud instance or resize was made. Hosts and
hints-only Passwords tables reflect current placement.
\endgroup