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

[CI] Update wincni #4055

Merged
merged 1 commit into from
Mar 30, 2025
Merged

[CI] Update wincni #4055

merged 1 commit into from
Mar 30, 2025

Conversation

apostasie
Copy link
Contributor

@apostasie apostasie commented Mar 29, 2025

WinCNI is currently installed by a third-party script that retrieves a very old version.

This adopts the script - which allows us to control the version we want and saves us having to clone out containerd-v1.7.

Signed-off-by: apostasie <[email protected]>
@apostasie apostasie changed the title Update wincni [CI] Update wincni Mar 29, 2025
# nat already exists on the Windows VM, the subnet and gateway
# we specify should match that.
: "${GATEWAY:=$(powershell -c "(Get-NetIPAddress -InterfaceAlias 'vEthernet (nat)' -AddressFamily IPv4).IPAddress")}"
: "${PREFIX_LEN:=$(powershell -c "(Get-NetIPAddress -InterfaceAlias 'vEthernet (nat)' -AddressFamily IPv4).PrefixLength")}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason not to use PowerShell for the entire script?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just lazyness. I do not know much about PowerShell and have no windows laptop...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe somebody more windows inclined could look into this in an upcoming PR and powershell it.

@AkihiroSuda AkihiroSuda added this to the v2.0.5 milestone Mar 30, 2025
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda merged commit 0881ccb into containerd:main Mar 30, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants