Skip to content

Latest Tag Static Validation Tests - #5852

Merged
ellahathaway merged 7 commits into
dotnet:nightlyfrom
ellahathaway:latest-tags
Sep 6, 2024
Merged

ellahathaway merged 7 commits into
dotnet:nightlyfrom
ellahathaway:latest-tags

Conversation

@ellahathaway

Copy link
Copy Markdown
Member

This PR is part of the logic needed to complete #5838.

Tests for Latest Tags
In StaticTagTests.cs, this PR introduces tests to ensure adherence to the latest tag rules:

  • LatestTag_OnePerRepo: Verifies that there is only one latest tag per repository.
  • LatestTag_IsNotPlatformSpecific: Ensures the latest tag is a shared-tag and is not specified in any platform's tags.
  • LatestTag_OnCorrectMajorVersion: Confirms that the latest tag points to the expected major version for each repo.

Parsing Logic for Image-Builder Manifest
In ManifestHelper.cs, this PR adds logic to parse the image-builder manifest into a format suitable for testing.

@ellahathaway
ellahathaway marked this pull request as ready for review September 3, 2024 17:24
@ellahathaway
ellahathaway requested a review from a team as a code owner September 3, 2024 17:24
@ellahathaway
ellahathaway enabled auto-merge (squash) September 6, 2024 18:15
@ellahathaway
ellahathaway merged commit 13e5fb9 into dotnet:nightly Sep 6, 2024
@ellahathaway
ellahathaway deleted the latest-tags branch September 6, 2024 18:42
lbussell pushed a commit to lbussell/dotnet-docker that referenced this pull request Sep 9, 2024
@ellahathaway ellahathaway mentioned this pull request Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants