mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
fix(nightly): enable Linux package_formats (including Flatpak) in signing policy (#17594)
This commit is contained in:
1 parent
7199576a93
commit
e0b1d8ff5f
3 files changed
+20
-3
No files matched your search
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user