jenkins: Add PVC for airplaypi Buildroot job
Buildroot jobs really benefit from having a persistent workspace volume instead of an ephemeral one. This way, only the packages, etc. that have changed since the last build need to be built, instead of the whole toolchain and operating system.
This commit is contained in:
@@ -10,6 +10,7 @@ resources:
|
||||
- secrets.yaml
|
||||
- iscsi.yaml
|
||||
- ssh-host-keys
|
||||
- workspace-volume.yaml
|
||||
|
||||
patches:
|
||||
- patch: |
|
||||
|
||||
15
jenkins/workspace-volume.yaml
Normal file
15
jenkins/workspace-volume.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: buildroot-airplaypi
|
||||
namespace: jenkins-jobs
|
||||
labels:
|
||||
app.kubernetes.io/name: buildroot-airplaypi
|
||||
app.kubernetes.io/component: jenkins
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Gi
|
||||
storageClassName: synology-iscsi
|
||||
Reference in New Issue
Block a user