jenkins: Add CronJob for updatecheck
`updatecheck` is a little utility I wrote that queries Fedora Bodhi for updates and sends an HTTP request when one is found. I am specifically going to use it to trigger rebuilding the _gasket-driver_ RPM whenever there is a new _kernel_ published.
This commit is contained in:
@@ -11,6 +11,18 @@ resources:
|
||||
- iscsi.yaml
|
||||
- ssh-host-keys
|
||||
- workspace-volume.yaml
|
||||
- updatecheck.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: updatecheck
|
||||
namespace: jenkins
|
||||
files:
|
||||
- config.toml=updatecheck.toml
|
||||
options:
|
||||
disableNameSuffixHash: true
|
||||
labels:
|
||||
app.kubernetes.io/name: updatecheck
|
||||
app.kubernetes.io/component: updatecheck
|
||||
|
||||
patches:
|
||||
- patch: |
|
||||
@@ -23,6 +35,15 @@ patches:
|
||||
volumeName: jenkins
|
||||
storageClassName: ''
|
||||
|
||||
- patch: |
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: updatecheck
|
||||
namespace: jenkins
|
||||
spec:
|
||||
storageClassName: synology-iscsi
|
||||
|
||||
images:
|
||||
- name: docker.io/jenkins/jenkins
|
||||
newTag: 2.528.2-lts
|
||||
|
||||
Reference in New Issue
Block a user