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 Support #546

Merged
merged 2 commits into from
Jan 21, 2021
Merged

Windows Support #546

merged 2 commits into from
Jan 21, 2021

Conversation

matthewmcnew
Copy link
Collaborator

No description provided.

pkg/registry/fetch.go Outdated Show resolved Hide resolved
@tomkennedy513 tomkennedy513 changed the title DRAFT Windows Support Windows Support Jan 5, 2021
@@ -3,7 +3,9 @@
controller_image: gcr.io/controller
webhook_image: gcr.io/webhook
build_init_image: gcr.io/build-init
build_init_windows_image: gcr.io/cf-build-service-public/kpack/build-init-windows
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is the expectation that this is built/updated out of band of ./hack/release.sh?

Copy link
Collaborator

Choose a reason for hiding this comment

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

yes, at least for now. Maybe in the future we could conceivably build the images using something other than pack that could run on linux and still build the windows images

@tomkennedy513 tomkennedy513 marked this pull request as ready for review January 5, 2021 20:02
@tomkennedy513 tomkennedy513 self-assigned this Jan 5, 2021
@tomkennedy513 tomkennedy513 linked an issue Jan 6, 2021 that may be closed by this pull request
go.mod Outdated Show resolved Hide resolved
pkg/git/fetch.go Outdated Show resolved Hide resolved
pkg/apis/build/v1alpha1/build_pod.go Outdated Show resolved Hide resolved
pkg/buildpod/generator.go Show resolved Hide resolved
cmd/build-init/main.go Outdated Show resolved Hide resolved
cmd/build-init/main.go Outdated Show resolved Hide resolved
cmd/build-init/main.go Outdated Show resolved Hide resolved
@matthewmcnew
Copy link
Collaborator Author

What are are remaining issues with Windows?

  • Cache Support

matthewmcnew and others added 2 commits January 20, 2021 16:53
- wait for dns on windows. This is dues to the fact that windows
containers on docker don't start up without their network ready so we
have to wait. we think that this can be removed when containerd is the default runtime. In the build-init binary
we don't error on timeout because we assume that it timed out due to an
incorrect host, so we want the normal error for that to still apply.
- create network wait launcher binary. This is used to execute the
lifecycle containers during the build after the network is ready in
windows containers. it is built with build-init and copied to a shared
volume during the prepare step. we also think this can be removed when
containerd is the default runtime
- Copy git repository to workspace directory becase clone directly to workspace was causing issues on Windows
- add os to builder status
- Update openapi spec with latest openapi gen binary
- add windows images to controller yaml
- caching is not currently implemented for windows builds because the
DefaultStorageClass isn't always compatible with windows. This will
require more investigation

Co-authored-by: Tom Kennedy <ktom@vmware.com>
Co-authored-by: Anthony Emengo <aemengo@vmware.com>
Co-authored-by: Matthew McNew <mmcnew@pivotal.io>
Copy link
Contributor

@tylerphelan tylerphelan left a comment

Choose a reason for hiding this comment

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

amazing work!

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.

kpack can create windows images
5 participants