ci: avoid titan-06 for Jenkins agents

This commit is contained in:
codex 2026-05-10 02:38:03 -03:00
parent 18d518b47a
commit 13dcc8aa06

20
Jenkinsfile vendored
View File

@ -12,6 +12,26 @@ spec:
nodeSelector: nodeSelector:
kubernetes.io/arch: arm64 kubernetes.io/arch: arm64
node-role.kubernetes.io/worker: "true" node-role.kubernetes.io/worker: "true"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: NotIn
values:
- titan-06
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/hostname
operator: NotIn
values:
- titan-13
- titan-15
- titan-17
- titan-19
imagePullSecrets: imagePullSecrets:
- name: harbor-robot-pipeline - name: harbor-robot-pipeline
containers: containers: