ci: plan for when the windows-2022 runner is retired
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 30/100
Direzione di ricerca
Start from the e2e test on windows job in the GitHub Actions workflow files, where #1464 pinned windows-2022, and from the k3s setup that uses knicknic/temp-kubernetes-ci. Check whether DISM /Online /Add-Capability /CapabilityName:WMIC~~~~ works on a windows-2025 runner and how long it takes. Done means a recorded comparison of the three options, with one of them tested on a fork's CI run.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What would you like to be added?
A plan to move the e2e test on windows job off windows-2022 before GitHub retires that runner image.
#1464 pinned the job to windows-2022 because windows-latest (Windows Server 2025) no longer ships wmic, and the kubelet in the k3s from knicknic/temp-kubernetes-ci fails to start without it:
exec: "wmic": executable file not found in %PATH%
Options, roughly from smallest to largest:
- Stay on
windows-2025and add WMIC back before k3s starts. It is still available as a Windows optional feature:DISM /Online /Add-Capability /CapabilityName:WMIC~~~~. This needs a check that the capability can be installed on the hosted runner, and how long it takes. - Replace
knicknic/temp-kubernetes-ciwith a cluster setup that does not needwmic, for example kind or k3d with Docker on Windows, if that works on hosted Windows runners. - Run the Windows job against a cluster started on a Linux job, so Windows only runs the
kusionbinary.
Why is this needed?
GitHub has not announced a retirement date for windows-2022 yet. Under its runner image policy, the oldest Windows image is deprecated once a newer one is GA, with an announcement and brownouts before removal. When that happens, the Windows nightly will go red again with the same error as #1237.
Suggested by @elliotxx in the review of #1464. I'm happy to try option 1 first on my fork's CI and report back.
- Lingua principale
- Go
- Stelle
- 1.3k
- Fork
- 111
- Merge medio
- 2g 12h
- PR unite (30g)
- 2
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di KusionStack/kusion
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
KusionStack/kusion#1450 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
KusionStack/kusion#1448 ·
-
Feat: AI-coding/vibe-coding support for writing Kusion modulesForse di nuovo libera @ruquanzhao l’ha presa 472 giorni fa e non c’è nessuna pull request aperta. Apertakind/feature
KusionStack/kusion#1436 · 1 reazione · 1 assegnatario ·
-
kind/feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
KusionStack/kusion#1431 ·
-
Feat: Kusion x RayApertakind/feature priority/important-longterm
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
KusionStack/kusion#1415 ·
Tutte le issue di KusionStack/kusion
Issue simili
-
status:needs-review type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Gentleman-Programming/engram#2079 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
limitlessprojects/Go-Hybrid#1377 ·
I maintainer di solito rispondono entro 1 giorno
-
bug report
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno