CHORE - NAS DEPLOY: пакетирование Ops BIM gateway artifacts

This commit is contained in:
Codex
2026-07-30 07:36:44 +03:00
parent 9d8638b8d2
commit 558940f691
@@ -13,7 +13,7 @@ const taskerRoot = resolve(
process.env.NODEDC_TASKMANAGER_ROOT || resolve(platformRoot, "../../data/dc_taskmanager/NODEDC_TASKMANAGER"),
);
const artifactDir = resolve(process.env.NODEDC_DEPLOY_ARTIFACT_DIR || resolve(scriptDir, "../deploy-artifacts"));
const [release = "20260729-001", ...extra] = process.argv.slice(2);
const [release = "20260730-002", ...extra] = process.argv.slice(2);
if (extra.length || !/^\d{8}-\d{3}$/.test(release)) {
throw new Error("usage: build-bim-tasker-cad-ops-artifacts.mjs [YYYYMMDD-NNN]");
@@ -25,8 +25,10 @@ const descriptors = [
component: "bim-viewer",
files: [
"converter/worker.py",
"frontend/dcViewer.js",
"server/cad-formats.js",
"server/index.js",
"server/tasker-gateway-auth.js",
],
patchId: `bim-viewer-cad-ops-${release}`,
sourceRoot: bimRoot,
@@ -35,6 +37,13 @@ const descriptors = [
artifactBasename: `nodedc-tasker-cad-ops-${release}.tgz`,
component: "tasker",
files: [
"plane-src/apps/api/plane/app/urls/issue.py",
"plane-src/apps/api/plane/app/views/__init__.py",
"plane-src/apps/api/plane/app/views/issue/attachment.py",
"plane-src/apps/api/plane/app/views/issue/bim_attachment.py",
"plane-src/apps/api/plane/utils/nodedc_bim_gateway.py",
"plane-src/apps/web/core/components/issues/attachment/attachment-list-item.tsx",
"plane-src/apps/web/core/services/issue/issue_attachment.service.ts",
"plane-src/apps/web/helpers/beam-viewer-config.ts",
"plane-src/apps/web/helpers/beam-viewer.ts",
],