Skip to content

Define multi-arch tags for each Linux distro - #2288

Merged
mthalman merged 9 commits into
dotnet:feature/issue2182from
mthalman:issue2182
Oct 7, 2020
Merged

mthalman merged 9 commits into
dotnet:feature/issue2182from
mthalman:issue2182

Conversation

@mthalman

@mthalman mthalman commented Oct 2, 2020 •

Copy link
Copy Markdown
Member

Defines a multi-arch tag for each Linux distro for 5.0. Because of limitations in the manifest schema, this required duplicating the platforms in order to assign them a distinct set of shared tags.

Related to #2182

@mthalman
mthalman requested a review from MichaelSimons October 2, 2020 15:41
@mthalman
mthalman marked this pull request as draft October 2, 2020 17:41
@mthalman

mthalman commented Oct 2, 2020

Copy link
Copy Markdown
Member Author

Found an issue in the matrix generation for PR builds that needs to be addressed.

Comment thread README.aspnet.preview.md Resolved
Comment thread manifest.json Outdated
"id": "nanoserver-1809",
"productVersion": "$(dotnet|5.0|product-version)",
"sharedTags": {
"$(dotnet|5.0|product-version)-nanoserver-1809": {},

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Given we only support amd64 for Windows, I wonder if these should be define as concrete tags instead of manifest tags? Are we adding overhead for no value?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Based on discussion, I've removed these tags. Their only purpose was to have consistency with the Linux tagging pattern. Functionally, they offered no value since Windows has only one architecture that we support. So the value in having them just isn't there since it just adds unnecessary tags for people to have to sort through. We can always add them if we get feedback that having consistency is desired.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we want to remove the arch tagsfor Windows and leave the simpler, non-arch tags.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think we want to remove the arch tagsfor Windows and leave the simpler, non-arch tags.

I'd much prefer having consistency in the tagging scheme when it comes essentially for free, without any extra complexity. That is, all concrete tags are arch-specific, period. Any arch-less tags are shared tags. What would be the benefit of not including the arch in the concrete tags?

@mthalman
mthalman marked this pull request as ready for review October 6, 2020 18:12
@mthalman mthalman changed the title Define multi-arch tags for each OS version Define multi-arch tags for each Linux distro Oct 7, 2020
@mthalman
mthalman merged commit 6c07fda into dotnet:feature/issue2182 Oct 7, 2020
@mthalman
mthalman deleted the issue2182 branch October 7, 2020 19:59
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.

2 participants