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
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
35
35
be in a new directory called `workflow-beta3`.
36
36
37
-
# Step 1: Get the status of all components
37
+
# Step 1: Get the Status of all Components
38
38
39
39
First, we'll need to get the statuses of all repositories that house the components we're
40
40
interested in upgrading. We'll use
@@ -54,19 +54,19 @@ git submodule status
54
54
55
55
Keep the list of commit SHAs handy - you'll need it for later.
56
56
57
-
# Step 2: Create a new Helm Classic chart
57
+
# Step 2: Create a New Helm Classic Chart
58
58
59
59
Next, we'll create a new [Helm Classic](https://github.com/helm/helm-classic) chart so that we can "stage" a
60
60
version of our release for testing. The process is fairly simple:
61
61
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
65
65
`dockerTag` values look like `git-$COMPONENT_SHA_SHORT`, where `$COMPONENT_SHA_SHORT` is the first
66
66
7 characters of the applicable SHA that you got in the previous step.
67
67
4. Ensure that all `DEBUG` variables in manifests are `false`.
68
68
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"`
70
70
7. Push your changes to your fork: `git push -u $YOUR_FORK_REMOTE release-$DEIS_RELEASE`. Note that
71
71
`$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.
72
72
8. Do steps 2-5 with the `workflow-beta3-e2e` directory
@@ -89,33 +89,35 @@ Default (Minio) |
89
89
Google Cloud Storage |
90
90
Amazon S3 |
91
91
92
-
_Note_: If bugs are found and fixes are made, do the following:
93
92
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:
96
95
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
98
98
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`.
101
103
102
104
To do so, simply go back to the directory where you checked out the `deis-workflow-group` repo
103
105
and run the following two commands to tag and push updated docker images:
104
106
105
107
```console
106
-
TAG=$DEIS_RELEASE make docker-tag docker-push
108
+
TAG=$WORKFLOW_RELEASE make docker-tag docker-push
107
109
```
108
110
109
-
# Step 5: Update Helm Classic chart
111
+
# Step 5: Update Helm Classic Chart
110
112
111
113
Now that new Docker images are on public Docker repositories, it's time to update the Helm Classic chart
112
114
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).
115
117
116
118
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`.
117
119
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`
119
121
120
122
If you find any references that should be bumped, open a pull-request against the documentation.
121
123
@@ -126,15 +128,15 @@ When you're done, commit and push your changes. You should get your pull request
126
128
# Step 6: Update Changelogs
127
129
128
130
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
130
132
components are done.
131
133
132
134
The remaining work is simply generating changelogs and tagging each component's GitHub repository.
133
135
134
136
First, create a branch for the new changelog:
135
137
136
138
```console
137
-
git checkout -b release-$DEIS_RELEASE_SHORT
139
+
git checkout -b release-$WORKFLOW_RELEASE_SHORT
138
140
```
139
141
140
142
To generate changelogs, run the below command in each repository. Ensure that `$PREVIOUS_TAG` is
0 commit comments