feat(cd): 接入候选构建与批次验收
build / build (push) Successful in 1m30s

This commit is contained in:
姚章浩
2026-11-23 13:20:25 +08:00
parent 8c76c54d8e
commit 1beaa31771
8 changed files with 827 additions and 4 deletions
+4 -4
View File
@@ -360,10 +360,10 @@ def cmd_internal_contracts(go: str) -> int:
cwd=ROOT).returncode
if qa_rc:
return qa_rc
cd_rc = subprocess.run(py("-m", "unittest", "discover", "-s", "scripts", "-p", "test_production_cd.py", "-v"),
cwd=ROOT).returncode
if cd_rc:
return cd_rc
for pattern in ('test_production_cd.py', 'test_candidate_release.py'):
cd_rc = subprocess.run(py('-m', 'unittest', 'discover', '-s', 'scripts', '-p', pattern, '-v'), cwd=ROOT).returncode
if cd_rc:
return cd_rc
snapshot_rc = subprocess.run(py("scripts/development_snapshot.py","--self-test"),cwd=ROOT).returncode
if snapshot_rc:
return 1