From 92c83f831c4babb2d13104dc118231d3c0488e03 Mon Sep 17 00:00:00 2001 From: codex Date: Wed, 20 May 2026 00:26:56 -0300 Subject: [PATCH] ci: keep ariadne image builds on rpi5 --- Jenkinsfile | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 44e2f35..b129f07 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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: