From 25f8942f1cd0f4f1d1a1ea199bfadad141cfdbb7 Mon Sep 17 00:00:00 2001 From: DCCONSTRUCTIONS Date: Tue, 29 Sep 2026 13:12:26 +0300 Subject: [PATCH] Pin Launcher source used by integration artifact tests --- docs/CONTINUOUS_DEPLOYMENT.md | 4 +++- infra/ci/qualify.py | 4 +++- infra/ci/sources.lock.json | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/CONTINUOUS_DEPLOYMENT.md b/docs/CONTINUOUS_DEPLOYMENT.md index f23b52a..6e96847 100644 --- a/docs/CONTINUOUS_DEPLOYMENT.md +++ b/docs/CONTINUOUS_DEPLOYMENT.md @@ -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. diff --git a/infra/ci/qualify.py b/infra/ci/qualify.py index 7c3a1d7..6ebc8e1 100644 --- a/infra/ci/qualify.py +++ b/infra/ci/qualify.py @@ -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 diff --git a/infra/ci/sources.lock.json b/infra/ci/sources.lock.json index e39a59d..2542292 100644 --- a/infra/ci/sources.lock.json +++ b/infra/ci/sources.lock.json @@ -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"