chnyda | ff4b118 | 2017-05-22 11:05:25 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
Jakub Josef | 1916e23 | 2017-05-24 14:27:08 +0200 | [diff] [blame] | 4 | job_template: |
chnyda | ff4b118 | 2017-05-22 11:05:25 +0200 | [diff] [blame] | 5 | docker-build-images: |
Jakub Josef | b5f6700 | 2017-05-22 18:45:46 +0200 | [diff] [blame] | 6 | name: "docker-build-images-{{name}}" |
chnyda | ff4b118 | 2017-05-22 11:05:25 +0200 | [diff] [blame] | 7 | jobs: |
| 8 | - name: aptly |
| 9 | - name: ci |
chnyda | a0ef5af | 2017-06-19 10:42:21 +0200 | [diff] [blame^] | 10 | - name: prometheus |
chnyda | ff4b118 | 2017-05-22 11:05:25 +0200 | [diff] [blame] | 11 | template: |
| 12 | discard: |
| 13 | build: |
| 14 | keep_num: 25 |
| 15 | artifact: |
| 16 | keep_num: 25 |
| 17 | type: workflow-scm |
| 18 | concurrent: true |
| 19 | scm: |
| 20 | type: git |
| 21 | url: "${_param:jenkins_gerrit_url}/mk/docker-{{name}}" |
| 22 | credentials: "gerrit" |
| 23 | trigger: |
| 24 | gerrit: |
| 25 | project: |
| 26 | "mk/docker-{{name}}": |
| 27 | branches: |
| 28 | - master |
| 29 | event: |
| 30 | ref: |
| 31 | - updated: {} |
| 32 | param: |
| 33 | IMAGE_GIT_URL: |
| 34 | type: string |
| 35 | default: "${_param:jenkins_gerrit_url}/mk/docker-{{name}}" |
| 36 | IMAGE_BRANCH: |
| 37 | type: string |
| 38 | default: "master" |
| 39 | IMAGE_CREDENTIALS_ID: |
| 40 | type: string |
| 41 | default: "gerrit" |
| 42 | IMAGE_TAGS: |
| 43 | type: string |
| 44 | default: "latest" |
| 45 | REGISTRY_URL: |
| 46 | type: string |
| 47 | default: "" |
| 48 | REGISTRY_CREDENTIALS_ID: |
| 49 | type: string |
| 50 | default: "dockerhub" |
| 51 | DOCKER_GIT_TAG: |
| 52 | type: boolean |
| 53 | default: "true" |