fix: use k8s git mirror source snapshots
This commit is contained in:
@@ -22,6 +22,16 @@ sentinel:
|
||||
- package.json
|
||||
- bun.lock
|
||||
- bun.lockb
|
||||
sourceAuthority:
|
||||
mode: gitMirrorSnapshot
|
||||
resolver: k8s-git-mirror
|
||||
allowHostGit: false
|
||||
allowGithubDirectInPipeline: false
|
||||
sourceSnapshot:
|
||||
stageRefPrefix: refs/unidesk/snapshots/web-probe-sentinel/{branch}
|
||||
missingObjectPolicy: fail-fast
|
||||
refreshPolicy: sync-before-snapshot
|
||||
cacheRef: source.gitMirrorReadUrl
|
||||
builder:
|
||||
namespace: devops-infra
|
||||
sourceMode: sparse-git-checkout
|
||||
|
||||
@@ -22,6 +22,16 @@ sentinel:
|
||||
- package.json
|
||||
- bun.lock
|
||||
- bun.lockb
|
||||
sourceAuthority:
|
||||
mode: gitMirrorSnapshot
|
||||
resolver: k8s-git-mirror
|
||||
allowHostGit: false
|
||||
allowGithubDirectInPipeline: false
|
||||
sourceSnapshot:
|
||||
stageRefPrefix: refs/unidesk/snapshots/web-probe-sentinel/{branch}
|
||||
missingObjectPolicy: fail-fast
|
||||
refreshPolicy: sync-before-snapshot
|
||||
cacheRef: source.gitMirrorReadUrl
|
||||
builder:
|
||||
namespace: devops-infra
|
||||
sourceMode: sparse-git-checkout
|
||||
|
||||
@@ -22,6 +22,16 @@ sentinel:
|
||||
- package.json
|
||||
- bun.lock
|
||||
- bun.lockb
|
||||
sourceAuthority:
|
||||
mode: gitMirrorSnapshot
|
||||
resolver: k8s-git-mirror
|
||||
allowHostGit: false
|
||||
allowGithubDirectInPipeline: false
|
||||
sourceSnapshot:
|
||||
stageRefPrefix: refs/unidesk/snapshots/web-probe-sentinel/{branch}
|
||||
missingObjectPolicy: fail-fast
|
||||
refreshPolicy: sync-before-snapshot
|
||||
cacheRef: source.gitMirrorReadUrl
|
||||
builder:
|
||||
namespace: devops-infra
|
||||
sourceMode: sparse-git-checkout
|
||||
|
||||
@@ -23,6 +23,16 @@ sentinel:
|
||||
- package.json
|
||||
- bun.lock
|
||||
- bun.lockb
|
||||
sourceAuthority:
|
||||
mode: gitMirrorSnapshot
|
||||
resolver: k8s-git-mirror
|
||||
allowHostGit: false
|
||||
allowGithubDirectInPipeline: false
|
||||
sourceSnapshot:
|
||||
stageRefPrefix: refs/unidesk/snapshots/web-probe-sentinel/{branch}
|
||||
missingObjectPolicy: fail-fast
|
||||
refreshPolicy: sync-before-snapshot
|
||||
cacheRef: source.gitMirrorReadUrl
|
||||
builder:
|
||||
namespace: devops-infra
|
||||
sourceMode: sparse-git-checkout
|
||||
|
||||
@@ -22,6 +22,16 @@ sentinel:
|
||||
- package.json
|
||||
- bun.lock
|
||||
- bun.lockb
|
||||
sourceAuthority:
|
||||
mode: gitMirrorSnapshot
|
||||
resolver: k8s-git-mirror
|
||||
allowHostGit: false
|
||||
allowGithubDirectInPipeline: false
|
||||
sourceSnapshot:
|
||||
stageRefPrefix: refs/unidesk/snapshots/web-probe-sentinel/{branch}
|
||||
missingObjectPolicy: fail-fast
|
||||
refreshPolicy: sync-before-snapshot
|
||||
cacheRef: source.gitMirrorReadUrl
|
||||
builder:
|
||||
namespace: devops-infra
|
||||
sourceMode: sparse-git-checkout
|
||||
|
||||
@@ -57,6 +57,16 @@ baselines:
|
||||
- package.json
|
||||
- bun.lock
|
||||
- bun.lockb
|
||||
sourceAuthority: &cicd-source-authority
|
||||
mode: gitMirrorSnapshot
|
||||
resolver: k8s-git-mirror
|
||||
allowHostGit: false
|
||||
allowGithubDirectInPipeline: false
|
||||
sourceSnapshot: &cicd-source-snapshot
|
||||
stageRefPrefix: refs/unidesk/snapshots/web-probe-sentinel/{branch}
|
||||
missingObjectPolicy: fail-fast
|
||||
refreshPolicy: sync-before-snapshot
|
||||
cacheRef: source.gitMirrorReadUrl
|
||||
builder: &cicd-builder
|
||||
namespace: devops-infra
|
||||
sourceMode: sparse-git-checkout
|
||||
@@ -159,6 +169,10 @@ nodes:
|
||||
controlPlaneConfigRef: config/hwlab-node-control-plane.yaml#targets[1]
|
||||
source:
|
||||
<<: *cicd-source
|
||||
sourceAuthority:
|
||||
<<: *cicd-source-authority
|
||||
sourceSnapshot:
|
||||
<<: *cicd-source-snapshot
|
||||
argo: &jd01-argo
|
||||
namespace: argocd
|
||||
projectName: hwlab-jd01
|
||||
|
||||
Reference in New Issue
Block a user