blob: e29b11c42974259c17ed18e8beb30e87d11c78b1 [file] [log] [blame]
Zack Williamsce60d712018-05-27 15:27:57 -07001---
2# CORD helm chart publishing tasks
3
4- project:
5 name: imagebuilder
6
7 # add repos that have documentation to the project list in both jobs
8 jobs:
9 - 'publish-imagebuilder':
10 project-regexp: '.*'
11 branch-regexp: '{supported-branches-regexp}'
12
13
14- job-template:
15 id: publish-imagebuilder
16 name: 'publish-imagebuilder'
17 description: |
18 Created by {id} job-template from ci-management/jjb/helm.yaml
19
20 triggers:
21 - cord-infra-gerrit-trigger-merge:
22 gerrit-server-name: '{gerrit-server-name}'
23 project-regexp: '{project-regexp}'
24 branch-regexp: '{branch-regexp}'
25 file-include-regexp: '{all-files-regexp}'
26 dependency-jobs: '{dependency-jobs}'
27
28 properties:
29 - cord-infra-properties:
30 build-days-to-keep: '{build-days-to-keep}'
31 artifact-num-to-keep: '{artifact-num-to-keep}'
32
33 wrappers:
34 - lf-infra-wrappers:
35 build-timeout: '{build-timeout}'
36 jenkins-ssh-credential: '{jenkins-ssh-credential}'
37
38 parameters:
39 - string:
40 name: executorNode
41 default: 'imagebuilder_node'
42 description: 'Name of the Jenkins node to run the job on'
43
44 - string:
45 name: manifestUrl
46 default: '{gerrit-server-url}/{cord-repo-manifest}'
47 description: 'URL to the repo manifest'
48
49 - string:
50 name: manifestBranch
51 default: '$GERRIT_BRANCH'
52 description: 'Name of the repo branch to use'
53
54 - string:
55 name: gerritProject
56 default: '$GERRIT_PROJECT'
57 description: 'Name of the Gerrit project'
58
59 - bool:
60 name: build
61 default: false
62 description: 'Rebuild all containers (same as "docker build --no-cache")'
63
64 - bool:
65 name: force
66 default: false
67 description: 'Force remove obsolete tags/images (same as "docker rmi --force")'
68
69
70 project-type: pipeline
71 concurrent: false
72
73 dsl: !include-raw-escape: pipeline/imagebuilder.groovy
74