blob: b58b801e8383d782eba70fe208478c7be8aff23e [file] [log] [blame]
Kyrylo Mashchenko0ec09762018-10-26 11:06:48 +00001parameters:
2 jenkins:
3 client:
4 job_template:
5 build-debian-salt-multibranch:
6 name: build-debian-salt-formula-{{name}}-ubuntu-{{dist}}
7 jobs:
8 - name: ceilometer
9 upload_source_package: false
10 dist: trusty
11 - name: cinder
12 upload_source_package: false
13 dist: trusty
14 - name: glance
15 upload_source_package: false
16 dist: trusty
17 - name: heat
18 upload_source_package: false
19 dist: trusty
20 - name: horizon
21 upload_source_package: false
22 dist: trusty
23 - name: keystone
24 upload_source_package: false
25 dist: trusty
26 - name: kubernetes
27 upload_source_package: false
28 dist: trusty
29 - name: neutron
30 upload_source_package: false
31 dist: trusty
32 - name: nova
33 upload_source_package: false
34 dist: trusty
35 - name: swift
36 upload_source_package: false
37 dist: trusty
38 - name: ceilometer
39 upload_source_package: true
40 dist: xenial
41 - name: cinder
42 upload_source_package: true
43 dist: xenial
44 - name: glance
45 upload_source_package: true
46 dist: xenial
47 - name: heat
48 upload_source_package: true
49 dist: xenial
50 - name: horizon
51 upload_source_package: true
52 dist: xenial
53 - name: keystone
54 upload_source_package: true
55 dist: xenial
56 - name: kubernetes
57 upload_source_package: true
58 dist: xenial
59 - name: neutron
60 upload_source_package: true
61 dist: xenial
62 - name: nova
63 upload_source_package: true
64 dist: xenial
65 - name: swift
66 upload_source_package: false
67 dist: xenial
68 template:
69 discard:
70 build:
71 keep_num: 10
72 artifact:
73 keep_num: 10
74 type: workflow-scm
75 concurrent: false
76 scm:
77 type: git
78 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
79 branch: "${_param:jenkins_pipelines_branch}"
80 credentials: "gerrit"
81 script: build-debian-packages-pipeline.groovy
82 trigger:
83 gerrit:
84 project:
85 salt-formulas/{{name}}:
86 branches:
87 - master
88 - debian/{{dist}}
89 message:
90 build_successful: "Build successful"
91 build_unstable: "Build unstable"
92 build_failure: "Build failed"
93 event:
94 ref:
95 - updated
96 param:
97 SOURCE_URL:
98 type: string
99 default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}.git"
100 SOURCE_BRANCH:
101 type: string
102 default: "master"
103 SOURCE_CREDENTIALS:
104 type: string
105 default: "gerrit"
106 DEBIAN_BRANCH:
107 type: string
108 default: 'debian/{{dist}}'
109 DEBIAN_SNAPSHOT:
110 type: boolean
111 default: 'true'
112 EXTRA_REPO_URL:
113 type: string
114 default: "deb http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2016.3 xenial main; deb ${_param:jenkins_aptly_url}/{{dist}}/ testing salt"
115 EXTRA_REPO_KEY_URL:
116 type: string
117 default: "https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2016.3/SALTSTACK-GPG-KEY.pub; ${_param:jenkins_aptly_url}/public.gpg"
118 APTLY_URL:
119 type: string
120 default: "${_param:jenkins_aptly_api_url}"
121 APTLY_REPO:
122 type: string
123 default: "ubuntu-{{dist}}-salt"
124 OS:
125 type: string
126 default: "ubuntu"
127 DIST:
128 type: string
129 default: "{{dist}}"
130 ARCH:
131 type: string
132 default: "amd64"
133 PPA:
134 type: string
135 default: "salt-formulas/ppa"
136 UPLOAD_PPA:
137 type: boolean
138 default: 'true'
139 UPLOAD_APTLY:
140 type: boolean
141 default: '{{upload_source_package}}'
142 DEBUG:
143 type: boolean
144 default: 'false'