diff --git a/gitops/reuse.ymal b/gitops/reuse.ymal new file mode 100644 index 0000000..3aee9b0 --- /dev/null +++ b/gitops/reuse.ymal @@ -0,0 +1,43 @@ +apiVersion: unidesk.pikapython.com/v1alpha1 +kind: RuntimeReuseConfig +metadata: + name: agentrun-v02-reuse + ownerRepository: pikasTech/agentrun +spec: + services: + agentrun-mgr: + runtimeReuse: + enabled: true + codeIdentity: + paths: + - src + - scripts + - deploy/runtime/boot/agentrun-boot.sh + - deploy/runtime/boot/agentrun-mgr.sh + - deploy/runtime/boot/agentrun-runner.sh + envIdentity: + paths: + - deploy/container/Containerfile + - deploy/runtime/boot/agentrun-boot.sh + - deploy/runtime/boot/agentrun-mgr.sh + - deploy/runtime/boot/agentrun-runner.sh + - src + - scripts + - package.json + - bun.lock + - tsconfig.json + envReuse: + enabled: true + mode: k8s-buildkit-env-image + envIdentityFiles: + - deploy/container/Containerfile + - deploy/runtime/boot/agentrun-boot.sh + - deploy/runtime/boot/agentrun-mgr.sh + - deploy/runtime/boot/agentrun-runner.sh + - src + - scripts + - package.json + - bun.lock + - tsconfig.json + buildArgs: + BUN_IMAGE: oven/bun:1-alpine