ce7cb702218693d08ea6d83464d2457c9250027c

This commit is contained in:
ms2k 2026-11-12 20:46:28 +09:00
commit 34c5f8963c
2 changed files with 145336 additions and 0 deletions

View file

@ -0,0 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base
patches:
- target:
kind: WorkflowTemplate
name: build
path: workflow-patch.yaml

View file

@ -0,0 +1,35 @@
- op: remove
path: /spec/templates/2/dag/tasks/1/dependencies
- op: remove
path: /spec/templates/2/dag/tasks/2/dependencies
- op: replace
path: /spec/templates/2/dag/tasks/3/dependencies
value: [source-pull, cache-pull, toolchain-pull]
- op: add
path: /spec/templates/4/container/env/-
value: {name: CACHE_MODE, value: parallel}
- op: replace
path: /spec/templates/4/container/volumeMounts
value:
- {name: orchestration, mountPath: /orchestration, readOnly: true}
- {name: cache-auth, mountPath: /cache-auth, readOnly: true}
- {name: cache-ca, mountPath: /cache-ca, readOnly: true}
- {name: workflow-workspace, mountPath: /cache, subPath: cache}
- {name: workflow-workspace, mountPath: /tmp, subPath: state/cache-tmp}
- op: replace
path: /spec/templates/5/container/volumeMounts
value:
- {name: orchestration, mountPath: /orchestration, readOnly: true}
- {name: workflow-workspace, mountPath: /toolchain, subPath: toolchain}
- {name: workflow-workspace, mountPath: /tmp, subPath: state/toolchain-tmp}
- op: add
path: /spec/templates/6/container/volumeMounts/-
value: {name: workflow-workspace, mountPath: /cache, subPath: cache}
- op: replace
path: /spec/templates/8/container/volumeMounts/3
value: {name: workflow-workspace, mountPath: /cache, subPath: cache, readOnly: true}
- op: remove
path: /spec/templates/8/container/volumeMounts/4
- op: add
path: /spec/templates/8/container/env/-
value: {name: CACHE_MODE, value: parallel}