blob: 869d7e0c2388e02ce30ef0679c03124cab4285ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
|
# Documentation available at https://expeditor.chef.io/docs/getting-started/
---
# The name of the product keys for this product (from mixlib-install)
product_key:
- chef
# Slack channel in Chef Software slack to send notifications about build failures, etc
slack:
notify_channel: chef-infra-notify
# Which Ruby Gems, built when the Omnibus package is built, to publish to rubygems.org
# This publish is triggered by the `built_in:publish_rubygems` artifact_action.
rubygems:
- chef
- chef-config
- chef-bin
- chef-utils
pipelines:
- verify:
public: true
- docker/build
- habitat/build
- habitat/test:
definition: .expeditor/habitat-test.pipeline.yml
trigger: default
- omnibus/release
- omnibus/adhoc:
definition: .expeditor/release.omnibus.yml
env:
- ADHOC: true
github:
# This deletes the GitHub PR branch after successfully merged into the release branch
delete_branch_on_merge: true
# The tag format to use (e.g. v1.0.0)
version_tag_format: "v{{version}}"
# allow bumping the minor release via label
minor_bump_labels:
- "Expeditor: Bump Version Minor"
# allow bumping the major release via label
major_bump_labels:
- "Expeditor: Bump Version Major"
# Which Github branches to build Omnibus releases from, and what versions
# (as determined by the value in the VERSION file) those branches are responsible
# for building.
release_branches:
- master:
version_constraint: 17*
- chef-16:
version_constraint: 16*
- chef-15:
version_constraint: 15*
- chef-14:
version_constraint: 14*
changelog:
rollup_header: Changes not yet released to stable
subscriptions:
# the omnibus/docker/gem chain
- workload: artifact_published:unstable:chef:{{version_constraint}}
actions:
- trigger_pipeline:docker/build
- workload: artifact_published:current:chef:{{version_constraint}}
actions:
- built_in:promote_docker_images
- workload: artifact_published:stable:chef:{{version_constraint}}
actions:
- built_in:rollover_changelog
- bash:.expeditor/update_dockerfile.sh
- built_in:promote_docker_images
- built_in:publish_rubygems
- built_in:promote_habitat_packages
- built_in:notify_chefio_slack_channels
# These actions are taken, in order they are specified, anytime a Pull Request is merged.
- workload: pull_request_merged:{{github_repo}}:{{release_branch}}:*
actions:
- built_in:bump_version:
ignore_labels:
- "Expeditor: Skip Version Bump"
- "Expeditor: Skip All"
- bash:.expeditor/update_version.sh:
only_if: built_in:bump_version
- built_in:update_changelog:
ignore_labels:
- "Expeditor: Skip Changelog"
- "Expeditor: Skip All"
- trigger_pipeline:habitat/build:
ignore_labels:
- "Expeditor: Skip Habitat"
- "Expeditor: Skip All"
only_if: built_in:bump_version
- trigger_pipeline:omnibus/release:
ignore_labels:
- "Expeditor: Skip Omnibus"
- "Expeditor: Skip All"
only_if: built_in:bump_version
# the habitat chain
- workload: buildkite_hab_build_group_published:{{agent_id}}:*
actions:
# when all of the hab package publish to the unstable channel, test and promote them
- trigger_pipeline:habitat/test
# subscriptions to Ruby gem dependencies' releases, open PR for updates
- workload: ruby_gem_published:mixlib-archive-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:mixlib-authentication-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:mixlib-cli-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:mixlib-log-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:mixlib-shellout-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:chef-vault-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:chef-zero-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:ohai-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:inspec-core-bin-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:train-core-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:win32-process-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:win32-service-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:win32-taskscheduler-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:win32-certstore-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:win32-event-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:win32-mutex-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:win32-eventlog-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:win32-api-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:ffi-yajl-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:libyajl2-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:cheffish-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:license-acceptance-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:ffi-libarchive-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:plist-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:ffi-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:net-ssh-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:tty-prompt-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:tty-screen-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:tty-table-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:pastel-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:erubis-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:bcrypt_pbkdf-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:ed25519-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:addressable-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:proxifier-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:syslog-logger-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:uuidtools-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:iniparse-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:net-sftp-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:fauxhai-ng-*
actions:
- bash:.expeditor/update_dep.sh
# NOTE: The branch of Ohai here needs to be updated when setting up a stable branch of chef/chef
- workload: chef/ohai:master_completed:pull_request_merged:chef/ohai:master:*
actions:
- bash:.expeditor/update_bundler_dep.sh
# NOTE: When the stable branch of chef/chef is being cut you probably want to remove this subscription
- workload: chef/chefstyle:master_completed:pull_request_merged:chef/chefstyle:master:*
actions:
- bash:.expeditor/update_bundler_dep.sh
|