build(device-plane): prepare device manager redirect fix

This commit is contained in:
Codex
2026-08-11 11:29:13 +03:00
parent 72b4846b32
commit 9f12edd736
2 changed files with 5 additions and 5 deletions
@@ -1,11 +1,11 @@
{
"schemaVersion": "nodedc.device-plane.device-manager-release.v1",
"releaseId": "__PATCH_ID__",
"action": "activate",
"action": "upgrade",
"predecessor": {
"kind": "reconciliation",
"patchId": "device-manager-control-plane-v2-reconciliation-20260811-004",
"artifactSha256": "09600bfd99717314b43936e17ffaaf6b6fca1f2fd008beddddc68480cdf3d284"
"kind": "release",
"patchId": "device-manager-release-20260811-006",
"artifactSha256": "7ca2b7875f8d4faede4f5dd9e381261b20e5e5578ca88c8cbdaf3596848155fd"
},
"service": "device-manager",
"publicIngress": "reverse-proxy-only",
@@ -12,7 +12,7 @@ const devicePlaneRoot = resolve(platformRoot, "device-plane");
const designRoot = resolve(process.env.NODEDC_DEVICE_MANAGER_SOURCE_ROOT || resolve(platformRoot, "../NODEDC_DESIGN_GUIDELINE"));
const managerRoot = resolve(designRoot, "apps/device-manager");
const artifactDir = resolve(process.env.NODEDC_DEPLOY_ARTIFACT_DIR || resolve(scriptDir, "../deploy-artifacts"));
const [patchId = "device-manager-release-20260811-006", ...extra] = process.argv.slice(2);
const [patchId = "device-manager-release-20260811-007", ...extra] = process.argv.slice(2);
if (extra.length || !/^[A-Za-z0-9._-]{1,96}$/.test(patchId)) throw new Error("usage: build-device-manager-control-plane-artifact.mjs [patch-id]");
const entries = [