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

Remove Windows Support #1441

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Remove Windows Support #1441

wants to merge 2 commits into from

Conversation

jabrown85
Copy link
Contributor

Summary

I took a swing at removing any and all references to windows in this reference implementation. There are for sure areas that can be cleaned up and reduce complexity further. This was a first pass to get things compiling and actions working.

Release notes

Windows support has been removed from lifecycle. Lifecycle no longer outputs a windows binary as a release artifact Lifecycle no longer operates against windows containers.


Related

buildpacks/rfcs#311


Context

https://medium.com/buildpacks/deprecation-announcement-windows-container-feature-in-cloud-native-buildpacks-bbb70351343d

I took a swing at removing any and all references to windows in this reference implementation.

Lifecycle no longer outputs a windows binary as a release artifact
Lifecycle no longer operates against windows containers

buildpacks/rfcs#311
https://medium.com/buildpacks/deprecation-announcement-windows-container-feature-in-cloud-native-buildpacks-bbb70351343d

Signed-off-by: Jesse Brown <[email protected]>
@jabrown85 jabrown85 self-assigned this Dec 10, 2024
@jabrown85 jabrown85 marked this pull request as ready for review December 10, 2024 23:15
@jabrown85 jabrown85 requested a review from a team as a code owner December 10, 2024 23:15
@jabrown85 jabrown85 requested a review from jkutner December 12, 2024 16:30
Copy link
Contributor

@joeybrown-sf joeybrown-sf left a comment

Choose a reason for hiding this comment

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

small nit about test contexts but lgtm

@@ -486,7 +486,7 @@ func testAnalyzer(platformAPI string) func(t *testing.T, when spec.G, it spec.S)

it("populates target metadata from the run image", func() {
h.AssertNil(t, previousImage.SetLabel("io.buildpacks.base.id", "id software"))
h.AssertNil(t, previousImage.SetOS("windows"))
h.AssertNil(t, previousImage.SetOS("zindows"))
Copy link
Member

Choose a reason for hiding this comment

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

what's the deal with this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wanted to rid ourselves of any references to the string windows - I mostly did it as I removed all references but decided to leave it so it was clear we don't actually support windows OS images in this repo.

@@ -744,7 +744,7 @@ func testDetector(t *testing.T, when spec.G, it spec.S) {
Targets: []buildpack.TargetMetadata{
{Arch: "P6", ArchVariant: "Pentium Pro", OS: "Win95",
Distros: []buildpack.OSDistro{
{Name: "Windows 95", Version: "OSR1"}, {Name: "Windows 95", Version: "OSR2.5"}}},
{Name: "Sceens 95", Version: "OSR1"}, {Name: "Sceens 95", Version: "OSR2.5"}}},
Copy link
Member

Choose a reason for hiding this comment

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

O_O

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same as #1441 (comment)

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.

3 participants