Bind policy nexus release 2 for production
This commit is contained in:
parent
234cdfa4bb
commit
7cfcf8b5d1
4 changed files with 34 additions and 12 deletions
|
|
@ -25,6 +25,12 @@ def main() -> int:
|
|||
r"[a-f0-9]{64}", binding.get("publication_manifest_digest") or ""
|
||||
):
|
||||
parser.error("binding publication_manifest_digest must be 64 lowercase hex")
|
||||
if not re.fullmatch(
|
||||
r"[a-f0-9]{64}", binding.get("source_inventory_digest") or ""
|
||||
):
|
||||
parser.error("binding source_inventory_digest must be 64 lowercase hex")
|
||||
if not re.fullmatch(r"[a-f0-9]{64}", binding.get("source_set_digest") or ""):
|
||||
parser.error("binding source_set_digest must be 64 lowercase hex")
|
||||
if binding.get("hostname") != "policy.coulomb.social":
|
||||
parser.error("binding hostname must be policy.coulomb.social")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue