ci: keep ariadne image builds on rpi5
This commit is contained in:
parent
40ab2b6081
commit
92c83f831c
44
Jenkinsfile
vendored
44
Jenkinsfile
vendored
@ -12,6 +12,7 @@ spec:
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: arm64
|
||||
node-role.kubernetes.io/worker: "true"
|
||||
hardware: rpi5
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
@ -20,6 +21,7 @@ spec:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values:
|
||||
- titan-04
|
||||
- titan-06
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
@ -37,20 +39,6 @@ spec:
|
||||
- titan-15
|
||||
- titan-17
|
||||
- titan-19
|
||||
- weight: 85
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: hardware
|
||||
operator: In
|
||||
values:
|
||||
- rpi5
|
||||
- weight: 45
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: hardware
|
||||
operator: In
|
||||
values:
|
||||
- rpi4
|
||||
topologySpreadConstraints:
|
||||
- maxSkew: 1
|
||||
topologyKey: kubernetes.io/hostname
|
||||
@ -63,6 +51,13 @@ spec:
|
||||
containers:
|
||||
- name: dind
|
||||
image: registry.bstein.dev/bstein/docker:27-dind
|
||||
resources:
|
||||
requests:
|
||||
cpu: "500m"
|
||||
memory: "512Mi"
|
||||
limits:
|
||||
cpu: "2000m"
|
||||
memory: "2Gi"
|
||||
securityContext:
|
||||
privileged: true
|
||||
env:
|
||||
@ -78,6 +73,13 @@ spec:
|
||||
mountPath: /var/lib/docker
|
||||
- name: builder
|
||||
image: registry.bstein.dev/bstein/docker:27
|
||||
resources:
|
||||
requests:
|
||||
cpu: "250m"
|
||||
memory: "256Mi"
|
||||
limits:
|
||||
cpu: "1000m"
|
||||
memory: "512Mi"
|
||||
command: ["cat"]
|
||||
tty: true
|
||||
env:
|
||||
@ -96,6 +98,13 @@ spec:
|
||||
mountPath: /docker-config
|
||||
- name: tester
|
||||
image: registry.bstein.dev/bstein/python:3.12-slim
|
||||
resources:
|
||||
requests:
|
||||
cpu: "250m"
|
||||
memory: "512Mi"
|
||||
limits:
|
||||
cpu: "1000m"
|
||||
memory: "1Gi"
|
||||
command: ["cat"]
|
||||
tty: true
|
||||
volumeMounts:
|
||||
@ -103,6 +112,13 @@ spec:
|
||||
mountPath: /home/jenkins/agent
|
||||
- name: quality-tools
|
||||
image: registry.bstein.dev/bstein/quality-tools:sonar8.0.1-trivy0.70.0-db20260422-arm64
|
||||
resources:
|
||||
requests:
|
||||
cpu: "500m"
|
||||
memory: "512Mi"
|
||||
limits:
|
||||
cpu: "1500m"
|
||||
memory: "2Gi"
|
||||
command: ["cat"]
|
||||
tty: true
|
||||
volumeMounts:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user