ci: spread Jenkins agents across nodes

This commit is contained in:
codex 2026-05-10 03:22:46 -03:00
parent 41ce27080a
commit 3db5daa85e

7
Jenkinsfile vendored
View File

@ -29,6 +29,13 @@ spec:
- titan-15
- titan-17
- titan-19
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
jenkins/jenkins-jenkins-agent: "true"
containers:
- name: go-tester
image: registry.bstein.dev/bstein/golang:1.22-bookworm