blob: 322afde1b6810ac361bfbdd9bd7791812457ae84 [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"
79 credentials: "gerrit"
80 script: build-debian-packages-pipeline.groovy
81 trigger:
82 gerrit:
83 project:
84 salt-formulas/{{name}}:
85 branches:
86 - master
87 - debian/{{dist}}
88 message:
89 build_successful: "Build successful"
90 build_unstable: "Build unstable"
91 build_failure: "Build failed"
92 event:
93 ref:
94 - updated
95 param:
96 SOURCE_URL:
97 type: string
98 default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}.git"
99 SOURCE_BRANCH:
100 type: string
101 default: "master"
102 SOURCE_CREDENTIALS:
103 type: string
104 default: "gerrit"
105 DEBIAN_BRANCH:
106 type: string
107 default: 'debian/{{dist}}'
108 DEBIAN_SNAPSHOT:
109 type: boolean
110 default: 'true'
111 EXTRA_REPO_URL:
112 type: string
113 default: "deb ${_param:jenkins_aptly_url}/{{dist}}/ testing salt salt-latest"
114 EXTRA_REPO_KEY_URL:
115 type: string
116 default: "${_param:jenkins_aptly_url}/public.gpg"
117 APTLY_URL:
118 type: string
119 default: "${_param:jenkins_aptly_api_url}"
120 APTLY_REPO:
121 type: string
122 default: "ubuntu-{{dist}}-salt"
123 OS:
124 type: string
125 default: "ubuntu"
126 DIST:
127 type: string
128 default: "{{dist}}"
129 ARCH:
130 type: string
131 default: "amd64"
chnydaa3f63182017-03-20 11:08:21 +0100132 PPA:
133 type: string
134 default: "salt-formulas/ppa"
135 UPLOAD_PPA:
136 type: boolean
137 default: 'true'
138 UPLOAD_APTLY:
139 type: boolean
chnydaa8e5b472017-10-18 18:13:01 +0200140 default: '{{upload_source_package}}'