Skip to content

Commit af24778

Browse files
authored
Release 1.8 (#1596)
1 parent 64f0ec7 commit af24778

File tree

6 files changed

+24
-32
lines changed

6 files changed

+24
-32
lines changed

.github/ISSUE_TEMPLATE/release.md

+18-26
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,16 @@ only required once.**
106106
git push origin release-0.5
107107
```
108108

109-
- [ ] Announce a PR freeze on release-X.Y branch on [open-match-discuss@](mailing-list-post).
109+
- [ ] Announce a PR freeze on release-X.Y branch on [open-match-discuss@](https://groups.google.com/forum/#!forum/open-match-discuss).
110110
- [ ] Open the [`Makefile`](makefile-version) and change BASE_VERSION entry.
111111
- [ ] Open the [`install/helm/open-match/Chart.yaml`](om-chart-yaml-version) and change the `appVersion` and `version` entries.
112112
- [ ] Open the [`install/helm/open-match/values.yaml`](om-values-yaml-version) and change the `tag` entries.
113113
- [ ] Open the [`cloudbuild.yaml`] and change the `_OM_VERSION` entry.
114114
- [ ] There might be additional references to the old version but be careful not to change it for places that have it for historical purposes.
115-
- [ ] Run `make release`
116-
- [ ] Run `make api/api.md` in open-match repo to update the auto-generated API references in open-match-docs repo.
115+
- [ ] Update usage requirements in the Installation doc - e.g. supported minikube version, kubectl version, golang version, etc.
117116
- [ ] Create a PR with the changes, include the release candidate name, and point it to the release branch.
118117
- [ ] Go to [open-match-build](https://pantheon.corp.google.com/cloud-build/triggers?project=open-match-build) and update all *post submit* triggers' `_GCB_LATEST_VERSION` value to the `X.Y` of the release. This value should only increase as it's used to determine the latest stable version.
119-
- [ ] Merge your changes once the PR is approved.
118+
- [ ] Merge your changes once the PR is approved. Note: the helm chart is not published to the public registry until the merge is complete (it's a second cloud build trigger upon merge), so you won't be able to do final release testing until after all checks/approvals are finished!
120119

121120
## Create a release branch in the upstream open-match-docs repository
122121
- [ ] Open [`Makefile`](makefile-version) and change BASE_VERSION entry.
@@ -132,50 +131,43 @@ only required once.**
132131
- [ ] Create the next [version milestone](https://github.com/googleforgames/open-match/milestones) and use [semantic versioning](https://semver.org/) when naming it to be consistent with the [Go community](https://blog.golang.org/versioning-proposal).
133132
- [ ] Create a *draft* [release](https://github.com/googleforgames/open-match/releases). Note that github has both "Pre-release" and "draft" as different concepts for a release. Until the release is finalized, only use "Save draft", and do not use "Publish release".
134133
- [ ] Use the [release template](https://github.com/googleforgames/open-match/blob/main/docs/governance/templates/release.md)
135-
- [ ] `Tag` = v{version}. Example: v0.5.0. Append -rc.# for release candidates. Example: v0.5.0-rc.1.
136-
- [ ] `Target` = release-X.Y. Example: release-0.5.
137-
- [ ] `Release Title` = `Tag`
134+
- [ ] `Tag = v{version}` (Example: v0.5.0. Append -rc.# for release candidates. Example: v0.5.0-rc.1.)
135+
- [ ] `Target = release-X.Y` (Example: release-0.5.)
136+
- [ ] `Release Title = v{version}` (Must match `Tag`)
138137
- [ ] `Write` section will contain the contents from the [release template](https://github.com/googleforgames/open-match/blob/main/docs/governance/templates/release.md).
139138
- [ ] Add the milestone to all PRs and issues that were merged since the last milestone. Look at the [releases page](https://github.com/googleforgames/open-match/releases) and look for the "X commits to main since this release" for the diff.
140-
- [ ] Review all [milestone-less closed issues](https://github.com/googleforgames/open-match/issues?q=is%3Aissue+is%3Aclosed+no%3Amilestone) and assign the appropriate milestone.
141-
- [ ] Review all [issues in milestone](https://github.com/googleforgames/open-match/milestones) for proper [labels](https://github.com/googleforgames/open-match/labels) (ex: area/build).
142139
- [ ] Review all [milestone-less closed PRs](https://github.com/googleforgames/open-match/pulls?q=is%3Apr+is%3Aclosed+no%3Amilestone) and assign the appropriate milestone.
143140
- [ ] Review all [PRs in milestone](https://github.com/googleforgames/open-match/milestones) for proper [labels](https://github.com/googleforgames/open-match/labels) (ex: area/build).
144141
- [ ] View all open entries in milestone and move them to a future milestone if they aren't getting closed in time. https://github.com/googleforgames/open-match/milestones/v{version}
145142
- [ ] Review all closed PRs against the milestone. Put the user visible changes into the release notes using the suggested format. https://github.com/googleforgames/open-match/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed+is%3Amerged+milestone%3Av{version}
146143
- [ ] Review all closed issues against the milestone. Put the user visible changes into the release notes using the suggested format. https://github.com/googleforgames/open-match/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed+milestone%3Av{version}
147-
- [ ] Verify the [milestone](https://github.com/googleforgames/open-match/milestones) is effectively 100% at this point with the exception of the release issue itself.
144+
- [ ] Verify everything in the [milestone](https://github.com/googleforgames/open-match/milestones) is complete with the exception of the release issue itself.
148145

149-
## Build Artifacts
146+
## Build And Test Artifacts
150147

151-
- [ ] Go to the History section and find the "Post Submit" build of the merged commit that's running. Wait for it to go Green. If it's red, fix error repeat this section. Take note of the docker image version tag for next step. Example: 0.5.0-a4706cb.
148+
- [ ] Navigate to the [Cloud Console](https://console.cloud.google.com) in a browser and open the [Cloud Build History section](https://console.cloud.google.com/cloud-build/builds?project=open-match-build) and find the latest "Post Submit" build (trigger id: 9a451c7a-197b-4a38-a612-21f4c53c42fd) of the merged commit. The build may still be running, if so wait for it to finish. If it failed, fix the error and repeat this section. Open the build details and click on step 12, "Build: Docker Images". Take note of the docker image version tag near the top of the build log. This is the "{source version tag}" referenced in various commands below. Example: `0.5.0-a4706cb`.
152149
- [ ] Run `./docs/governance/templates/release.sh {source version tag} {version}` to copy the images to open-match-public-images.
153-
- [ ] If this is a new minor version in the newest major version then run `./docs/governance/templates/release.sh {source version tag} latest`.
154-
- [ ] Once the images have successfully been pushed to the registry, modify the line `open-match.dev/open-match v0.0.0-dev` in all `go.mod` files in the [Tutorials] (https://github.com/googleforgames/open-match/tree/main/tutorials) directory to use the current release version. This includes all solution subdirectories as well
155-
- [ ] Use the files under the `build/release/` directory for the Open Match installation guide. Make sure the artifacts work as expected - these are the artifacts that will be published to the GCS bucket and used in our release assets.
156-
- [ ] Copy the files from `build/release/` generated from `make release` to the release draft you created. You can drag and drop the files using the Github UI.
157-
- [ ] Update [Slack invitation link](https://slack.com/help/articles/201330256-invite-new-members-to-your-workspace#share-an-invite-link) in [open-match.dev](https://open-match.dev/site/docs/contribute/#get-involved).
158-
- [ ] Test Open Match installation under GKE and Minikube enviroment using YAML files and Helm. Follow the [First Match](https://development.open-match.dev/site/docs/getting-started/first_match/) guide, run `make proxy-demo`, and open `localhost:51507` to make sure everything works.
150+
- [ ] If this is not a release candidate or preview but a full release, run `./docs/governance/templates/release.sh {source version tag} latest` to tag these public images as the default version to pull from the registry.
151+
- [ ] Once the images have successfully been pushed to the registry, modify the line `open-match.dev/open-match v0.0.0-dev` in all `go.mod` files in the [Tutorials] (https://github.com/googleforgames/open-match/tree/main/tutorials) directory to use the current release version for the remainder of your local release testing. This includes all solution subdirectories as well. This change is local only and doesn't get committed to git.
152+
- [ ] Copy the installation files named `{sequence_number}-{component}.yaml` (example: `01-open-match-core.yaml`) from the [build folder in the private open-match-build-artifacts GCS bucket https://storage.mtls.cloud.google.com/open-match-build-artifacts/{version}](https://console.cloud.google.com/storage/browser/open-match-build-artifacts?project=open-match-build) to the release draft you created. Download them to your local machine, and then attach them to the draft using the Github UI. Note: the `05-jaeger.yaml` file no longer exists after release 1.8, so don't be surprised if that number is missing.
153+
- [ ] Update the [Slack invitation link](https://slack.com/help/articles/201330256-invite-new-members-to-your-workspace#share-an-invite-link) in [open-match.dev](https://open-match.dev/site/docs/contribute/#get-involved).
154+
- [ ] Test Open Match installation under GKE and Minikube enviroment using the YAML files attached to the release and the latest Helm chart, pulled from the public helm repo (not your local copy from github). Follow the [First Match](https://development.open-match.dev/site/docs/getting-started/first_match/) guide, run `make proxy-demo`, and open `localhost:51507` to make sure everything works.
159155
- [ ] Minikube: Run `make create-mini-cluster` to create a local cluster with latest Kubernetes API version.
160156
- [ ] GKE: Run `make create-gke-cluster` to create a GKE cluster.
161-
- [ ] Helm: Run `helm install open-match -n open-match open-match/open-match`
162-
- [ ] Update usage requirements in the Installation doc - e.g. supported minikube version, kubectl version, golang version, etc.
157+
- [ ] Helm: Run `helm install open-match -n open-match open-match/open-match`. Note, the helm chart for the release is not public until the PR has been merged, so you cannot complete this step until after the PR is closed and the 'Tagged Build' trigger (trigger ID: 083adc1a-fcac-4033-bc38-b9f6eadcb75d) has completed, which publishes the helm chart.
163158

164159
## Finalize
165160

166-
- [ ] Save the release as a draft.
161+
- [ ] Make sure your release draft reflects all steps up to this point, and is saved (so contributors can review it).
167162
- [ ] Circulate the draft release to active contributors. Where reasonable, get everyone's ok on the release notes before continuing.
168163
- [ ] Publish the [Release](om-release) in Github. This will notify repository watchers.
169164
- [ ] Publish the [Release](om-release) on Open Match [Blog](https://open-match.dev/site/blog/).
170165

171166
## Announce
172167

173-
- [ ] Send an email to the [mailing list](mailing-list-post) with the release details (copy-paste the release blog post)
174-
- [ ] Send a chat on the [Slack channel](om-slack). "Open Match {version} has been released! Check it out at {release url}."
168+
- [ ] Send an email to the [mailing list](https://groups.google.com/forum/#!newtopic/open-match-discuss) with the release details (copy-paste the release blog post)
169+
- [ ] Send a chat on the [Slack channel](https://open-match.slack.com/). "Open Match {version} has been released! Check it out at {release url}."
175170

176-
[om-slack]: https://open-match.slack.com/
177-
[mailing-list-post]: https://groups.google.com/forum/#!newtopic/open-match-discuss
178-
[release-template]: https://github.com/googleforgames/open-match/blob/main/docs/governance/templates/release.md
179171
[makefile-version]: https://github.com/googleforgames/open-match/blob/main/Makefile#L53
180172
[om-chart-yaml-version]: https://github.com/googleforgames/open-match/blob/main/install/helm/open-match/Chart.yaml#L16
181173
[om-values-yaml-version]: https://github.com/googleforgames/open-match/blob/main/install/helm/open-match/values.yaml#L16

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
# If you want information on how to edit this file checkout,
5454
# http://makefiletutorial.com/
5555

56-
BASE_VERSION = 1.8.0-rc.1
56+
BASE_VERSION = 1.8.0
5757
SHORT_SHA = $(shell git rev-parse --short=7 HEAD | tr -d [:punct:])
5858
BRANCH_NAME = $(shell git rev-parse --abbrev-ref HEAD | tr -d [:punct:])
5959
VERSION = $(BASE_VERSION)-$(SHORT_SHA)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ to Open Match.
2626

2727
## Support
2828

29-
* [Slack Channel](https://open-match.slack.com/) ([Signup](https://join.slack.com/t/open-match/shared_invite/enQtNDM1NjcxNTY4MTgzLTM5ZWQxNjc1YWI3MzJmN2RiMWJmYWI0ZjFiNzNkZmNkMWQ3YWU5OGVkNzA5Yzc4OGVkOGU5MTc0OTA5ZTA5NDU))
29+
* [Slack Channel](https://open-match.slack.com/) ([Signup](https://join.slack.com/t/open-match/shared_invite/zt-5k57lph3-Oe0WdatzL32xv6tPG3PfzQ))
3030
* [File an Issue](https://github.com/googleforgames/open-match/issues/new)
3131
* [Mailing list](https://groups.google.com/forum/#!forum/open-match-discuss)
3232

cloudbuild.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ artifacts:
185185
- api/*.swagger.json
186186

187187
substitutions:
188-
_OM_VERSION: "1.8.0-rc.1"
188+
_OM_VERSION: "1.8.0"
189189
_GCB_POST_SUBMIT: "0"
190190
_GCB_LATEST_VERSION: "undefined"
191191
_ARTIFACTS_BUCKET: "gs://open-match-build-artifacts/"

install/helm/open-match/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# limitations under the License.
1414

1515
apiVersion: v2
16-
appVersion: "1.8.0-rc.1"
17-
version: 1.8.0-rc.1
16+
appVersion: "1.8.0"
17+
version: 1.8.0
1818
name: open-match
1919
dependencies:
2020
- name: redis

install/helm/open-match/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ global:
278278
# Use this field if you need to override the image registry and image tag for all services defined in this chart
279279
image:
280280
registry: gcr.io/open-match-public-images
281-
tag: 1.8.0-rc.1
281+
tag: 1.8.0
282282
pullPolicy: Always
283283

284284
# Expose the telemetry configurations to all subcharts because prometheus, for example,

0 commit comments

Comments
 (0)