fix(nightly): enable Linux package_formats (including Flatpak) in signing policy (#17594)

This commit is contained in:
Dylan M. Taylor authored and GitHub committed 2026-11-28 22:39:41 -05:00
1 parent 7199576a93
commit e0b1d8ff5f
3 files changed
+20 -3

No files matched your search

+9 -1
View File
@@ -298,7 +298,15 @@
"unsigned_artifact_name": "nightly-unsigned-linux-x86_64",
"trust": {
"fingerprint": "2B76741B414AAD6CD33E631213A005C0B9D7C3ED"
}
},
"package_formats": [
"appimage",
"arch",
"deb",
"flatpak",
"oci",
"rpm"
]
},
"macos-aarch64": {
"unsigned_artifact_name": "nightly-unsigned-macos-aarch64",
+9 -1
View File
@@ -42,7 +42,15 @@
"unsigned_artifact_name": "nightly-unsigned-linux-x86_64",
"trust": {
"fingerprint": "2B76741B414AAD6CD33E631213A005C0B9D7C3ED"
}
},
"package_formats": [
"appimage",
"arch",
"deb",
"flatpak",
"oci",
"rpm"
]
},
"macos-aarch64": {
"unsigned_artifact_name": "nightly-unsigned-macos-aarch64",
+2 -1
View File
@@ -431,7 +431,8 @@ class TrustedSourcePreparation(unittest.TestCase):
for platform, row in policy["platforms"].items():
field, _ = NIGHTLY_TRUST[platform]
with self.subTest(platform=platform):
self.assertEqual(set(row), {"unsigned_artifact_name", "trust"})
expected_keys = {"unsigned_artifact_name", "trust", "package_formats"} if platform == "linux-x86_64" and "package_formats" in row else {"unsigned_artifact_name", "trust"}
self.assertEqual(set(row), expected_keys)
self.assertEqual(set(row["trust"]), {field}, "each platform has only its own trust anchor")
def test_candidate_example_has_exact_v3_fields_without_provider_scope_claim(self):