ci: fit serialized builds within healthy worker CPU capacity
All checks were successful
Tests / Declarative: Post Actions passed: 1440
All checks were successful
Tests / Declarative: Post Actions passed: 1440
This commit is contained in:
parent
cd69ae6d11
commit
fc390689e5
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -71,11 +71,12 @@ spec:
|
|||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: harbor-robot-pipeline
|
- name: harbor-robot-pipeline
|
||||||
containers:
|
containers:
|
||||||
|
# Serialized builds retain their burst limits with smaller CPU reservations.
|
||||||
- name: dind
|
- name: dind
|
||||||
image: registry.bstein.dev/bstein/docker:27-dind
|
image: registry.bstein.dev/bstein/docker:27-dind
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "500m"
|
cpu: "250m"
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
limits:
|
limits:
|
||||||
cpu: "2000m"
|
cpu: "2000m"
|
||||||
@ -98,8 +99,8 @@ spec:
|
|||||||
image: registry.bstein.dev/bstein/docker:27
|
image: registry.bstein.dev/bstein/docker:27
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "250m"
|
cpu: "25m"
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
limits:
|
limits:
|
||||||
cpu: "1000m"
|
cpu: "1000m"
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
@ -123,7 +124,7 @@ spec:
|
|||||||
image: registry.bstein.dev/bstein/python:3.12-slim
|
image: registry.bstein.dev/bstein/python:3.12-slim
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "250m"
|
cpu: "100m"
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
limits:
|
limits:
|
||||||
cpu: "1000m"
|
cpu: "1000m"
|
||||||
@ -137,7 +138,7 @@ spec:
|
|||||||
image: registry.bstein.dev/bstein/quality-tools:sonar8.0.1-trivy0.70.0-db20260422-arm64
|
image: registry.bstein.dev/bstein/quality-tools:sonar8.0.1-trivy0.70.0-db20260422-arm64
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "500m"
|
cpu: "100m"
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
limits:
|
limits:
|
||||||
cpu: "1500m"
|
cpu: "1500m"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user