Gate site-specific limited release on five exact approvals and verified frozen export bytes

This commit is contained in:
huncode committed 2026-10-26 19:50:48 +03:00
1 parent 2676e474a1
commit f2494e8d1f
4 files changed
+72 -4

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ from pathlib import Path,PurePosixPath
import argparse,gzip,hashlib,json,os,re,shutil,subprocess,sys,tarfile,tempfile
ROOT=Path(__file__).resolve().parents[1]
ROLES={'designer','creative_director','content_manager','illustrator','programmer_expert'}
DEPLOY_FILES=['Dockerfile','deploy/nginx.conf','deploy/legacy-map.conf','deploy/legacy-matchers.json','deploy/legacy-routes.json','deploy/serve-local.py','deploy/stack.yml','deploy/release-artifact.py','.gitea/workflows/master.yml']
DEPLOY_FILES=['Dockerfile','deploy/nginx.conf','deploy/legacy-map.conf','deploy/legacy-matchers.json','deploy/legacy-routes.json','deploy/serve-local.py','deploy/stack.yml','deploy/release-artifact.py','deploy/verify-published-corpus.py','.gitea/workflows/master.yml']
def sha(b):return hashlib.sha256(b).hexdigest()
def hash_manifest(rows):return sha(json.dumps(rows,ensure_ascii=False,sort_keys=True,separators=(',',':')).encode())
def require(ok,message):