Move CI runners to Droplet and enable application HTTPS
vpn-dns-gateway/pipeline/pr-main This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# Local Gitea runner (Assignment 5 preparation)
|
||||
|
||||
**Current placement, 14 November 2026:** the active runner has moved to
|
||||
The-Ocean. This directory preserves the original laptop configuration and
|
||||
historical setup. See [`../droplet-runner/README.md`](../droplet-runner/README.md).
|
||||
The laptop copy is stopped; Register/Start now require `-AllowLaptopFallback`
|
||||
after stopping the remote copy. Never run both registrations simultaneously.
|
||||
The setup instructions below describe the original October installation.
|
||||
|
||||
Run from the repository root in PowerShell with Docker Desktop's Linux engine running:
|
||||
|
||||
```powershell
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[ValidateSet('Check', 'Register', 'Start', 'Logs', 'Stop')]
|
||||
[string]$Action = 'Check'
|
||||
[string]$Action = 'Check',
|
||||
[switch]$AllowLaptopFallback
|
||||
)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
if ($Action -in @('Register', 'Start') -and -not $AllowLaptopFallback) {
|
||||
throw 'This runner now runs on The-Ocean. Stop the remote copy first, then pass -AllowLaptopFallback for an intentional laptop fallback. Never run both copies of the registration.'
|
||||
}
|
||||
$composeFile = Join-Path $PSScriptRoot 'compose.yaml'
|
||||
$composeArgs = @('compose', '--project-name', 'ssw590-local-runner', '-f', $composeFile)
|
||||
$runnerImage = 'docker.io/gitea/runner@sha256:66d80966792e621c9761c47919644198d35fd1c297e9a01e69ed3c1ae37db0c7'
|
||||
|
||||
Reference in New Issue
Block a user