Zack Williams | ce60d71 | 2018-05-27 15:27:57 -0700 | [diff] [blame] | 1 | --- |
| 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 |
Zack Williams | 675a755 | 2018-05-29 16:14:09 -0700 | [diff] [blame] | 41 | default: 'imagebuilder' |
Zack Williams | ce60d71 | 2018-05-27 15:27:57 -0700 | [diff] [blame] | 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 | |
Zack Williams | ce60d71 | 2018-05-27 15:27:57 -0700 | [diff] [blame] | 54 | - bool: |
| 55 | name: build |
| 56 | default: false |
| 57 | description: 'Rebuild all containers (same as "docker build --no-cache")' |
| 58 | |
| 59 | - bool: |
| 60 | name: force |
| 61 | default: false |
| 62 | description: 'Force remove obsolete tags/images (same as "docker rmi --force")' |
| 63 | |
| 64 | |
| 65 | project-type: pipeline |
| 66 | concurrent: false |
| 67 | |
| 68 | dsl: !include-raw-escape: pipeline/imagebuilder.groovy |
| 69 | |