You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git commit -a -m "chore(workflow-$WORKFLOW_RELEASE): update workflow chart release value"
152
-
git push upstream HEAD:master
153
-
```
154
-
155
-
### Step 3: Tag Supporting Repositories
148
+
### Step 2: Tag Supporting Repositories
156
149
157
150
Some Workflow components not in the Helm chart must also be tagged in sync with the release.
158
151
Follow the [component release process](#how-to-release-a-component) above and ensure that
@@ -162,65 +155,16 @@ these components are tagged:
162
155
-[deis/workflow-cli][]
163
156
-[deis/workflow-e2e][]
164
157
165
-
### Step 4: Create Helm Charts
158
+
### Step 3: Create Helm Chart
166
159
167
-
For a patch release, check out the previous tag and cherry-pick commits onto it:
160
+
To create and stage a release candidate chart for Workflow, we will build the [workflow-chart-publish](https://ci.deis.io/job/workflow-chart-publish) job with the following parameters:
Change the `generate_params.toml` file in **each** new chart as follows:
211
-
212
-
1. Set all `dockerTag` values to latest releases for each component, as determined above
213
-
214
-
Commit and push your changes:
215
-
216
-
```bash
217
-
git commit -a -m "chore(workflow-$WORKFLOW_RELEASE): releasing workflow-$WORKFLOW_RELEASE(-e2e)"
218
-
git push upstream HEAD:release-$WORKFLOW_RELEASE
219
-
```
220
-
221
-
Open a pull request at [deis/charts][] to merge this branch into master.
222
-
223
-
### Step 5: Manual Testing
167
+
### Step 4: Manual Testing
224
168
225
169
Now it's time to go above and beyond current CI tests. Create a testing matrix spreadsheet (copying
226
170
from the previous document is a good start) and sign up testers to cover all permutations.
@@ -234,30 +178,33 @@ When showstopper-level bugs are found, the process is as follows:
234
178
1. Create a component PR that fixes the bug.
235
179
1. Once the PR passes and is reviewed, merge it and do a new
236
180
[component release](#how-to-release-a-component)
237
-
1. Update that component's `dockerTag` value in the release chart(s) to the new semver tag
238
-
1. Commit and push the chart changes to the release branch and restart testing
181
+
1. Trigger the same `workflow-chart-publish` job as mentioned in Step 3 to upload the newly-generated Workflow release candidate chart to staging.
239
182
240
-
### Step 6: Release the Chart as a Component
183
+
### Step 5: Release the Chart
241
184
242
185
When testing has completed without uncovering any new showstopper bugs and the charts PR has been
243
-
reviewed successfully, merge it to master. Then update your local master branch and do a
244
-
[component release][] of the chart repository. Note that the [semantic version][] of the chart
245
-
release is predetermined as the value of `$WORKFLOW_RELEASE`.
186
+
reviewed successfully, kick off the [workflow-chart-release](https://ci.deis.io/job/workflow-chart-release) job with the following parameter:
187
+
188
+
`RELEASE_TAG=$WORKFLOW_RELEASE`
189
+
190
+
This job will copy the release candidate chart (now approved by CI and manual testing) from the staging repo to the production repo, signing
191
+
it if it has not done so already.
246
192
247
-
### Step 7: Assemble Master Changelog
193
+
### Step 6: Assemble Master Changelog
248
194
249
195
Each component already updated its release notes on GitHub with CHANGELOG content. We'll now
250
196
generate the master changelog for the Workflow chart, consisting of all aforementioned component changes
251
197
as well as those non-component repo changes needing to be manually added.
252
198
253
-
We'll employ the same `generate_params.toml` and `components.json` files as used in Step 4 above, this time
254
-
invoking `deisrel changelog global` to get all component changes between the tag existing in the `WORKFLOW_PREV_RELEASE`
255
-
chart and the _most recent_ release tag existing in GitHub. (Therefore, if there are any unreleased commits in
256
-
a component repo, they will not appear here):
199
+
We'll employ the `requirements.lock` file from the `WORKFLOW_PREV_RELEASE` chart, as well as a repo-to-chart-name mapping file
200
+
(see [here](https://github.com/deis/deisrel/blob/master/README.md#usage) for an example), this time invoking `deisrel changelog global` to get all component changes between
201
+
the chart versions existing in the `WORKFLOW_PREV_RELEASE` chart and the _most recent_ releases existing in GitHub.
202
+
(Therefore, if there are any unreleased commits in a component repo, they will not appear here):
257
203
258
204
```bash
259
-
deisrel changelog global $HOME/.helmc/workspace/charts/workflow-$WORKFLOW_PREV_RELEASE/tpl/generate_params.toml \
260
-
components.json >$WORKFLOW_RELEASE
205
+
helm repo add deis https://charts.deis.com/workflow
0 commit comments