Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows CI #1529

Open
BenTheElder opened this issue Apr 30, 2020 · 3 comments
Open

Windows CI #1529

BenTheElder opened this issue Apr 30, 2020 · 3 comments
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.

Comments

@BenTheElder
Copy link
Member

We should add CI for kind-on-windows.

AFAICT so far we cannot get github actions to create linux containers on windows, but we could probably bring up a GCE windows VM in a boskos managed project and run tests there?

Prow does not have windows nodes, but even if it did a windows container would not work, we need a windows VM or baremetal.

It would be nice to do this in a periodic job so we can check for breakage in a less manual way.

@BenTheElder BenTheElder added the kind/feature Categorizes issue or PR as related to a new feature. label Apr 30, 2020
@BenTheElder BenTheElder added this to the 2020 goals milestone Apr 30, 2020
@BenTheElder BenTheElder added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Apr 30, 2020
@BenTheElder
Copy link
Member Author

NOTE: it is probably non-trivial to navigate kubernetes's CI to make this work. While we're looking for help, don't expect this to necessarily be an easy starter task!

We're looking for a full test of creating a cluster. We already verify cross compliation.

@BenTheElder BenTheElder changed the title Window CI Windows CI Apr 30, 2020
@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 29, 2020
@BenTheElder BenTheElder added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jul 31, 2020
@kubernetes-sigs kubernetes-sigs deleted a comment from fejta-bot Jul 31, 2020
@BenTheElder BenTheElder modified the milestones: 2020 goals, 2021 goals Jan 25, 2021
@wolf99
Copy link

wolf99 commented Feb 3, 2022

Apologies if this is a naive suggestion; but could this help?

https://github.com/marketplace/actions/setup-wsl

@BenTheElder
Copy link
Member Author

I think the issue is folks are primarily on WSL2 not WSLv1 (e.g. the only docs contributed so far are for WSL2 https://kind.sigs.k8s.io/docs/user/using-wsl2/), which requires virtualization support. Per setup-wsl:

WSLv2 is not explicitly supported, because as of this writing neither the Windows version running on GitHub hosted runners supports WSLv2, nor is Hyper-V enabled which is also necessary to enable WSLv2.

This is the problem we ran into trying to setup CI ourselves previously. @amwat and I hacked on this previously but hit that limitation with no nested virtualization support in the github actions environment.

We learned that macOS runners (and only macOS) on github.com do have virtualization support, but didn't manage to get docker desktop running. Later someone contributed vagrant/linux rootless configurations running under macOS for testing rootless. We might be able to run windows in a VM under macOS 😂 but I'm not sure about say, licensing ...

"self hosted" runners using cloud VMs from SIG K8s Infra might? be an option, but perhaps higher effort and more to maintain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.
Projects
None yet
Development

No branches or pull requests

3 participants