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

fix: Upgrade windows container to ltsc2022 #11246

Merged
merged 2 commits into from
Jun 22, 2023

Conversation

tico24
Copy link
Member

@tico24 tico24 commented Jun 21, 2023

Fixes #10738
and the fact that Windows builds were not releasing.

Older builds were on the 1809 container, which isn't supported any more. Chocolatey recently dropped support and this is what killed the build.

The container we are replacing went out of Microsoft support in November 2020, so this shouldn't be a huge surprise for Windows users: https://learn.microsoft.com/en-us/lifecycle/announcements/windows-10-1809-end-of-servicing

Motivation

Updates to a supported version of Windows and allows the release mechanism to work again.

Modifications

  • Upgraded dockerfile to ltsc2022
  • CI runs on server 2022

I'm not super familiar with how windows containers work (if they do at all :p) but I think this now means that workflows will only run on server 2022 - it looks like containers are pinned to their host in the least containery-way possible. So this probably requires a minor release of Workflows, not a patch.

Verification

Built on the Pipekit fork and released as mentioned below in the comments.

image

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

Can you try trigger a release build but only builds the image? https://github.com/argoproj/argo-workflows/blob/master/.github/workflows/release.yaml

@tico24
Copy link
Member Author

tico24 commented Jun 21, 2023

I don't have permissions to do that.

@terrytangyuan
Copy link
Member

You can comment out most of it and only runs a docker build on Windows. You can run modify it to run it in your fork too

@tico24
Copy link
Member Author

tico24 commented Jun 22, 2023

This PR remains in draft for now, but I have something working

@terrytangyuan if you wish to test:

docker pull quay.io/pipekitdev/workflow-controller:dev-windows-windows
docker pull quay.io/pipekitdev/argoexec:dev-windows-windows

@terrytangyuan
Copy link
Member

If it's working, we can merge it. Let me know when ready.

Copy link
Member

@JPZ13 JPZ13 left a comment

Choose a reason for hiding this comment

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

Validated on our fork

@tico24 tico24 marked this pull request as ready for review June 22, 2023 15:38
@tico24
Copy link
Member Author

tico24 commented Jun 22, 2023

Moving back to draft. The pull test failed

@tico24 tico24 marked this pull request as draft June 22, 2023 16:11
@terrytangyuan terrytangyuan marked this pull request as ready for review June 22, 2023 16:45
Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

Passing now. Thanks!

@terrytangyuan terrytangyuan changed the title chore: Upgrade windows container to ltsc2022 fix: Upgrade windows container to ltsc2022 Jun 22, 2023
@terrytangyuan terrytangyuan merged commit b89c98b into argoproj:master Jun 22, 2023
@tico24
Copy link
Member Author

tico24 commented Jun 22, 2023

Err. It's not. But... ok?

JPZ13 pushed a commit to pipekit/argo-workflows that referenced this pull request Jul 4, 2023
jeremyhager pushed a commit to jeremyhager/argo-workflows that referenced this pull request Jul 7, 2023
terrytangyuan pushed a commit that referenced this pull request Jul 19, 2023
dpadhiar pushed a commit to dpadhiar/argo-workflows that referenced this pull request May 9, 2024
@agilgur5 agilgur5 added area/build Build or GithubAction/CI issues area/windows Windows Container support area/executor labels Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Build or GithubAction/CI issues area/executor area/windows Windows Container support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build argoexec for windows 2022
4 participants