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