cdt/jenkins/pod-templates/cdt-full-pod-plus-eclipse-install.yaml

49 lines
1.2 KiB
YAML

apiVersion: v1
kind: Pod
spec:
containers:
- name: cdt
image: quay.io/eclipse-cdt/cdt-infra-plus-eclipse-install@sha256:7146f40a39f75e364c473aa26044803582428f41f1f911e4b44a8ee8e72f89d1
tty: true
args: ["/bin/sh", "-c", "/home/vnc/.vnc/xstartup.sh && cat"]
resources:
requests:
memory: "10000Mi"
cpu: "1"
limits:
memory: "10000Mi"
cpu: "1"
volumeMounts:
- name: settings-xml
mountPath: /home/jenkins/.m2/settings.xml
subPath: settings.xml
readOnly: true
- name: m2-repo
mountPath: /home/jenkins/.m2/repository
- name: "jenkins-home"
mountPath: "/home/jenkins"
readOnly: false
- name: tools
mountPath: /jipp/tools
- name: jnlp
resources:
requests:
memory: "512Mi"
cpu: "200m"
limits:
memory: "512Mi"
cpu: "500m"
volumes:
- name: settings-xml
secret:
secretName: m2-secret-dir
items:
- key: settings.xml
path: settings.xml
- name: m2-repo
emptyDir: {}
- name: "jenkins-home"
emptyDir: {}
- name: tools
persistentVolumeClaim:
claimName: tools-claim-jiro-cdt