Skip to content

Commit 64f0ec7

Browse files
authored
Release 1.8-rc1 (#1587)
1 parent 98e7a02 commit 64f0ec7

File tree

146 files changed

+2393
-1873
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+2393
-1873
lines changed

.github/ISSUE_TEMPLATE/release.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ then you'll need to create the release branch.
3737

3838
```shell
3939
# Create a local release branch.
40-
git checkout -b release-0.5 upstream/master
40+
git checkout -b release-0.5 upstream/main
4141
# Push the branch upstream.
4242
git push upstream release-0.5
4343
```
@@ -76,7 +76,7 @@ Hot Fixes:
7676

7777
Preview:
7878

79-
* Rare, a one off release cut from the master branch to provide early access
79+
* Rare, a one off release cut from the main branch to provide early access
8080
to APIs or some other major change.
8181
* **NOTE: There's no branch for this release.**
8282
* Example: 0.5-preview.1
@@ -98,7 +98,7 @@ only required once.**
9898

9999
- [ ] Create the branch in the **upstream** repository. It should be named
100100
release-X.Y. Example: release-0.5. At this point there's effectively a code
101-
freeze for this version and all work on master will be included in a future
101+
freeze for this version and all work on main will be included in a future
102102
version. If you're on the branch that you created in the *getting setup*
103103
section above you should be able to push upstream.
104104

@@ -131,12 +131,12 @@ git push origin release-0.5
131131
only required once.**
132132
- [ ] 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).
133133
- [ ] 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".
134-
- [ ] Use the [release template](https://github.com/googleforgames/open-match/blob/master/docs/governance/templates/release.md)
134+
- [ ] Use the [release template](https://github.com/googleforgames/open-match/blob/main/docs/governance/templates/release.md)
135135
- [ ] `Tag` = v{version}. Example: v0.5.0. Append -rc.# for release candidates. Example: v0.5.0-rc.1.
136136
- [ ] `Target` = release-X.Y. Example: release-0.5.
137137
- [ ] `Release Title` = `Tag`
138-
- [ ] `Write` section will contain the contents from the [release template](https://github.com/googleforgames/open-match/blob/master/docs/governance/templates/release.md).
139-
- [ ] 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 master since this release" for the diff.
138+
- [ ] `Write` section will contain the contents from the [release template](https://github.com/googleforgames/open-match/blob/main/docs/governance/templates/release.md).
139+
- [ ] 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.
140140
- [ ] 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.
141141
- [ ] 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).
142142
- [ ] 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.
@@ -175,9 +175,9 @@ only required once.**
175175

176176
[om-slack]: https://open-match.slack.com/
177177
[mailing-list-post]: https://groups.google.com/forum/#!newtopic/open-match-discuss
178-
[release-template]: https://github.com/googleforgames/open-match/blob/master/docs/governance/templates/release.md
179-
[makefile-version]: https://github.com/googleforgames/open-match/blob/master/Makefile#L53
180-
[om-chart-yaml-version]: https://github.com/googleforgames/open-match/blob/master/install/helm/open-match/Chart.yaml#L16
181-
[om-values-yaml-version]: https://github.com/googleforgames/open-match/blob/master/install/helm/open-match/values.yaml#L16
178+
[release-template]: https://github.com/googleforgames/open-match/blob/main/docs/governance/templates/release.md
179+
[makefile-version]: https://github.com/googleforgames/open-match/blob/main/Makefile#L53
180+
[om-chart-yaml-version]: https://github.com/googleforgames/open-match/blob/main/install/helm/open-match/Chart.yaml#L16
181+
[om-values-yaml-version]: https://github.com/googleforgames/open-match/blob/main/install/helm/open-match/values.yaml#L16
182182
[om-release]: https://github.com/googleforgames/open-match/releases/new
183-
[readme-deploy]: https://github.com/googleforgames/open-match/blob/master/README.md#deploy-to-kubernetes
183+
[readme-deploy]: https://github.com/googleforgames/open-match/blob/main/README.md#deploy-to-kubernetes

Dockerfile.base-build

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
# limitations under the License.
1414

1515
# When updating Go version, update Dockerfile.ci, Dockerfile.base-build, and go.mod
16-
FROM golang:1.19.5
17-
ENV GO111MODULE=on
16+
FROM golang:1.21.0
1817

1918
WORKDIR /go/src/open-match.dev/open-match
2019

Dockerfile.ci

Lines changed: 48 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -11,49 +11,65 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14+
FROM debian:bookworm
1415

15-
FROM debian
16+
# set env vars
17+
ARG DEBIAN_FRONTEND=noninteractive
18+
ENV OPEN_MATCH_CI_MODE=1
19+
ENV KUBECONFIG=$HOME/.kube/config
20+
ENV GOPATH=/go
21+
ENV PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
1622

17-
RUN apt-get update
18-
RUN apt-get install -y -qq git make python3 virtualenv curl sudo unzip apt-transport-https ca-certificates curl software-properties-common gnupg2
23+
RUN apt-get update -y \
24+
&& apt-get install -y -qq --no-install-recommends \
25+
apt-utils \
26+
git \
27+
make \
28+
python3 \
29+
virtualenv \
30+
curl \
31+
sudo \
32+
unzip \
33+
apt-transport-https \
34+
ca-certificates \
35+
curl \
36+
software-properties-common \
37+
gnupg2 \
38+
libc6 \
39+
build-essential
40+
RUN mkdir -p /usr/share/keyrings/
1941

2042
# Docker
21-
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
22-
RUN sudo apt-key fingerprint 0EBFCD88
23-
RUN sudo add-apt-repository \
24-
"deb [arch=amd64] https://download.docker.com/linux/debian \
25-
stretch \
26-
stable"
27-
RUN sudo apt-get update
28-
RUN sudo apt-get install -y -qq docker-ce docker-ce-cli containerd.io
43+
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable" | tee -a /etc/apt/sources.list.d/docker.list \
44+
&& curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg \
45+
&& apt-get update -y \
46+
&& apt-get install -y -qq \
47+
docker-ce \
48+
docker-ce-cli \
49+
containerd.io
2950

3051
# Cloud SDK
31-
RUN export CLOUD_SDK_REPO="cloud-sdk-stretch" && \
32-
echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \
33-
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \
34-
apt-get update -y && apt-get install google-cloud-sdk google-cloud-sdk-app-engine-go -y -qq && \
35-
sudo apt-get update -y && \
36-
sudo apt-get install -y google-cloud-sdk-gke-gcloud-auth-plugin
52+
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list \
53+
&& curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - \
54+
&& apt-get update -y \
55+
&& apt-get install -y -qq \
56+
google-cloud-cli \
57+
google-cloud-sdk-gke-gcloud-auth-plugin
3758

3859
# Install Golang
39-
# https://github.com/docker-library/golang/blob/master/1.14/stretch/Dockerfile
4060
RUN mkdir -p /toolchain/golang
4161
WORKDIR /toolchain/golang
42-
RUN sudo rm -rf /usr/local/go/
62+
RUN rm -rf /usr/local/go/
4363

4464
# When updating Go version, update Dockerfile.ci, Dockerfile.base-build, and go.mod
45-
RUN curl -L https://golang.org/dl/go1.19.5.linux-amd64.tar.gz | sudo tar -C /usr/local -xz
46-
47-
ENV GOPATH /go
48-
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
49-
50-
RUN sudo mkdir -p "$GOPATH/src" "$GOPATH/bin" \
51-
&& sudo chmod -R 777 "$GOPATH"
52-
53-
# Prepare toolchain and workspace
54-
RUN mkdir -p /toolchain
65+
# reference: https://github.com/docker-library/golang/blob/master/1.20/bookworm/Dockerfile
66+
RUN curl -L https://golang.org/dl/go1.21.0.linux-amd64.tar.gz | tar -C /usr/local -xz
67+
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" \
68+
&& chmod -R 777 "$GOPATH"
5569

70+
# Prepare toolchain, workspace, homedir
71+
RUN mkdir -p \
72+
/toolchain \
73+
/workspace \
74+
$HOME/.kube/
5675
WORKDIR /workspace
57-
ENV OPEN_MATCH_CI_MODE=1
58-
ENV KUBECONFIG=$HOME/.kube/config
59-
RUN mkdir -p $HOME/.kube/

0 commit comments

Comments
 (0)