mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 00:10:20 +00:00
34 lines
690 B
YAML
34 lines
690 B
YAML
|
---
|
||
|
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
|