Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.8-rc1 #1587

Merged
merged 83 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
a818dc6
Release changes for v1.7.0-rc.1 (#1534)
mridulji Feb 11, 2023
212751d
tutorial target version to v1.7.0-rc.1 (#1535)
mridulji Feb 16, 2023
86d4f4e
Release changes for v1.7.0 (#1538)
mridulji Feb 18, 2023
772f72c
debug
joeholley Aug 1, 2023
0090471
Debian Bookworm
joeholley Aug 1, 2023
a6d9f6d
Split sync-deps target into sync & clean targets; remove GO111MODULE …
joeholley Aug 1, 2023
64ef936
splitting sync-deps step into clean & sync steps
joeholley Aug 1, 2023
5f5fdf0
splitting sync-deps step into clean & sync steps pt 2
joeholley Aug 1, 2023
cfdff6f
splitting sync-deps step into clean & sync steps pt 2
joeholley Aug 1, 2023
8a3c474
Re-enable sync deps
joeholley Aug 1, 2023
0a73b37
Re-enable sync deps take 2
joeholley Aug 1, 2023
0ef8e28
protobuf only target
joeholley Aug 1, 2023
41dda74
Add golang-protos make target step
joeholley Aug 1, 2023
3401e89
Add golang-protos make target step
joeholley Aug 1, 2023
56f43cf
re-add
joeholley Aug 1, 2023
351b456
typo
joeholley Aug 1, 2023
f2da171
re-enable terraform validate step
joeholley Aug 3, 2023
e525739
re-enable terraform validate step take 2
joeholley Aug 3, 2023
6b9805b
re-enable build asset step
joeholley Aug 3, 2023
1f00381
re-enable build binaries step
joeholley Aug 3, 2023
60f87de
re-enable golang tests step
joeholley Aug 3, 2023
b246621
temp cgo testing
joeholley Aug 3, 2023
e696197
re-adding cgo to racew testing
joeholley Aug 3, 2023
7803b81
Add gcc for CGO compliation
joeholley Aug 3, 2023
461d7df
Add gcc for CGO compliation
joeholley Aug 7, 2023
4436e7c
Revert "Add gcc for CGO compliation"
joeholley Aug 7, 2023
f097d71
Add gcc for CGO compliation
joeholley Aug 7, 2023
112175f
turn goproxy back on to see if it gets past the module download
joeholley Aug 7, 2023
2d6f1de
Remove references to old testing module location
joeholley Aug 8, 2023
bd6254c
allow parallel testing
joeholley Aug 8, 2023
b77d07d
turn off vet during test; it's run as part of the linting step
joeholley Aug 8, 2023
2031e97
mod downloading for tests
joeholley Aug 8, 2023
9af228a
re-enable building container and linting
joeholley Aug 8, 2023
3b2fc72
Protoc reqs update
joeholley Aug 8, 2023
5434b4f
disable flakey test
joeholley Aug 8, 2023
abefecf
reenabling deployment test
joeholley Aug 8, 2023
7231217
merge in some changes from the redis-helm-chart branch
joeholley Aug 8, 2023
dad86db
Add gke auth plugin install, standardize indent
joeholley Aug 10, 2023
cad60f4
reenable deployment config generation
joeholley Aug 10, 2023
33ae442
reenable e2e cluster test
joeholley Aug 10, 2023
48024c2
Add ability to enable verbose output to test step for debugging purpo…
joeholley Aug 10, 2023
0798fc1
Fix to pass MD lint
joeholley Aug 10, 2023
122a4e1
Speed up golang test step
joeholley Aug 10, 2023
08f3dd8
Re-enable final step to delete the e2e cluster
joeholley Aug 10, 2023
42712ac
latest version of protobuf
joeholley Aug 15, 2023
ea27c3d
whitespace fix
joeholley Aug 15, 2023
ecfdc95
gRPC gateway update
joeholley Aug 15, 2023
43b2c87
bump to newest stable version of golang (1.21)
joeholley Aug 16, 2023
0f20975
update to latest redis helm chart from bitnami
joeholley Aug 16, 2023
65a2d2d
changes to the configmap for standalone redis
joeholley Aug 16, 2023
af4d6ce
standalone redis using bitnami chart populates hostname based on gene…
joeholley Aug 16, 2023
3c7c0a7
remove unused imports
joeholley Aug 16, 2023
a5e789c
manual merge of pr/1585
joeholley Aug 16, 2023
0d90197
output per release
joeholley Aug 16, 2023
1073324
bucket path fix; protoc output to buckets
joeholley Aug 16, 2023
0965585
add swagger json output to artifacts
joeholley Aug 16, 2023
71338a3
New Helm patch version
joeholley Aug 16, 2023
1fe959d
remove PodSecurityPolicy and related k8s resources pr/1540 pr/1572
joeholley Aug 16, 2023
00d7f1b
Generate new swagger with updated protoc and latest swagger gen plugin
joeholley Aug 16, 2023
e540357
Latest versions of compiled protobufs using current version of protoc
joeholley Aug 16, 2023
3aac63d
add internal protobuf protoc output to cloud build artifacts that go …
joeholley Aug 16, 2023
808772e
testing different dirs in output bucket
joeholley Aug 16, 2023
6d55796
Revert "testing different dirs in output bucket"
joeholley Aug 16, 2023
60b51e8
wildcards for artifacts to put in output bucket
joeholley Aug 16, 2023
3716471
Latest golang module dependancies
joeholley Aug 16, 2023
3f726bd
commit internal protos compiled with latest version of protoc
joeholley Aug 16, 2023
be29c48
remove support for jaeger, as the golang module is deprecated
joeholley Aug 17, 2023
b823b74
tidy up modules
joeholley Aug 17, 2023
7f8cc74
more jaeger removal
joeholley Aug 17, 2023
9ac3f27
more jaeger removal
joeholley Aug 17, 2023
3806bd5
move out of /output folder in artifacts bucket
joeholley Aug 17, 2023
db6c979
fix leftovers from removing jaeger
joeholley Aug 17, 2023
74d84a2
manaual merge of 'Unlock redsync locks using context.Background()' pr…
joeholley Aug 17, 2023
78da2a6
Merge remote-tracking branch 'live/main' into release-1.8
joeholley Aug 21, 2023
00d7239
1.8 rc1
joeholley Aug 22, 2023
0569696
resolving reviewer comments from pr/1587
joeholley Aug 22, 2023
d8dc86c
Remove deprecated flag to protoc-gen-doc
joeholley Aug 22, 2023
2746786
Merge branch 'release-1.8' of https://github.com/joeholley/open-match…
joeholley Aug 22, 2023
255ea67
bump versions since build at beginning of branch creation
joeholley Aug 22, 2023
e92cf40
Verbose testing with longer timeout
joeholley Aug 22, 2023
b5a971e
resolve merge conflict from d8dc86cb0da70b674677e3006dec2aba0dd89f18
joeholley Aug 22, 2023
c36d500
master branch renamed to main
joeholley Aug 25, 2023
1e170bd
Update to the version of K8s used in final RC testing
joeholley Aug 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ then you'll need to create the release branch.

```shell
# Create a local release branch.
git checkout -b release-0.5 upstream/master
git checkout -b release-0.5 upstream/main
# Push the branch upstream.
git push upstream release-0.5
```
Expand Down Expand Up @@ -76,7 +76,7 @@ Hot Fixes:

Preview:

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

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

Expand Down Expand Up @@ -131,12 +131,12 @@ git push origin release-0.5
only required once.**
- [ ] 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).
- [ ] 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".
- [ ] Use the [release template](https://github.com/googleforgames/open-match/blob/master/docs/governance/templates/release.md)
- [ ] Use the [release template](https://github.com/googleforgames/open-match/blob/main/docs/governance/templates/release.md)
- [ ] `Tag` = v{version}. Example: v0.5.0. Append -rc.# for release candidates. Example: v0.5.0-rc.1.
- [ ] `Target` = release-X.Y. Example: release-0.5.
- [ ] `Release Title` = `Tag`
- [ ] `Write` section will contain the contents from the [release template](https://github.com/googleforgames/open-match/blob/master/docs/governance/templates/release.md).
- [ ] 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.
- [ ] `Write` section will contain the contents from the [release template](https://github.com/googleforgames/open-match/blob/main/docs/governance/templates/release.md).
- [ ] 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.
- [ ] 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.
- [ ] 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).
- [ ] 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.
Expand Down Expand Up @@ -175,9 +175,9 @@ only required once.**

[om-slack]: https://open-match.slack.com/
[mailing-list-post]: https://groups.google.com/forum/#!newtopic/open-match-discuss
[release-template]: https://github.com/googleforgames/open-match/blob/master/docs/governance/templates/release.md
[makefile-version]: https://github.com/googleforgames/open-match/blob/master/Makefile#L53
[om-chart-yaml-version]: https://github.com/googleforgames/open-match/blob/master/install/helm/open-match/Chart.yaml#L16
[om-values-yaml-version]: https://github.com/googleforgames/open-match/blob/master/install/helm/open-match/values.yaml#L16
[release-template]: https://github.com/googleforgames/open-match/blob/main/docs/governance/templates/release.md
[makefile-version]: https://github.com/googleforgames/open-match/blob/main/Makefile#L53
[om-chart-yaml-version]: https://github.com/googleforgames/open-match/blob/main/install/helm/open-match/Chart.yaml#L16
[om-values-yaml-version]: https://github.com/googleforgames/open-match/blob/main/install/helm/open-match/values.yaml#L16
[om-release]: https://github.com/googleforgames/open-match/releases/new
[readme-deploy]: https://github.com/googleforgames/open-match/blob/master/README.md#deploy-to-kubernetes
[readme-deploy]: https://github.com/googleforgames/open-match/blob/main/README.md#deploy-to-kubernetes
3 changes: 1 addition & 2 deletions Dockerfile.base-build
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
# limitations under the License.

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

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

Expand Down
80 changes: 48 additions & 32 deletions Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -11,49 +11,65 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM debian:bookworm

FROM debian
# set env vars
ARG DEBIAN_FRONTEND=noninteractive
ENV OPEN_MATCH_CI_MODE=1
ENV KUBECONFIG=$HOME/.kube/config
ENV GOPATH=/go
ENV PATH=$GOPATH/bin:/usr/local/go/bin:$PATH

RUN apt-get update
RUN apt-get install -y -qq git make python3 virtualenv curl sudo unzip apt-transport-https ca-certificates curl software-properties-common gnupg2
RUN apt-get update -y \
&& apt-get install -y -qq --no-install-recommends \
apt-utils \
git \
make \
python3 \
virtualenv \
curl \
sudo \
unzip \
apt-transport-https \
ca-certificates \
curl \
software-properties-common \
gnupg2 \
libc6 \
build-essential
RUN mkdir -p /usr/share/keyrings/

# Docker
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
RUN sudo apt-key fingerprint 0EBFCD88
RUN sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
stretch \
stable"
RUN sudo apt-get update
RUN sudo apt-get install -y -qq docker-ce docker-ce-cli containerd.io
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 \
&& curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg \
&& apt-get update -y \
&& apt-get install -y -qq \
docker-ce \
docker-ce-cli \
containerd.io

# Cloud SDK
RUN export CLOUD_SDK_REPO="cloud-sdk-stretch" && \
echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \
apt-get update -y && apt-get install google-cloud-sdk google-cloud-sdk-app-engine-go -y -qq && \
sudo apt-get update -y && \
sudo apt-get install -y google-cloud-sdk-gke-gcloud-auth-plugin
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 \
&& curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - \
&& apt-get update -y \
&& apt-get install -y -qq \
google-cloud-cli \
google-cloud-sdk-gke-gcloud-auth-plugin

# Install Golang
# https://github.com/docker-library/golang/blob/master/1.14/stretch/Dockerfile
RUN mkdir -p /toolchain/golang
WORKDIR /toolchain/golang
RUN sudo rm -rf /usr/local/go/
RUN rm -rf /usr/local/go/

# When updating Go version, update Dockerfile.ci, Dockerfile.base-build, and go.mod
RUN curl -L https://golang.org/dl/go1.19.5.linux-amd64.tar.gz | sudo tar -C /usr/local -xz

ENV GOPATH /go
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH

RUN sudo mkdir -p "$GOPATH/src" "$GOPATH/bin" \
&& sudo chmod -R 777 "$GOPATH"

# Prepare toolchain and workspace
RUN mkdir -p /toolchain
# reference: https://github.com/docker-library/golang/blob/master/1.20/bookworm/Dockerfile
RUN curl -L https://golang.org/dl/go1.21.0.linux-amd64.tar.gz | tar -C /usr/local -xz
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" \
&& chmod -R 777 "$GOPATH"

# Prepare toolchain, workspace, homedir
RUN mkdir -p \
/toolchain \
/workspace \
$HOME/.kube/
WORKDIR /workspace
ENV OPEN_MATCH_CI_MODE=1
ENV KUBECONFIG=$HOME/.kube/config
RUN mkdir -p $HOME/.kube/
Loading