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
|
||||
kubernetes.io/arch: arm64
|
||||
node-role.kubernetes.io/worker: "true"
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values:
|
||||
- titan-11
|
||||
containers:
|
||||
- name: rust-ci
|
||||
image: rust:1.92-bookworm
|
||||
command: ["cat"]
|
||||
tty: true
|
||||
resources:
|
||||
requests:
|
||||
cpu: "1000m"
|
||||
memory: "3Gi"
|
||||
ephemeral-storage: "6Gi"
|
||||
limits:
|
||||
memory: "6Gi"
|
||||
ephemeral-storage: "12Gi"
|
||||
volumeMounts:
|
||||
- name: workspace-volume
|
||||
mountPath: /home/jenkins/agent
|
||||
volumes:
|
||||
- name: workspace-volume
|
||||
emptyDir: {}
|
||||
emptyDir:
|
||||
sizeLimit: 12Gi
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user