ymal: fix nc01 sentinel source snapshot template

This commit is contained in:
root
2026-07-08 06:40:30 +02:00
parent d083e88bb9
commit 93b6fe3cce
2 changed files with 9 additions and 3 deletions
@@ -237,6 +237,8 @@ nodes:
controlPlaneIndex: "1"
argoProjectName: hwlab-jd01
NODE: JD01
sourceGitSshUrl: ssh://git@ssh.github.com:443/pikasTech/unidesk.git
sourceSnapshotPrefix: refs/unidesk/snapshots/gitea-actions/unidesk-master
NC01:
target:
extends: templates.webProbeSentinelTarget
@@ -313,6 +315,8 @@ nodes:
controlPlaneIndex: "2"
argoProjectName: hwlab-v03
NODE: NC01
sourceGitSshUrl: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-unidesk.git
sourceSnapshotPrefix: refs/unidesk/snapshots/gitea-actions/unidesk-master-nc01
templates:
webProbeSentinelTarget:
node: "${NODE}"
@@ -332,7 +336,7 @@ templates:
entrypoint: scripts/web-probe-sentinel-service.ts
buildContext: "."
gitMirrorReadUrl: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-unidesk.git
gitSshUrl: ssh://git@ssh.github.com:443/pikasTech/unidesk.git
gitSshUrl: "${sourceGitSshUrl}"
branch: master
repository: pikasTech/unidesk
sourceAuthority:
@@ -344,7 +348,7 @@ templates:
cacheRef: source.gitMirrorReadUrl
refreshPolicy: gitea-controlled-snapshot
missingObjectPolicy: fail-fast
stageRefPrefix: refs/unidesk/snapshots/gitea-actions/unidesk-master
stageRefPrefix: "${sourceSnapshotPrefix}"
argo:
namespace: argocd
projectName: "${argoProjectName}"
+3 -1
View File
@@ -67,11 +67,13 @@ repositories:
variables:
NODE: JD01
LANE: v03
sourceSnapshotPrefix: refs/unidesk/snapshots/gitea-actions/unidesk-master
url: https://gitea.pikapython.com/mirrors/pikasTech-unidesk
- extends: templates.repositories.sentinelV03
variables:
NODE: NC01
LANE: v03
sourceSnapshotPrefix: refs/unidesk/snapshots/gitea-actions/unidesk-master-nc01
- extends: templates.repositories.hwlabV03
variables:
NODE: JD01
@@ -147,7 +149,7 @@ templates:
params:
git_read_url: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-unidesk.git
source_branch: master
source_snapshot_prefix: refs/unidesk/snapshots/gitea-actions/unidesk-master
source_snapshot_prefix: "${sourceSnapshotPrefix}"
node: "${NODE}"
lane: v03
sentinel_id: "${nodeLower}-web-probe-sentinel"