mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
add scripts and configuration to deploy with Jenkins Job Builder
These files make it possible to - build a container image that includes Jenkins Job Builder - store the container image in the OpenShift ImageStream - use the container to validate or deploy the Jenkins Jobs More details about the files are included in the README.md. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
33
deploy/jjb-deploy.yaml
Normal file
33
deploy/jjb-deploy.yaml
Normal file
@ -0,0 +1,33 @@
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
labels:
|
||||
app: jjb
|
||||
name: jjb-deploy
|
||||
spec:
|
||||
ttlSecondsAfterFinished: 0
|
||||
backoffLimit: 1
|
||||
template:
|
||||
labels:
|
||||
app: jjb
|
||||
spec:
|
||||
containers:
|
||||
- name: jjb
|
||||
image: 172.30.254.79:5000/ceph-csi/jjb:latest
|
||||
env:
|
||||
- name: GIT_REPO
|
||||
value: https://github.com/ceph/ceph-csi
|
||||
- name: GIT_REF
|
||||
value: ci/centos
|
||||
- name: MAKE_TARGET
|
||||
value: deploy
|
||||
volumeMounts:
|
||||
- name: etc-jj
|
||||
mountPath: /etc/jenkins_jobs
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: etc-jj
|
||||
configMap:
|
||||
name: jenkins-jobs
|
||||
restartPolicy: Never
|
Reference in New Issue
Block a user