Skip to content

Conversation

@wfurt
Copy link
Member

@wfurt wfurt commented Mar 3, 2023

contributes to #81901.
Alpine 3.13 reached EOS last year, Alpine 3.14 will reach EOS 2023-05-01 https://www.alpinelinux.org/releases/
So I updated base version with the update as well for both libraries & coreclr
Brings fix for microsoft/msquic#3448

@ghost
Copy link

ghost commented Mar 3, 2023

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost assigned wfurt Mar 3, 2023
@ghost
Copy link

ghost commented Mar 5, 2023

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details

null

Author: wfurt
Assignees: wfurt
Labels:

area-Infrastructure

Milestone: -

@wfurt wfurt marked this pull request as ready for review March 5, 2023 19:13
Copy link
Member

@ManickaP ManickaP left a comment

Choose a reason for hiding this comment

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

Thanks!!!

I also found usage of 3.13 here: https://github.com/dotnet/runtime/blob/main/eng/pipelines/common/templates/pipeline-with-resources.yml#L23-L23

I'm not sure whether that can or cannot affect Quic tests, if not that great.

- ${{ if and(eq(parameters.platform, 'linux_musl_arm64'), or(eq(parameters.jobParameters.isExtraPlatforms, true), eq(parameters.jobParameters.includeAllPlatforms, true))) }}:
- (Alpine.313.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.13-helix-arm64v8
- (Alpine.314.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.14-helix-arm64v8
- (Alpine.317.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.17-helix-arm64v8
Copy link
Member

@ManickaP ManickaP Mar 6, 2023

Choose a reason for hiding this comment

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

There's inclusion of 3.15 and 3.17 few lines above. I'm trying to decode the conditions and difference between them:

above:
linux_musl_x64 && ( ! isExtraPlatforms || includeAllPlatforms) --> 3.15
linux_musl_x64 && (   isExtraPlatforms || includeAllPlatforms) --> 3.17

here:
linux_musl_x64 && (   isExtraPlatforms || includeAllPlatforms) --> 3.15 && 3.17

Should this be somehow collapsed into one block? Are we running twice on 3.17 thanks to this?

Copy link
Member Author

Choose a reason for hiding this comment

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

I probably don't understand the comment. the section above (assuming lines 50-55) are for x86 e.g. amd64. Line 59 is for arm64 e.g. arm64v8

Copy link
Member

Choose a reason for hiding this comment

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

Fudge, arm and amd look too similar 🤣 Nevermind then.

- ${{ if eq(parameters.platform, 'linux_musl_x64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Alpine.314.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64
- (Alpine.315.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.15-helix-amd64
Copy link
Member

Choose a reason for hiding this comment

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

We had the "newer" Alpine here. Should we then rather use 3.17 here?
Based on https://endoflife.date/alpine 3.15 will get EOLed around the time we ship 8.0.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure and I did not want to jump too far. Up to 3.16 Alpine uses OpenSSL 1.1 while 3.17 switched to 3.0. It may be beneficial to run both - at least for now. ASP.NET jumped on 3.16 and we may do that later before 8.0 ships. For now, I'm proposing to run on oldest(ish) supported version.

@wfurt
Copy link
Member Author

wfurt commented Mar 8, 2023

Thanks!!!

I also found usage of 3.13 here: https://github.com/dotnet/runtime/blob/main/eng/pipelines/common/templates/pipeline-with-resources.yml#L23-L23

I'm not sure whether that can or cannot affect Quic tests, if not that great.

I think this is for build as it does not have the -helix tag. @carlossanlop or @ViktorHofer may be able to confirm.
I did not want to touch the images for build as it may impact compatibility. since 3.13 is out of support it is something we should probably do anyway independently.

@wfurt wfurt merged commit f52e277 into dotnet:main Mar 10, 2023
@wfurt wfurt deleted the alpine branch March 10, 2023 19:11
@ghost ghost locked as resolved and limited conversation to collaborators Apr 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants