ci: request stable storage for rust gate
This commit is contained in:
parent
e684bf9670
commit
dfdc5fe566
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -11,17 +11,35 @@ spec:
|
|||||||
hardware: rpi5
|
hardware: rpi5
|
||||||
kubernetes.io/arch: arm64
|
kubernetes.io/arch: arm64
|
||||||
node-role.kubernetes.io/worker: "true"
|
node-role.kubernetes.io/worker: "true"
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: kubernetes.io/hostname
|
||||||
|
operator: NotIn
|
||||||
|
values:
|
||||||
|
- titan-11
|
||||||
containers:
|
containers:
|
||||||
- name: rust-ci
|
- name: rust-ci
|
||||||
image: rust:1.92-bookworm
|
image: rust:1.92-bookworm
|
||||||
command: ["cat"]
|
command: ["cat"]
|
||||||
tty: true
|
tty: true
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: "1000m"
|
||||||
|
memory: "3Gi"
|
||||||
|
ephemeral-storage: "6Gi"
|
||||||
|
limits:
|
||||||
|
memory: "6Gi"
|
||||||
|
ephemeral-storage: "12Gi"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: workspace-volume
|
- name: workspace-volume
|
||||||
mountPath: /home/jenkins/agent
|
mountPath: /home/jenkins/agent
|
||||||
volumes:
|
volumes:
|
||||||
- name: workspace-volume
|
- name: workspace-volume
|
||||||
emptyDir: {}
|
emptyDir:
|
||||||
|
sizeLimit: 12Gi
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user