feat: move AgentRun deploy truth to UniDesk YAML
This commit is contained in:
@@ -49,6 +49,7 @@ controlPlane:
|
||||
source:
|
||||
repository: pikasTech/agentrun
|
||||
branch: v0.1
|
||||
bootstrapFromBranch: v0.1
|
||||
remote: git@github.com:pikasTech/agentrun.git
|
||||
workspace: /root/agentrun-v01
|
||||
runtime:
|
||||
@@ -70,13 +71,83 @@ controlPlane:
|
||||
argoNamespace: argocd
|
||||
argoApplication: agentrun-g14-v01
|
||||
repoURL: http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/agentrun.git
|
||||
deployment:
|
||||
format: unidesk-yaml-only
|
||||
gitopsRoot: deploy/gitops/g14
|
||||
runtimeRenderDir: runtime-v01
|
||||
artifactCatalogPath: deploy/artifact-catalog.v01.json
|
||||
argocd:
|
||||
project: agentrun-v01
|
||||
applicationFile: application-v01.yaml
|
||||
manager:
|
||||
serviceAccount: agentrun-v01-mgr
|
||||
apiKeySecretRef:
|
||||
name: agentrun-v01-api-key
|
||||
key: HWLAB_API_KEY
|
||||
unideskSshEndpointEnv:
|
||||
name: UNIDESK_MAIN_SERVER_IP
|
||||
value: 74.48.78.17
|
||||
bootRepoUrl: http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/agentrun.git
|
||||
imageBuild:
|
||||
context: .
|
||||
containerfile: deploy/container/Containerfile
|
||||
repository: agentrun-mgr-env
|
||||
network: host
|
||||
httpProxy: http://127.0.0.1:10808
|
||||
httpsProxy: http://127.0.0.1:10808
|
||||
noProxy:
|
||||
- localhost
|
||||
- 127.0.0.1
|
||||
- ::1
|
||||
- 127.0.0.1:5000
|
||||
- localhost:5000
|
||||
- .svc
|
||||
- .svc.cluster.local
|
||||
- .cluster.local
|
||||
- hyueapi.com
|
||||
- .hyueapi.com
|
||||
envIdentityFiles:
|
||||
- deploy/container/Containerfile
|
||||
- deploy/runtime/boot/agentrun-boot.sh
|
||||
- deploy/runtime/boot/agentrun-mgr.sh
|
||||
- deploy/runtime/boot/agentrun-runner.sh
|
||||
- package.json
|
||||
- bun.lock
|
||||
- tsconfig.json
|
||||
timeoutSeconds: 1800
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 800m
|
||||
memory: 1Gi
|
||||
runner:
|
||||
serviceAccount: agentrun-v01-runner
|
||||
jobNamePrefix: agentrun-v01-runner
|
||||
apiKeySecretRef:
|
||||
name: agentrun-v01-api-key
|
||||
key: HWLAB_API_KEY
|
||||
localPostgres:
|
||||
enabled: true
|
||||
serviceName: agentrun-v01-postgres
|
||||
image: postgres:16-alpine
|
||||
storage: 5Gi
|
||||
port: 5432
|
||||
gitMirror:
|
||||
namespace: devops-infra
|
||||
readService: git-mirror-http
|
||||
readDeployment: git-mirror-http
|
||||
writeService: git-mirror-write
|
||||
writeDeployment: git-mirror-write
|
||||
readUrl: http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/agentrun.git
|
||||
writeUrl: http://git-mirror-write.devops-infra.svc.cluster.local/pikasTech/agentrun.git
|
||||
cachePvc: git-mirror-cache
|
||||
cacheHostPath: null
|
||||
sshSecretName: git-mirror-github-ssh
|
||||
githubProxy:
|
||||
host: 127.0.0.1
|
||||
port: 10808
|
||||
toolsImage: 127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1
|
||||
syncJobPrefix: git-mirror-agentrun-sync-manual
|
||||
flushJobPrefix: git-mirror-agentrun-flush-manual
|
||||
@@ -97,6 +168,7 @@ controlPlane:
|
||||
name: agentrun-v01-mgr-db
|
||||
key: DATABASE_URL
|
||||
localPostgresExpectedAbsent: false
|
||||
secrets: []
|
||||
|
||||
v02:
|
||||
node: D601
|
||||
@@ -104,6 +176,7 @@ controlPlane:
|
||||
source:
|
||||
repository: pikasTech/agentrun
|
||||
branch: v0.2
|
||||
bootstrapFromBranch: v0.1
|
||||
remote: git@github.com:pikasTech/agentrun.git
|
||||
workspace: /home/ubuntu/workspace/agentrun-v02
|
||||
runtime:
|
||||
@@ -125,13 +198,79 @@ controlPlane:
|
||||
argoNamespace: argocd
|
||||
argoApplication: agentrun-d601-v02
|
||||
repoURL: http://git-mirror-http.devops-infra.svc.cluster.local:8080/pikasTech/agentrun.git
|
||||
deployment:
|
||||
format: unidesk-yaml-only
|
||||
gitopsRoot: deploy/gitops/node/d601
|
||||
runtimeRenderDir: runtime-v02
|
||||
artifactCatalogPath: deploy/artifact-catalog.v02.json
|
||||
argocd:
|
||||
project: agentrun-v02
|
||||
applicationFile: application-v02.yaml
|
||||
manager:
|
||||
serviceAccount: agentrun-v02-mgr
|
||||
apiKeySecretRef:
|
||||
name: agentrun-v02-api-key
|
||||
key: HWLAB_API_KEY
|
||||
unideskSshEndpointEnv:
|
||||
name: UNIDESK_MAIN_SERVER_IP
|
||||
value: 74.48.78.17
|
||||
bootRepoUrl: http://git-mirror-http.devops-infra.svc.cluster.local:8080/pikasTech/agentrun.git
|
||||
imageBuild:
|
||||
context: .
|
||||
containerfile: deploy/container/Containerfile
|
||||
repository: agentrun-mgr-env
|
||||
network: host
|
||||
httpProxy: http://127.0.0.1:18789
|
||||
httpsProxy: http://127.0.0.1:18789
|
||||
noProxy:
|
||||
- localhost
|
||||
- 127.0.0.1
|
||||
- ::1
|
||||
- 127.0.0.1:5000
|
||||
- localhost:5000
|
||||
- .svc
|
||||
- .svc.cluster.local
|
||||
- .cluster.local
|
||||
- hyueapi.com
|
||||
- .hyueapi.com
|
||||
envIdentityFiles:
|
||||
- deploy/container/Containerfile
|
||||
- deploy/runtime/boot/agentrun-boot.sh
|
||||
- deploy/runtime/boot/agentrun-mgr.sh
|
||||
- deploy/runtime/boot/agentrun-runner.sh
|
||||
- package.json
|
||||
- bun.lock
|
||||
- tsconfig.json
|
||||
timeoutSeconds: 1800
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 800m
|
||||
memory: 1Gi
|
||||
runner:
|
||||
serviceAccount: agentrun-v02-runner
|
||||
jobNamePrefix: agentrun-v02-runner
|
||||
apiKeySecretRef:
|
||||
name: agentrun-v02-api-key
|
||||
key: HWLAB_API_KEY
|
||||
localPostgres:
|
||||
enabled: false
|
||||
gitMirror:
|
||||
namespace: devops-infra
|
||||
readService: git-mirror-http
|
||||
readDeployment: git-mirror-http
|
||||
writeService: git-mirror-write
|
||||
writeDeployment: git-mirror-write
|
||||
readUrl: http://git-mirror-http.devops-infra.svc.cluster.local:8080/pikasTech/agentrun.git
|
||||
writeUrl: http://git-mirror-write.devops-infra.svc.cluster.local:8080/pikasTech/agentrun.git
|
||||
cachePvc: hwlab-git-mirror-cache
|
||||
cacheHostPath: /var/lib/rancher/k3s/storage/hwlab-d601-v03-git-mirror-cache
|
||||
sshSecretName: git-mirror-github-ssh
|
||||
githubProxy:
|
||||
host: sub2api-egress-proxy.platform-infra.svc.cluster.local
|
||||
port: 10808
|
||||
toolsImage: 127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1
|
||||
syncJobPrefix: git-mirror-agentrun-d601-v02-sync-manual
|
||||
flushJobPrefix: git-mirror-agentrun-d601-v02-flush-manual
|
||||
@@ -158,3 +297,11 @@ controlPlane:
|
||||
name: agentrun-v02-mgr-db
|
||||
key: DATABASE_URL
|
||||
localPostgresExpectedAbsent: true
|
||||
secrets:
|
||||
- id: manager-api-key
|
||||
sourceRef: /root/.config/hwlab-v02/master-server-admin-api-key.env
|
||||
sourceKey: HWLAB_API_KEY
|
||||
targetRef:
|
||||
namespace: agentrun-v02
|
||||
name: agentrun-v02-api-key
|
||||
key: HWLAB_API_KEY
|
||||
|
||||
Reference in New Issue
Block a user