blob: d5d8fcddebedc74a661a442109d4262006f9c9dc [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
2 jenkins:
3 client:
4 job_template:
5 aptly:
6 name: aptly-{{operation}}-{{dist}}-{{source}}-{{target}}
7 jobs:
8 - operation: promote
9 diff_only: false
10 dist: trusty
11 source: nightly
12 target: testing
13 - operation: promote
14 dist: trusty
15 source: testing
16 target: stable
17 - operation: promote
18 dist: xenial
19 source: nightly
20 target: testing
21 - operation: promote
22 dist: xenial
23 source: testing
24 target: stable
25 - operation: diff
26 diff_only: true
27 dist: trusty
28 source: nightly
29 target: testing
30 - operation: diff
31 diff_only: true
32 dist: trusty
33 source: testing
34 target: stable
35 - operation: diff
36 diff_only: true
37 dist: xenial
38 source: nightly
39 target: testing
40 - operation: diff
41 diff_only: true
42 dist: xenial
43 source: testing
44 target: stable
45 template:
46 discard:
47 build:
48 keep_num: 25
49 artifact:
50 keep_num: 25
51 type: workflow-scm
52 concurrent: false
53 scm:
54 type: git
55 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
56 credentials: "gerrit"
57 script: aptly-promote-pipeline.groovy
58 param:
59 SOURCE:
60 type: string
61 default: "{{dist}}/{{source}}"
62 TARGET:
63 type: string
64 default: "{{dist}}/{{target}}"
65 RECREATE:
66 type: boolean
67 default: 'false'
68 DIFF_ONLY:
69 type: boolean
70 default: '{{diff_only}}'
71 APTLY_URL:
72 type: string
73 default: "${_param:jenkins_aptly_api_url}"
chnydac57c6192017-03-21 13:19:46 +010074 COMPONENTS:
75 type: string
76 default: "all"
77 description: "Comma separated list (,)"
78 PACKAGES:
79 type: string
80 default: "all"
81 description: "Comma separated list (,)"