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
3. For the next few steps, we'll work with [deisrel](https://github.com/deis/deisrel):
55
+
* Download the binary from the link in the project's `README` and place it in your `$PATH`
56
+
* Stage copies of the `tpl/generate_params.toml` for each chart into staging. `deisrel` will automatically populate the latest commit sha values for each component's `dockerTag`:
57
+
```
58
+
deisrel helm-params --stage workflow
59
+
deisrel helm-params --stage e2e
60
+
```
61
+
* Stage copies of the additional files in `workflow-dev(-e2e)` charts needing release value updates into staging (i.e., `Chart.yaml`, `README.md`, etc.)
62
+
```
63
+
deisrel helm-stage workflow
64
+
deisrel helm-stage e2e
65
+
```
66
+
* Copy these staged files back to the correlating chart directories created in step 2 above:
4. Delete the `KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS` env var from `workflow-$WORKFLOW_RELEASE_SHORT/tpl/deis-controller-rc.yaml`
72
+
5. Commit your changes:
73
+
```
74
+
git commit -a -m "chore(workflow-$WORKFLOW_RELEASE_SHORT): releasing workflow-$WORKFLOW_RELEASE_SHORT(-e2e)"
75
+
```
76
+
6. Push your changes: `git push origin HEAD:release-$WORKFLOW_RELEASE`.
77
+
7. Open a pull request from your branch to merge into `master` on https://github.com/deis/charts
78
+
79
+
# Step 2: Kick off Jenkins Job
80
+
81
+
Navigate to https://ci.deis.io/job/workflow-test-release/ and kick off a new job with appropriate build parameters filled out, i.e. `HELM_REMOTE_BRANCH=$WORKFLOW_RELEASE` and `RELEASE=$WORKFLOW_RELEASE_SHORT`
82
+
83
+
As of this writing, the e2e tests in this job are run on a GKE cluster using default (minio) external storage.
74
84
75
85
# Step 3: Manual Testing
76
86
@@ -94,7 +104,7 @@ Amazon S3 |
94
104
If bugs are found and fixes are made, do the following:
95
105
96
106
- Update the appropriate docker tag(s) in the `generate_params.toml` file
97
-
- Run `make git-update` in the aforementioned `deis-workflow-group` repository
107
+
- Push this change to the release branch
98
108
99
109
# Step 4: Tag and Push Docker Images
100
110
@@ -105,21 +115,28 @@ To do so, simply go back to the directory where you checked out the `deis-workfl
105
115
and run the following two commands to tag and push updated docker images:
106
116
107
117
```console
118
+
make git-update
108
119
TAG=$WORKFLOW_RELEASE make docker-tag docker-push
109
120
```
110
121
111
122
# Step 5: Update Helm Classic Chart
112
123
113
124
Now that new Docker images are on public Docker repositories, it's time to update the Helm Classic chart
114
-
to reference the official images. To do so, simply modify all `dockerTag` entries in the
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).
125
+
to reference the official images. We will use `deisrel` to do this. The following will change every `dockerTag` value
126
+
to the same `$WORKFLOW_RELEASE` as well as now pointing to the `deis` quay org.
117
127
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`.
128
+
```
129
+
deisrel helm-params --stage --tag $WORKFLOW_RELEASE --org deis workflow
130
+
deisrel helm-params --stage --tag $WORKFLOW_RELEASE --org deis e2e
131
+
```
119
132
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`
If you find any references that should be bumped, open a pull-request against the documentation.
139
+
Double-check that `workflow-dev/tpl/generate_params.toml`, has the value `https://versions.deis.com` for `versionsApiURL` entry under `workflowManager`.
123
140
124
141
When you're done, commit and push your changes. You should get your pull request reviewed and merged before continuing.
125
142
@@ -143,7 +160,8 @@ To generate changelogs, run the below command in each repository. Ensure that `$
143
160
the previous tag that was generated in the repository.
144
161
145
162
```console
146
-
_scripts/generate_changelog.sh $PREVIOUS_TAG
163
+
$PREVIOUS_TAG=<previous release tag> make update-changelog # if make recipe exists (as in builder)
164
+
_scripts/generate_changelog.sh $PREVIOUS_TAG # if make recipe doesn't exist (as in most repos)
147
165
```
148
166
149
167
This command will output the new changelog entry to STDOUT. Copy it and prepend it to the
@@ -158,8 +176,8 @@ in Step 9 can start preparing supporting content for the release.
158
176
Finally, commit, push and submit a pull request for your changes:
159
177
160
178
```console
161
-
git commit CHANGELOG.md -m "doc(CHANGELOG.md): add entry for $WORKFLOW_RELEASE_SHORT"
0 commit comments