Skip to content

Commit 01d16bf

Browse files
author
Matthew Fisher
committed
Merge pull request #193 from bacongobbler/typos
style(roadmap): fix grammatical errors in release checklist
2 parents 464bb6d + 3187dd5 commit 01d16bf

1 file changed

Lines changed: 39 additions & 37 deletions

File tree

src/roadmap/release-checklist.md

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Releasing a new Deis version
1+
# Release Checklist
22

3-
This document describes how to release a new Deis version. It's targetted toward the Deis core
3+
This document describes how to release a new Workflow version. It's targeted toward the Deis core
44
maintainers.
55

6-
The below sections present a step by step guide to releasing a new Deis Workflow. Throughout all
7-
examples, we'll be assuming that the below two environment variables are present in wherever
6+
The below sections present a step-by-step guide to publish a new Workflow release. Throughout all
7+
of the examples, we'll be assuming that the below two environment variables are present in wherever
88
you're working. Make sure to set them (e.g. by `export`ing them) before you get started.
99

10-
- `$DEIS_RELEASE` - the full name of this version. For example, `v2.0.0-beta3`
11-
- `$DEIS_RELEASE_SHORT` - The short name of this version. For example, `beta3`
10+
- `$WORKFLOW_RELEASE` - the full name of this version. For example, `v2.0.0-beta3`
11+
- `$WORKFLOW_RELEASE_SHORT` - The short name of this version. For example, `beta3`
1212

13-
# What's a release?
13+
# What's a Release?
1414

1515
A release consists of the following artifacts:
1616

17-
1. Docker images with `$DEIS_RELEASE` tags for each Deis Workflow component:
17+
1. Docker images with `$WORKFLOW_RELEASE` tags for each Deis Workflow component:
1818
- [builder](https://github.com/deis/builder)
1919
- [controller](https://github.com/deis/controller)
2020
- [dockerbuilder](https://github.com/deis/dockerbuilder)
@@ -30,11 +30,11 @@ A release consists of the following artifacts:
3030
- [workflow-e2e](https://github.com/deis/workflow-e2e)
3131
- [workflow-manager](https://github.com/deis/workflow-manager)
3232
- [workflow-cli](https://github.com/deis/workflow-cli)
33-
2. A new [Helm Classic chart for Deis](https://github.com/deis/charts) that references all of the new
34-
images referenced above. For example, if `$DEIS_RELEASE` is `2.0.0-beta3`, the new chart would
33+
2. A new [Helm Classic chart for Workflow](https://github.com/deis/charts) that references all of the new
34+
images referenced above. For example, if `$WORKFLOW_RELEASE` is `2.0.0-beta3`, the new chart would
3535
be in a new directory called `workflow-beta3`.
3636

37-
# Step 1: Get the status of all components
37+
# Step 1: Get the Status of all Components
3838

3939
First, we'll need to get the statuses of all repositories that house the components we're
4040
interested in upgrading. We'll use
@@ -54,19 +54,19 @@ git submodule status
5454

5555
Keep the list of commit SHAs handy - you'll need it for later.
5656

57-
# Step 2: Create a new Helm Classic chart
57+
# Step 2: Create a New Helm Classic Chart
5858

5959
Next, we'll create a new [Helm Classic](https://github.com/helm/helm-classic) chart so that we can "stage" a
6060
version of our release for testing. The process is fairly simple:
6161

62-
1. Create a new branch: `git checkout -b release-$DEIS_RELEASE`
63-
2. Copy the existing `dev` chart: `cp -r workflow-dev workflow-$DEIS_RELEASE_SHORT`
64-
3. Modify the `workflow-$DEIS_RELEASE_SHORT/tpl/generate_params.toml` file to ensure that all
62+
1. Create a new branch: `git checkout -b release-$WORKFLOW_RELEASE`
63+
2. Copy the existing `dev` chart: `cp -r workflow-dev workflow-$WORKFLOW_RELEASE_SHORT`
64+
3. Modify the `workflow-$WORKFLOW_RELEASE_SHORT/tpl/generate_params.toml` file to ensure that all
6565
`dockerTag` values look like `git-$COMPONENT_SHA_SHORT`, where `$COMPONENT_SHA_SHORT` is the first
6666
7 characters of the applicable SHA that you got in the previous step.
6767
4. Ensure that all `DEBUG` variables in manifests are `false`.
6868
5. Delete the `KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS` env var from `tpl/deis-controller-rc.yaml`
69-
6. Commit your changes: `git commit -a -m "chore(workflow-$DEIS_RELEASE_SHORT): releasing workflow-$DEIS_RELEASE_SHORT"`
69+
6. Commit your changes: `git commit -a -m "chore(workflow-$WORKFLOW_RELEASE_SHORT): releasing workflow-$WORKFLOW_RELEASE_SHORT"`
7070
7. Push your changes to your fork: `git push -u $YOUR_FORK_REMOTE release-$DEIS_RELEASE`. Note that
7171
`$YOUR_FORK_REMOTE` is the git URI to the remote of your `deis/charts` fork. Mine is `git@github.com:arschles/deis-charts.git`, for example.
7272
8. Do steps 2-5 with the `workflow-beta3-e2e` directory
@@ -89,33 +89,35 @@ Default (Minio) |
8989
Google Cloud Storage |
9090
Amazon S3 |
9191

92-
_Note_: If bugs are found and fixes are made, do the following:
9392

94-
- Update the appropriate docker tag(s) in the `generate_params.toml` file
95-
- Run `make git-update` in the aforementioned `deis-workflow-group` repository
93+
!!! note
94+
If bugs are found and fixes are made, do the following:
9695

97-
# Step 4: Tag and push Docker images
96+
- Update the appropriate docker tag(s) in the `generate_params.toml` file
97+
- Run `make git-update` in the aforementioned `deis-workflow-group` repository
9898

99-
After everyone has tested and determined that there are no showstopping problems for this release,
100-
it's time to tag each individual Docker image with `$DEIS_RELEASE`.
99+
# Step 4: Tag and Push Docker Images
100+
101+
After everyone has tested and determined that there are no show-stopping problems for this release,
102+
it's time to tag each individual Docker image with `$WORKFLOW_RELEASE`.
101103

102104
To do so, simply go back to the directory where you checked out the `deis-workflow-group` repo
103105
and run the following two commands to tag and push updated docker images:
104106

105107
```console
106-
TAG=$DEIS_RELEASE make docker-tag docker-push
108+
TAG=$WORKFLOW_RELEASE make docker-tag docker-push
107109
```
108110

109-
# Step 5: Update Helm Classic chart
111+
# Step 5: Update Helm Classic Chart
110112

111113
Now that new Docker images are on public Docker repositories, it's time to update the Helm Classic chart
112114
to reference the official images. To do so, simply modify all `dockerTag` entries in the
113-
`generate_params.toml` files in the `workflow-$DEIS_RELEASE_SHORT` and
114-
`workflow-$DEIS_RELEASE_SHORT-e2e` to be `$DEIS_RELEASE` (instead of the ones based on git tags).
115+
`generate_params.toml` files in the `workflow-$WORKFLOW_RELEASE_SHORT` and
116+
`workflow-$WORKFLOW_RELEASE_SHORT-e2e` to be `$WORKFLOW_RELEASE` (instead of the ones based on git tags).
115117

116118
Additionally, we want the official release chart to reference the production `versions.deis.com` API. Also in `generate_params.toml`, modify the `versionsApiURL` entry under `workflowManager` to have the value `https://versions.deis.com`.
117119

118-
Also, ensure that the `README.md` and `Chart.yaml` files in the new helm classic chart have updated references to the chart. For example, references to `helmc install workflow-betaX` should become `helmc install workflow-$DEIS_RELEASE_SHORT`
120+
Also, ensure that the `README.md` and `Chart.yaml` files in the new helm classic chart have updated references to the chart. For example, references to `helmc install workflow-betaX` should become `helmc install workflow-$WORKFLOW_RELEASE_SHORT`
119121

120122
If you find any references that should be bumped, open a pull-request against the documentation.
121123

@@ -126,15 +128,15 @@ When you're done, commit and push your changes. You should get your pull request
126128
# Step 6: Update Changelogs
127129

128130
At this point, part of the first part and all of the second part of the release is complete.
129-
That is, the Helm Classic chart for the new Deis version is done, and new Docker versions for all
131+
That is, the Helm Classic chart for the new Workflow version is done, and new Docker versions for all
130132
components are done.
131133

132134
The remaining work is simply generating changelogs and tagging each component's GitHub repository.
133135

134136
First, create a branch for the new changelog:
135137

136138
```console
137-
git checkout -b release-$DEIS_RELEASE_SHORT
139+
git checkout -b release-$WORKFLOW_RELEASE_SHORT
138140
```
139141

140142
To generate changelogs, run the below command in each repository. Ensure that `$PREVIOUS_TAG` is
@@ -146,40 +148,40 @@ _scripts/generate_changelog.sh $PREVIOUS_TAG
146148

147149
This command will output the new changelog entry to STDOUT. Copy it and prepend it to the
148150
existing `CHANGELOG.md` file, and make sure to change `HEAD` in the header of the entry
149-
to `$DEIS_RELEASE`.
151+
to `$WORKFLOW_RELEASE`.
150152

151153
Also copy the component changelog to a global release changelog, organized by component.
152154
This will only live on your local machine while doing the release. Once changelogs for all
153155
the components have been collected, publish the combined release notes as a gist so folks
154156
in Step 9 can start preparing supporting content for the release.
155157

156-
Finally, commit, push and submit a Pull Request for your changes:
158+
Finally, commit, push and submit a pull request for your changes:
157159

158160
```console
159-
git commit CHANGELOG.md -m "doc(CHANGELOG.md): add entry for $DEIS_RELEASE_SHORT"
160-
git push -u $YOUR_FORK_REMOTE $DEIS_RELEASE_SHORT
161+
git commit CHANGELOG.md -m "doc(CHANGELOG.md): add entry for $WORKFLOW_RELEASE_SHORT"
162+
git push -u $YOUR_FORK_REMOTE $WORKFLOW_RELEASE_SHORT
161163
```
162164

163165
Before you continue, ensure pull requests in all applicable repositories are reviewed, and merge
164166
them.
165167

166-
# Step 7: Tag and push git repos
168+
# Step 7: Tag and Push Git Repositories
167169

168170
The final step of the release process is to tag each git repository, and push the tag to each
169171
GitHub project. To do so, simply run the below command in the `deis-workflow-group` repository:
170172

171173
```console
172-
TAG=$DEIS_RELEASE TAG_MESSAGE="releasing workflow $DEIS_RELEASE" make git-tag git-tag-push
174+
TAG=$WORKFLOW_RELEASE TAG_MESSAGE="releasing workflow $WORKFLOW_RELEASE" make git-tag git-tag-push
173175
```
174176

175-
# Step 8: Close GitHub milestones
177+
# Step 8: Close GitHub Milestones
176178

177179
For each of the component projects listed at the top of this document, as well as for
178180
[workflow-cli](https://github.com/deis/workflow-cli), visit its GitHub repository and close
179181
the appropriate milestone. If there are still open issues attached to it, move them to
180182
the next upcoming milestone before closing.
181183

182-
# Step 9: Let everyone know
184+
# Step 9: Let Everyone Know
183185

184186
Jump in #company on slack and let folks know that the release has been cut! This will let
185187
folks in supporting functions know that they should start the release support process including

0 commit comments

Comments
 (0)