Pin Launcher source used by integration artifact tests

This commit is contained in:
DCCONSTRUCTIONS
2026-09-29 13:12:26 +03:00
parent 684922a099
commit 25f8942f1c
3 changed files with 10 additions and 2 deletions
+3 -1
View File
@@ -41,8 +41,10 @@ entry, branch policy, release contract and acceptance tests.
Runner label: `nodedc-node22-build`; Node 22.21.0, npm 10.9.4, Python >=3.9 and
Git must be available in the reviewed build image. The workflow does not
download third-party Actions. It fetches the exact pushed SHA from our Gitea.
`infra/ci/sources.lock.json` pins Design Guideline and Platform to full commits;
`infra/ci/sources.lock.json` pins Design Guideline, Platform and Launcher to full commits;
following their current `main` branches would make old releases unreproducible.
Launcher sources are required by the existing Hub trust/session artifact tests;
the Launcher application is not installed or deployed by this workflow.
Dependencies are fetched into fresh sibling directories. Existing directories
are rejected, never reset or deleted by the qualification script.
+3 -1
View File
@@ -14,6 +14,7 @@ import sys
SHA = re.compile(r"[0-9a-f]{40}")
DEPENDENCIES = {
"NODEDC_DESIGN_GUIDELINE": "https://git.dcserve.ru/SILVER/NODEDC_DESIGN_GUIDELINE.git",
"NODEDC_LAUNCHER": "https://git.dcserve.ru/SILVER/NODEDC_LAUNCHER.git",
"platform": "https://git.dcserve.ru/SILVER/NODEDC_PLATFORM.git",
}
@@ -22,7 +23,8 @@ def run(args, cwd, capture=False):
return subprocess.run(
args, cwd=cwd, check=True, text=True,
stdout=subprocess.PIPE if capture else None,
env={**os.environ, "GIT_TERMINAL_PROMPT": "0", "CI": "true"},
env={**os.environ, "GIT_TERMINAL_PROMPT": "0", "CI": "true",
"NODEDC_LAUNCHER_REPO": str(Path(__file__).resolve().parents[3] / "NODEDC_LAUNCHER")},
).stdout
+4
View File
@@ -7,6 +7,10 @@
"url": "https://git.dcserve.ru/SILVER/NODEDC_DESIGN_GUIDELINE.git",
"commit": "1b63366d2e7a911e18a293d30cddb0c95e0ba653"
},
"NODEDC_LAUNCHER": {
"url": "https://git.dcserve.ru/SILVER/NODEDC_LAUNCHER.git",
"commit": "f3a48b80c8256fecb4ef1442242f2211379a8521"
},
"platform": {
"url": "https://git.dcserve.ru/SILVER/NODEDC_PLATFORM.git",
"commit": "11b73e64681f83aa2ebfd89ef266d3be2869f7e1"