docs(fc-build-windows): capture runner operator gate
This commit is contained in:
61
apps/fc-build-windows/operator-gate-configmap.yaml
Normal file
61
apps/fc-build-windows/operator-gate-configmap.yaml
Normal file
@@ -0,0 +1,61 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: fc-build-windows-operator-gate
|
||||
namespace: kubevirt-vms
|
||||
labels:
|
||||
app.kubernetes.io/name: fc-build-windows
|
||||
app.kubernetes.io/component: operator-gate
|
||||
app.kubernetes.io/part-of: github-runner
|
||||
flowercore.io/q-card: Q-MR-82
|
||||
annotations:
|
||||
flowercore.io/outcome: OPEN-WITH-OPERATOR-ACTION
|
||||
flowercore.io/live-runner: "false"
|
||||
data:
|
||||
outcome: OPEN-WITH-OPERATOR-ACTION
|
||||
gate.md: |
|
||||
Do not treat this ConfigMap as runner capacity.
|
||||
|
||||
Current probe, 2026-05-20:
|
||||
- RKE2 nodes are linux-only; Windows containers require a Windows node.
|
||||
- KubeVirt `ci1` is Running/Ready, but RDP 3389, WinRM 5985, and SSH 22
|
||||
through `virtctl port-forward` return `connect: no route to host`.
|
||||
- GitHub Updater runner list has only `bluejay-ws-sandbox-1`, status
|
||||
offline. Updater Windows Sandbox E2E run 26150689447 remains queued.
|
||||
|
||||
Required operator action:
|
||||
1. Make a dedicated Windows VM reachable and durable.
|
||||
2. Install .NET 10 SDK, .NET 8 Desktop Runtime, Git, VS Build Tools, and
|
||||
PowerShell 7.
|
||||
3. Register repo-scoped runners with short-lived GitHub registration tokens.
|
||||
4. Add `fc-build-windows` labels only to WPF build-capable guests.
|
||||
5. Add `windows-sandbox` labels only after Sandbox support is proven.
|
||||
registration-token-pattern.ps1: |
|
||||
$repo = "FlowerCore.Updater"
|
||||
$token = gh api -X POST "/repos/astoltz/$repo/actions/runners/registration-token" --jq .token
|
||||
$runnerDir = "C:\fc-ghr\updater-fc-build-windows"
|
||||
|
||||
New-Item -ItemType Directory -Force -Path $runnerDir | Out-Null
|
||||
Set-Location $runnerDir
|
||||
|
||||
# Install the Actions runner package here if config.cmd is absent.
|
||||
.\config.cmd `
|
||||
--url "https://github.com/astoltz/$repo" `
|
||||
--token $token `
|
||||
--name "ci1-updater-fc-build-windows" `
|
||||
--labels "self-hosted,windows,fc-build-windows,ci1" `
|
||||
--work "_work" `
|
||||
--unattended `
|
||||
--replace
|
||||
|
||||
.\svc.ps1 install
|
||||
.\svc.ps1 start
|
||||
verification.ps1: |
|
||||
gh api /repos/astoltz/FlowerCore.Updater/actions/runners `
|
||||
--jq '.runners[] | {name,status,busy,labels:[.labels[].name]}'
|
||||
|
||||
gh run list --repo astoltz/FlowerCore.Updater `
|
||||
--workflow "Updater Windows Sandbox E2E" --limit 3
|
||||
|
||||
$env:KUBECONFIG="$env:USERPROFILE\.kube\rke2.yaml"
|
||||
kubectl -n kubevirt-vms get vm,vmi,pods -o wide
|
||||
Reference in New Issue
Block a user