ci: protect reservation pods and preserve review lane names during reload
This commit is contained in:
parent
a17f100978
commit
62ffc5663a
@ -6,6 +6,7 @@ resources:
|
||||
- certificates.yaml
|
||||
- admission-service.yaml
|
||||
- webhooks.yaml
|
||||
- priority.yaml
|
||||
- reservations.yaml
|
||||
configMapGenerator:
|
||||
- name: ci-placement-code
|
||||
|
||||
9
infrastructure/core/ci-capacity/priority.yaml
Normal file
9
infrastructure/core/ci-capacity/priority.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
# infrastructure/core/ci-capacity/priority.yaml
|
||||
apiVersion: scheduling.k8s.io/v1
|
||||
kind: PriorityClass
|
||||
metadata:
|
||||
name: ci-reservation
|
||||
value: 1000000000
|
||||
globalDefault: false
|
||||
preemptionPolicy: Never
|
||||
description: Keeps the scheduler reservation above ordinary tenants without evicting existing pods.
|
||||
@ -20,6 +20,7 @@ spec:
|
||||
atlas.bstein.dev/ci-arm64-eligible: 'true'
|
||||
spec:
|
||||
automountServiceAccountToken: false
|
||||
priorityClassName: ci-reservation
|
||||
nodeName: titan-07
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
@ -106,6 +107,7 @@ spec:
|
||||
atlas.bstein.dev/ci-amd64-eligible: 'true'
|
||||
spec:
|
||||
automountServiceAccountToken: false
|
||||
priorityClassName: ci-reservation
|
||||
nodeName: titan-22
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
|
||||
@ -28,7 +28,7 @@ data:
|
||||
- script: |
|
||||
['pair', 'arm64', 'amd64'].each { lane ->
|
||||
def pair = lane == 'pair'
|
||||
pipelineJob("lesavka-compile-review-${lane}") {
|
||||
pipelineJob('lesavka-compile-review-' + lane) {
|
||||
description('Isolated 1.4.19 pipeline review. Exact-source native build evidence only.')
|
||||
quietPeriod(0)
|
||||
logRotator {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user