Prepare v6.0.4-rc.1 support build

Mark the Proxmox agent token isolation fix for a private Pro support prerelease.

Refs 04a9e6ad3
This commit is contained in:
rcourtman 2026-07-05 20:39:27 +01:00
parent 04a9e6ad3e
commit bd7087f101
3 changed files with 27 additions and 2 deletions

View file

@ -61,6 +61,20 @@ class ValidateArtifactReleaseLineTest(unittest.TestCase):
self.assertEqual(result["lineage"], "stable_patch")
self.assertEqual(result["lineage_tag"], "v6.0.0")
def test_prerelease_support_tag_does_not_require_stable_lineage(self) -> None:
result = self.validate(
tag="v6.0.4-rc.1",
existing_tags={"v6.0.4-rc.1"},
commits={
"v6.0.4-rc.1": "support-rc",
"origin/pulse/v6-release": "branch",
},
ancestors={("support-rc", "branch")},
)
self.assertEqual(result["lineage"], "prerelease")
self.assertEqual(result["lineage_tag"], "")
def test_stable_patch_rejects_without_previous_stable_or_rc(self) -> None:
with self.assertRaisesRegex(ValueError, "previous stable tag v6.0.0"):
self.validate(