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