-
Notifications
You must be signed in to change notification settings - Fork 168
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
Remove support for windows builds #1834
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we blow up if someone tries to create a builder for a windows stack? Along the same line, should we blow up if a build tries to happen on an existing builder that is windows based?
related discussion #1366 Signed-off-by: Tom Kennedy <[email protected]>
3b2cd8b
to
27ad1b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this mean we can use the core project provided lifecycle images now?
We have to make a few more changes to use them directly. @natalieparellano has most of a pr adding support for that if you want to help drive it over the line |
I believe, after merging this PR we can close the following issues #1131 and #1333, right? @tomkennedy513 |
Signed-off-by: Tom Kennedy <[email protected]>
Added an error and test case if the stack is windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need an RFC PR for this, mainly so that we can mark https://github.com/buildpacks-community/kpack/blob/main/rfcs/0003-windows-images.md as superseded/reverted
Good call |
b9ad5b3
to
8ffa690
Compare
- also clean up unused code Signed-off-by: Tom Kennedy <[email protected]>
8ffa690
to
93342d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about removing the OS
field from the BuilderStatus? I'm on the fence as I don't seem much harm either way
kpack/pkg/apis/build/v1alpha2/builder_types.go
Lines 70 to 80 in f5c8a87
type BuilderStatus struct { | |
corev1alpha1.Status `json:",inline"` | |
BuilderMetadata corev1alpha1.BuildpackMetadataList `json:"builderMetadata,omitempty"` | |
Order []corev1alpha1.OrderEntry `json:"order,omitempty"` | |
Stack corev1alpha1.BuildStack `json:"stack,omitempty"` | |
LatestImage string `json:"latestImage,omitempty"` | |
ObservedStackGeneration int64 `json:"observedStackGeneration,omitempty"` | |
ObservedStoreGeneration int64 `json:"observedStoreGeneration,omitempty"` | |
OS string `json:"os,omitempty"` | |
SignaturePaths []CosignSignature `json:"signaturePaths,omitempty"` | |
} |
Ya I left it because it didn't seem like it caused harm, but if it's only ever going to be Linux, then it probably can be removed |
@chenbh One issue is that it's technically a breaking change in the api if we remove it |
With windows support removed from the lifecycle we have no way to build windows builders.
related discussion #1366