From 72663d286ad09659985f1a1a538e1dd003de6abe Mon Sep 17 00:00:00 2001 From: root Date: Fri, 3 Jul 2026 20:39:54 +0000 Subject: [PATCH] chore: add branch follower reuse config --- gitops/reuse.ymal | 240 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 gitops/reuse.ymal diff --git a/gitops/reuse.ymal b/gitops/reuse.ymal new file mode 100644 index 00000000..c530e2ed --- /dev/null +++ b/gitops/reuse.ymal @@ -0,0 +1,240 @@ +apiVersion: unidesk.pikapython.com/v1alpha1 +kind: RuntimeReuseConfig +metadata: + name: hwlab-v03-reuse + ownerRepository: pikasTech/HWLAB +spec: + services: + hwlab-cloud-api: + runtimeReuse: + enabled: true + codeIdentity: + paths: + - cmd/hwlab-cloud-api + - cmd/hwlab-codex-api-responses-forwarder + - cmd/hwlab-deepseek-responses-bridge + - deploy/runtime/boot/hwlab-cloud-api.sh + - deploy/runtime/boot/hwlab-codex-api-responses-forwarder.sh + - deploy/runtime/boot/hwlab-deepseek-responses-bridge.sh + - internal/cloud + - internal/db + - internal/audit + - internal/agent/agentrun-dispatch.mjs + - internal/agent/prompts + - skills/hwlab-agent-runtime + envIdentity: + paths: + - package.json + - package-lock.json + - deploy/runtime/launcher/hwlab-env-reuse-launcher.ts + - internal/dev-entrypoint/artifact-runtime.mjs + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.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 + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.mjs + hwlab-workbench-runtime: + runtimeReuse: + enabled: true + codeIdentity: + paths: + - go.mod + - go.sum + - cmd/hwlab-workbench-runtime + - internal/workbenchruntime + - deploy/runtime/boot/hwlab-workbench-runtime.sh + envIdentity: + paths: + - go.mod + - go.sum + - deploy/runtime/launcher/hwlab-env-reuse-launcher.ts + - internal/dev-entrypoint/artifact-runtime.mjs + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.mjs + envReuse: + enabled: true + mode: env-reuse-git-mirror-checkout + nodeDepsPath: /opt/hwlab-env/node_modules + envIdentityFiles: + - go.mod + - go.sum + - deploy/runtime/launcher/hwlab-env-reuse-launcher.ts + - internal/dev-entrypoint/artifact-runtime.mjs + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.mjs + hwlab-user-billing: + runtimeReuse: + enabled: true + codeIdentity: + paths: + - go.mod + - go.sum + - cmd/hwlab-user-billing + - internal/userbilling + - deploy/runtime/boot/hwlab-user-billing.sh + envIdentity: + paths: + - go.mod + - go.sum + - deploy/runtime/launcher/hwlab-env-reuse-launcher.ts + - internal/dev-entrypoint/artifact-runtime.mjs + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.mjs + envReuse: + enabled: true + mode: env-reuse-git-mirror-checkout + nodeDepsPath: /opt/hwlab-env/node_modules + envIdentityFiles: + - go.mod + - go.sum + - deploy/runtime/launcher/hwlab-env-reuse-launcher.ts + - internal/dev-entrypoint/artifact-runtime.mjs + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.mjs + hwlab-project-management: + runtimeReuse: + enabled: true + codeIdentity: + paths: + - cmd/hwlab-project-management + - internal/project-management + - internal/db/runtime-store.ts + - deploy/runtime/boot/hwlab-project-management.sh + envIdentity: + paths: + - package.json + - package-lock.json + - deploy/runtime/launcher/hwlab-env-reuse-launcher.ts + - internal/dev-entrypoint/artifact-runtime.mjs + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.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 + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.mjs + hwlab-cloud-web: + runtimeReuse: + enabled: true + codeIdentity: + paths: + - web/hwlab-cloud-web + - internal/dev-entrypoint/cloud-web-runtime.mjs + - internal/dev-entrypoint/cloud-web-proxy.mjs + - internal/dev-entrypoint/cloud-web-routes.mjs + - internal/dev-entrypoint/opencode-provider-proxy.mjs + - deploy/runtime/boot/opencode-provider-proxy.sh + - tools/src/hwlab-cli/trace-renderer.ts + envIdentity: + paths: + - package.json + - package-lock.json + - deploy/runtime/launcher/hwlab-env-reuse-launcher.ts + - internal/dev-entrypoint/artifact-runtime.mjs + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.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 + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.mjs + hwlab-gateway: + runtimeReuse: + enabled: true + codeIdentity: + paths: + - cmd/hwlab-gateway + - internal/sim + - deploy/runtime/boot/hwlab-gateway.sh + envIdentity: + paths: + - package.json + - package-lock.json + - deploy/runtime/launcher/hwlab-env-reuse-launcher.ts + - internal/dev-entrypoint/artifact-runtime.mjs + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.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 + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.mjs + hwlab-edge-proxy: + runtimeReuse: + enabled: true + codeIdentity: + paths: + - cmd/hwlab-edge-proxy + - internal/dev-entrypoint/http.mjs + - deploy/runtime/boot/hwlab-edge-proxy.sh + envIdentity: + paths: + - package.json + - package-lock.json + - deploy/runtime/launcher/hwlab-env-reuse-launcher.ts + - internal/dev-entrypoint/artifact-runtime.mjs + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.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 + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.mjs + hwlab-agent-skills: + runtimeReuse: + enabled: true + codeIdentity: + paths: + - skills + - deploy/runtime/boot/hwlab-agent-skills.sh + envIdentity: + paths: + - package.json + - package-lock.json + - deploy/runtime/launcher/hwlab-env-reuse-launcher.ts + - internal/dev-entrypoint/artifact-runtime.mjs + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.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 + - scripts/artifact-publish.mjs + - scripts/src/dev-artifact-services.mjs