blob: e185b60398f532100809da36711b4db73b4311f7 [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
chnydaa8e5b472017-10-18 18:13:01 +02009 upload_source_package: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010010 dist: trusty
11 - name: cinder
chnydaa8e5b472017-10-18 18:13:01 +020012 upload_source_package: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010013 dist: trusty
14 - name: glance
chnydaa8e5b472017-10-18 18:13:01 +020015 upload_source_package: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010016 dist: trusty
17 - name: heat
chnydaa8e5b472017-10-18 18:13:01 +020018 upload_source_package: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010019 dist: trusty
20 - name: horizon
chnydaa8e5b472017-10-18 18:13:01 +020021 upload_source_package: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010022 dist: trusty
23 - name: keystone
chnydaa8e5b472017-10-18 18:13:01 +020024 upload_source_package: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010025 dist: trusty
26 - name: kubernetes
chnydaa8e5b472017-10-18 18:13:01 +020027 upload_source_package: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010028 dist: trusty
29 - name: neutron
chnydaa8e5b472017-10-18 18:13:01 +020030 upload_source_package: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010031 dist: trusty
32 - name: nova
chnydaa8e5b472017-10-18 18:13:01 +020033 upload_source_package: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010034 dist: trusty
35 - name: swift
chnydaa8e5b472017-10-18 18:13:01 +020036 upload_source_package: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010037 dist: trusty
38 - name: ceilometer
chnydaa8e5b472017-10-18 18:13:01 +020039 upload_source_package: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010040 dist: xenial
41 - name: cinder
chnydaa8e5b472017-10-18 18:13:01 +020042 upload_source_package: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010043 dist: xenial
44 - name: glance
chnydaa8e5b472017-10-18 18:13:01 +020045 upload_source_package: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010046 dist: xenial
47 - name: heat
chnydaa8e5b472017-10-18 18:13:01 +020048 upload_source_package: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010049 dist: xenial
50 - name: horizon
chnydaa8e5b472017-10-18 18:13:01 +020051 upload_source_package: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010052 dist: xenial
53 - name: keystone
chnydaa8e5b472017-10-18 18:13:01 +020054 upload_source_package: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010055 dist: xenial
56 - name: kubernetes
chnydaa8e5b472017-10-18 18:13:01 +020057 upload_source_package: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010058 dist: xenial
59 - name: neutron
chnydaa8e5b472017-10-18 18:13:01 +020060 upload_source_package: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010061 dist: xenial
62 - name: nova
chnydaa8e5b472017-10-18 18:13:01 +020063 upload_source_package: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010064 dist: xenial
65 - name: swift
chnydaa8e5b472017-10-18 18:13:01 +020066 upload_source_package: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010067 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"
Jakub Josef7938b532017-12-12 18:02:03 +010079 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010080 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
Vasyl Saienko81956ca2018-03-07 20:40:34 +0200114 default: "deb http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2016.3 xenial main; deb ${_param:jenkins_aptly_url}/{{dist}}/ testing salt"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100115 EXTRA_REPO_KEY_URL:
116 type: string
Vasyl Saienko81956ca2018-03-07 20:40:34 +0200117 default: "https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2016.3/SALTSTACK-GPG-KEY.pub; ${_param:jenkins_aptly_url}/public.gpg"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100118 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"
chnydaa3f63182017-03-20 11:08:21 +0100133 PPA:
134 type: string
135 default: "salt-formulas/ppa"
136 UPLOAD_PPA:
137 type: boolean
138 default: 'true'
139 UPLOAD_APTLY:
140 type: boolean
chnydaa8e5b472017-10-18 18:13:01 +0200141 default: '{{upload_source_package}}'
Petr Ruzickaad370c22018-02-06 13:01:30 +0100142 DEBUG:
143 type: boolean
144 default: 'false'