diff options
Diffstat (limited to 'cns-libs/templates/jenkins/templates/jjb-template.yaml')
-rw-r--r-- | cns-libs/templates/jenkins/templates/jjb-template.yaml | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/cns-libs/templates/jenkins/templates/jjb-template.yaml b/cns-libs/templates/jenkins/templates/jjb-template.yaml deleted file mode 100644 index c26019b1..00000000 --- a/cns-libs/templates/jenkins/templates/jjb-template.yaml +++ /dev/null @@ -1,70 +0,0 @@ -apiVersion: v1 -kind: Template -metadata: - creationTimestamp: null - name: config_map_jjb -objects: -- apiVersion: v1 - data: - jenkins_jobs.ini: | - [jenkins] - user=${JENKINS_USER} - password=${JENKINS_PASSWORD} - url=${JENKINS_URL} - query_plugins_info=False - kind: ConfigMap - metadata: - creationTimestamp: null - name: ${JJB_SERVICE_NAME} -- kind: "DeploymentConfig" - apiVersion: "v1" - metadata: - name: ${JJB_SERVICE_NAME} - spec: - template: - metadata: - labels: - name: ${JJB_SERVICE_NAME} - spec: - containers: - - name: ${JJB_SERVICE_NAME} - image: "docker.io/hongkailiu/jjb:2.0.6" - env: - - name: PYTHONHTTPSVERIFY - value: "0" - - name: XDG_CACHE_HOME - value: "/data" - volumeMounts: - - name: config-volume - mountPath: /etc/jenkins_jobs/ - - name: "data-vol" - mountPath: "/data" - volumes: - - name: config-volume - configMap: - name: ${JJB_SERVICE_NAME} - - name: "data-vol" - emptyDir: {} - triggers: - - type: "ConfigChange" - replicas: 1 -parameters: -- description: Jenkins User - displayName: Jenkins User - name: JENKINS_USER - required: true - value: admin -- description: Jenkins Password - displayName: Jenkins Password - name: JENKINS_PASSWORD - required: true - value: password -- description: Jenkins URL, eg, https://jenkins-ttt.apps.0327-nbn.qe.rhcloud.com - displayName: Jenkins URL - name: JENKINS_URL - required: true -- description: JJB Service Name - displayName: JJB Service Name - name: JJB_SERVICE_NAME - required: true - value: "jjb" |