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 | ||||
chnyda | 7612b91 | 2017-06-19 16:18:09 +0200 | [diff] [blame] | 9 | repo: mk |
chnyda | ff4b118 | 2017-05-22 11:05:25 +0200 | [diff] [blame] | 10 | - name: ci |
chnyda | 7612b91 | 2017-06-19 16:18:09 +0200 | [diff] [blame] | 11 | repo: mk |
chnyda | a0ef5af | 2017-06-19 10:42:21 +0200 | [diff] [blame] | 12 | - name: prometheus |
chnyda | 7612b91 | 2017-06-19 16:18:09 +0200 | [diff] [blame] | 13 | repo: mcp |
chnyda | ff4b118 | 2017-05-22 11:05:25 +0200 | [diff] [blame] | 14 | template: |
15 | discard: | ||||
16 | build: | ||||
17 | keep_num: 25 | ||||
18 | artifact: | ||||
19 | keep_num: 25 | ||||
20 | type: workflow-scm | ||||
21 | concurrent: true | ||||
22 | scm: | ||||
23 | type: git | ||||
chnyda | 7612b91 | 2017-06-19 16:18:09 +0200 | [diff] [blame] | 24 | url: "${_param:jenkins_gerrit_url}/{{repo}}/docker-{{name}}" |
chnyda | ff4b118 | 2017-05-22 11:05:25 +0200 | [diff] [blame] | 25 | credentials: "gerrit" |
26 | trigger: | ||||
27 | gerrit: | ||||
28 | project: | ||||
chnyda | bafee2e | 2017-09-22 16:00:28 +0200 | [diff] [blame] | 29 | "{{repo}}/docker-{{name}}": |
chnyda | ff4b118 | 2017-05-22 11:05:25 +0200 | [diff] [blame] | 30 | branches: |
31 | - master | ||||
32 | event: | ||||
33 | ref: | ||||
34 | - updated: {} | ||||
35 | param: | ||||
36 | IMAGE_GIT_URL: | ||||
37 | type: string | ||||
chnyda | 7612b91 | 2017-06-19 16:18:09 +0200 | [diff] [blame] | 38 | default: "${_param:jenkins_gerrit_url}/{{repo}}/docker-{{name}}" |
chnyda | ff4b118 | 2017-05-22 11:05:25 +0200 | [diff] [blame] | 39 | IMAGE_BRANCH: |
40 | type: string | ||||
41 | default: "master" | ||||
42 | IMAGE_CREDENTIALS_ID: | ||||
43 | type: string | ||||
44 | default: "gerrit" | ||||
45 | IMAGE_TAGS: | ||||
46 | type: string | ||||
47 | default: "latest" | ||||
48 | REGISTRY_URL: | ||||
49 | type: string | ||||
50 | default: "" | ||||
51 | REGISTRY_CREDENTIALS_ID: | ||||
52 | type: string | ||||
53 | default: "dockerhub" | ||||
54 | DOCKER_GIT_TAG: | ||||
55 | type: boolean | ||||
56 | default: "true" | ||||
chnyda | 303393e | 2017-09-20 11:46:46 +0200 | [diff] [blame] | 57 | EXTRA_REPO_URL: |
58 | type: string | ||||
59 | default: "${_param:jenkins_aptly_url}" |