fix(cicd): 复用 TaskTree 共享运行环境

This commit is contained in:
root
2026-07-17 11:14:04 +02:00
parent 829245227c
commit 1b703b43d8
2 changed files with 81 additions and 0 deletions
+49
View File
@@ -23,6 +23,8 @@ spec:
services:
- hwlab-cloud-api
- hwlab-project-management
- hwlab-tasktree-api
- hwlab-tasktree-worker
- hwlab-cloud-web
- hwlab-gateway
- hwlab-edge-proxy
@@ -138,6 +140,53 @@ spec:
- package-lock.json
- deploy/runtime/launcher/hwlab-env-reuse-launcher.ts
- internal/dev-entrypoint/artifact-runtime.mjs
hwlab-tasktree-api:
runtimeReuse:
enabled: true
codeIdentity:
paths:
- cmd/hwlab-tasktree-api
- internal/tasktree
- tools/src/tasktree-cli.ts
- deploy/runtime/boot/hwlab-tasktree-api.sh
envIdentity:
paths:
- package.json
- package-lock.json
- deploy/runtime/launcher/hwlab-env-reuse-launcher.ts
- internal/dev-entrypoint/artifact-runtime.mjs
envReuse:
enabled: true
mode: env-reuse-git-mirror-checkout
nodeDepsPath: /opt/hwlab-env/node_modules
envIdentityFiles:
- package.json
- package-lock.json
- deploy/runtime/launcher/hwlab-env-reuse-launcher.ts
- internal/dev-entrypoint/artifact-runtime.mjs
hwlab-tasktree-worker:
runtimeReuse:
enabled: true
codeIdentity:
paths:
- cmd/hwlab-tasktree-worker
- internal/tasktree
- deploy/runtime/boot/hwlab-tasktree-worker.sh
envIdentity:
paths:
- package.json
- package-lock.json
- deploy/runtime/launcher/hwlab-env-reuse-launcher.ts
- internal/dev-entrypoint/artifact-runtime.mjs
envReuse:
enabled: true
mode: env-reuse-git-mirror-checkout
nodeDepsPath: /opt/hwlab-env/node_modules
envIdentityFiles:
- package.json
- package-lock.json
- deploy/runtime/launcher/hwlab-env-reuse-launcher.ts
- internal/dev-entrypoint/artifact-runtime.mjs
hwlab-cloud-web:
runtimeReuse:
enabled: true