ci: win-ci VM 을 재부팅 후에도 살아나게 + VM 안 자체 검증 절차
Some checks failed
Windows / verify (push) Has been cancelled
Some checks failed
Windows / verify (push) Has been cancelled
트랜지언트 유닛은 재부팅에 안 남는다. 러너 호스트가 재부팅마다 사라지면 CI 가 조용히 대기 상태가 되므로 영구 user 유닛으로 박는다 (linger=yes 라 로그인 없이도 올라온다). cgroup/CPU 상한은 트랜지언트 때와 동일하다. stage2 에는 러너 등록 토큰 없이도 워크플로와 같은 단계를 VM 안에서 직접 돌리는 검증을 넣었다. 첫 실행에서 실제로 결함 하나를 잡았다.
This commit is contained in:
12
scripts/win-ci/win-ci-http.service
Normal file
12
scripts/win-ci/win-ci-http.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=win-ci guest control channel (host -> Windows VM)
|
||||
Before=win-ci.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/python3 /home/claude/win-ci/serve-host.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user