blob: d216e9dd0be396bedc63f60b547cb423a226f9e6 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
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 dist: trusty
10 - name: cinder
11 dist: trusty
12 - name: glance
13 dist: trusty
14 - name: heat
15 dist: trusty
16 - name: horizon
17 dist: trusty
18 - name: keystone
19 dist: trusty
20 - name: kubernetes
21 dist: trusty
22 - name: neutron
23 dist: trusty
24 - name: nova
25 dist: trusty
26 - name: swift
27 dist: trusty
28 - name: ceilometer
29 dist: xenial
30 - name: cinder
31 dist: xenial
32 - name: glance
33 dist: xenial
34 - name: heat
35 dist: xenial
36 - name: horizon
37 dist: xenial
38 - name: keystone
39 dist: xenial
40 - name: kubernetes
41 dist: xenial
42 - name: neutron
43 dist: xenial
44 - name: nova
45 dist: xenial
46 - name: swift
47 dist: xenial
48 template:
49 discard:
50 build:
51 keep_num: 10
52 artifact:
53 keep_num: 10
54 type: workflow-scm
55 concurrent: false
56 scm:
57 type: git
58 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
59 credentials: "gerrit"
60 script: build-debian-packages-pipeline.groovy
61 trigger:
62 gerrit:
63 project:
64 salt-formulas/{{name}}:
65 branches:
66 - master
67 - debian/{{dist}}
68 message:
69 build_successful: "Build successful"
70 build_unstable: "Build unstable"
71 build_failure: "Build failed"
72 event:
73 ref:
74 - updated
75 param:
76 SOURCE_URL:
77 type: string
78 default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}.git"
79 SOURCE_BRANCH:
80 type: string
81 default: "master"
82 SOURCE_CREDENTIALS:
83 type: string
84 default: "gerrit"
85 DEBIAN_BRANCH:
86 type: string
87 default: 'debian/{{dist}}'
88 DEBIAN_SNAPSHOT:
89 type: boolean
90 default: 'true'
91 EXTRA_REPO_URL:
92 type: string
93 default: "deb ${_param:jenkins_aptly_url}/{{dist}}/ testing salt salt-latest"
94 EXTRA_REPO_KEY_URL:
95 type: string
96 default: "${_param:jenkins_aptly_url}/public.gpg"
97 APTLY_URL:
98 type: string
99 default: "${_param:jenkins_aptly_api_url}"
100 APTLY_REPO:
101 type: string
102 default: "ubuntu-{{dist}}-salt"
103 OS:
104 type: string
105 default: "ubuntu"
106 DIST:
107 type: string
108 default: "{{dist}}"
109 ARCH:
110 type: string
111 default: "amd64"
chnydaa3f63182017-03-20 11:08:21 +0100112 PPA:
113 type: string
114 default: "salt-formulas/ppa"
115 UPLOAD_PPA:
116 type: boolean
117 default: 'true'
118 UPLOAD_APTLY:
119 type: boolean
120 default: 'true'