1
0
Fork 0

draft: br2 ccache
dustin/pythonctnr/pipeline/head There was a failure building this commit Details

Dustin 2022-10-31 11:28:57 -05:00
parent a4d24bcf1e
commit 053e5887d3
3 changed files with 8 additions and 2 deletions

View File

@ -10,6 +10,8 @@ spec:
volumeMounts: volumeMounts:
- name: tmp - name: tmp
mountPath: /tmp mountPath: /tmp
- name: br2-ccache
mountPath: /home/jenkins/.buildroot-ccache
securityContext: securityContext:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsUser: 1000 runAsUser: 1000
@ -25,3 +27,6 @@ spec:
emptyDir: emptyDir:
medium: Memory medium: Memory
sizeLimit: 100Mi sizeLimit: 100Mi
- name: br2-ccache
persistentVolumeClaim:
claimName: jenkins-br2-ccache

View File

@ -5,10 +5,10 @@
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
name: jenkins-ws-pythonctnr name: jenkins-br2-ccache
spec: spec:
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
resources: resources:
requests: requests:
storage: 10Gi storage: 20Gi

View File

@ -1,4 +1,5 @@
BR2_x86_64=y BR2_x86_64=y
BR2_CCACHE=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TARGET_GENERIC_HOSTNAME="pythonctnr" BR2_TARGET_GENERIC_HOSTNAME="pythonctnr"
BR2_TARGET_GENERIC_ISSUE="" BR2_TARGET_GENERIC_ISSUE=""