2020-04-01 11:35:10 +00:00
|
|
|
---
|
|
|
|
apiVersion: batch/v1
|
|
|
|
kind: Job
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: jjb
|
|
|
|
name: jjb-deploy
|
|
|
|
spec:
|
|
|
|
ttlSecondsAfterFinished: 0
|
|
|
|
backoffLimit: 1
|
|
|
|
template:
|
|
|
|
labels:
|
|
|
|
app: jjb
|
|
|
|
spec:
|
|
|
|
containers:
|
2020-05-26 15:03:52 +00:00
|
|
|
- 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
|
2020-04-01 11:35:10 +00:00
|
|
|
volumes:
|
2020-05-26 15:03:52 +00:00
|
|
|
- name: etc-jj
|
|
|
|
configMap:
|
|
|
|
name: jenkins-jobs
|
2020-04-01 11:35:10 +00:00
|
|
|
restartPolicy: Never
|