-
Notifications
You must be signed in to change notification settings - Fork 816
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/gen-changelog
- Loading branch information
Showing
23 changed files
with
810 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Agones Release Management | ||
|
||
# Release Cadence | ||
|
||
- Versioned releases will occur every 6 weeks | ||
- Releases occur on a Tuesday. | ||
- 5 week development cycle, at the end of a which a Release Candidate (RC) will be released with the contents of master. | ||
- For the next week, the project is in "feature freeze" - i.e. only bug and documentation (.md and examples) fixes during this time. | ||
- Any new PRs that are submitted during feature freeze, will be tagged with the label `merge-after-release` | ||
to delineate that they should only be merged after the full release is complete. | ||
- At the end of the RC week, the complete version release will occur. | ||
|
||
## Release Calendar | ||
|
||
> Release Calendar forthcoming once the 0.2 release is complete, when the scheduled release cadence will start. | ||
# Release Process | ||
|
||
1. Create a Release Issue from the [release issue template](./templates/release_issue.md). | ||
1. Label the issue `release`, and attach it to the milestone that it matches. | ||
1. Complete all items in the release issue checklist. | ||
1. Close the release issue. | ||
|
||
# Hot fix Process | ||
|
||
1. Hotfixes will occur as needed, to be determined by those will commit access on the repository. | ||
1. Create a Release Issue from the [release issue template](./templates/release_issue.md). | ||
1. Label the issue `release`, and attach it to the next upcoming milestone. | ||
1. Complete all items in the release issue checklist. | ||
1. Close the release issue. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# v{version} | ||
|
||
This is the {version} release of Agones. | ||
|
||
Check the [README](https://github.com/GoogleCloudPlatform/agones/tree/{release-branch}) for details on features, installation and usage. | ||
|
||
Features in this release: | ||
|
||
{ insert enhancements from the changelog } | ||
|
||
See [CHANGELOG.md](https://github.com/GoogleCloudPlatform/agones/blob/{release-branch}/CHANGELOG.md) for more details on changes. | ||
|
||
This software is currently alpha, and subject to change. Not to be used in production systems. | ||
|
||
Images available with this release: | ||
- [gcr.io/agones-images/agones-controller:{version}](https://gcr.io/agones-images/agones-controller:{version}) | ||
- [gcr.io/agones-images/agones-sdk:{version}](https://gcr.io/agones-images/agones-sdk:{version}) | ||
- [gcr.io/agones-images/cpp-simple-server:{example-version}](https://gcr.io/agones-images/cpp-simple-server:{example-version}) | ||
- [gcr.io/agones-images/udp-server:{example-version}](https://gcr.io/agones-images/udp-server:{example-version}) | ||
- [gcr.io/agones-images/xonotic-example:{example-version}](https://gcr.io/agones-images/xonotic-example:{example-version}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Release {version} | ||
|
||
<!-- | ||
This is the release issue template. Make a copy of the markdown in this page | ||
and copy it into a release issue. Fill in relevent values, found inside {} | ||
!--> | ||
|
||
- [ ] Review closed issues have appropriate tags. | ||
- [ ] Review closed issues have been applied to the current milestone. | ||
- [ ] Ensure the next version milestone is created. | ||
- [ ] Any issues in the current milestone that are not closed, move to next milestone. | ||
- [ ] Run `make gen-changelog` to generate the CHANGELOG.md | ||
- [ ] Ensure the [helm `tag` value][values] is correct (should be the {version} if a full release, {version}.rc if release candidate) | ||
- [ ] Create PR with these changes, and merge them with approval | ||
- [ ] If full release, close the current milestone. | ||
- [ ] Confirm local git remote `upstream` points at `[email protected]:GoogleCloudPlatform/agones.git` | ||
- [ ] Run `git checkout master && git reset --hard upstream/master` to ensure your code is in line with upstream (unless this is a hotfix, then do the same, but for the the release branch) | ||
- [ ] Run `make do-release`. (if release candidate `make do-release RELEASE_VERSION={version}.rc`) to create and push the docker images. | ||
- [ ] Create a release with the [release template][release-template] | ||
- [ ] Make a `tag` with the release version. | ||
- [ ] Attach all assets found in the `release` folder to the release. | ||
- [ ] If full release, then increment the `base_version` in [`build/Makefile`][build-makefile] | ||
- [ ] Ensure the [the helm `tag` value][values] is the same at the above `base_version` | ||
- [ ] Create PR with these changes, and merge them with approval | ||
- [ ] Close this issue. *Congratulations!* - the release is now complete! :tada: :clap: :smile: :+1: | ||
|
||
[values]: https://github.com/GoogleCloudPlatform/agones/blob/master/install/helm/agones/values.yaml#L33 | ||
[release-template]: https://github.com/GoogleCloudPlatform/agones/blob/master/docs/governance/templates/release.md | ||
[build-makefile]: https://github.com/GoogleCloudPlatform/agones/blob/master/build/Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
cmd/controller/certs/cert.sh → install/helm/agones/certs/cert.sh
100755 → 100644
File renamed without changes.
File renamed without changes.
File renamed without changes.
112 changes: 112 additions & 0 deletions
112
install/helm/agones/templates/admissionregistration.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
# Copyright 2018 Google Inc. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# 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. | ||
{{- $ca := genCA "admission-controller-ca" 3650 }} | ||
{{- $cn := printf "agones-controller-service" }} | ||
{{- $altName1 := printf "agones-controller-service.%s" .Values.agones.namespace }} | ||
{{- $altName2 := printf "agones-controller-service.%s.svc" .Values.agones.namespace }} | ||
{{- $cert := genSignedCert $cn nil (list $altName1 $altName2) 3650 $ca }} | ||
--- | ||
apiVersion: admissionregistration.k8s.io/v1beta1 | ||
kind: ValidatingWebhookConfiguration | ||
metadata: | ||
name: agones-validation-webhook | ||
namespace: {{ .Values.agones.namespace }} | ||
webhooks: | ||
- name: validations.stable.agones.dev | ||
failurePolicy: Fail | ||
clientConfig: | ||
service: | ||
name: agones-controller-service | ||
namespace: {{ .Values.agones.namespace }} | ||
path: /validate | ||
{{- if .Values.agones.controller.generateTLS }} | ||
caBundle: {{ b64enc $ca.Cert }} | ||
{{- else }} | ||
caBundle: {{ .Files.Get "certs/server.crt" | b64enc }} | ||
{{- end }} | ||
rules: | ||
- apiGroups: | ||
- stable.agones.dev | ||
resources: | ||
- "gameservers" | ||
- "fleetallocations" | ||
apiVersions: | ||
- "v1alpha1" | ||
operations: | ||
- CREATE | ||
- apiGroups: | ||
- stable.agones.dev | ||
resources: | ||
- "gameserversets" | ||
- "fleetallocations" | ||
apiVersions: | ||
- "v1alpha1" | ||
operations: | ||
- UPDATE | ||
--- | ||
apiVersion: admissionregistration.k8s.io/v1beta1 | ||
kind: MutatingWebhookConfiguration | ||
metadata: | ||
name: agones-mutation-webhook | ||
namespace: {{ .Values.agones.namespace }} | ||
labels: | ||
component: controller | ||
app: {{ template "agones.name" . }} | ||
chart: {{ template "agones.chart" . }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
webhooks: | ||
- name: mutations.stable.agones.dev | ||
failurePolicy: Fail | ||
clientConfig: | ||
service: | ||
name: agones-controller-service | ||
namespace: {{ .Values.agones.namespace }} | ||
path: /mutate | ||
{{- if .Values.agones.controller.generateTLS }} | ||
caBundle: {{ b64enc $ca.Cert }} | ||
{{- else }} | ||
caBundle: {{ .Files.Get "certs/server.crt" | b64enc }} | ||
{{- end }} | ||
rules: | ||
- apiGroups: | ||
- stable.agones.dev | ||
resources: | ||
- "gameservers" | ||
- "fleets" | ||
- "fleetallocations" | ||
apiVersions: | ||
- "v1alpha1" | ||
operations: | ||
- CREATE | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ template "agones.fullname" . }}-cert | ||
namespace: {{ .Values.agones.namespace }} | ||
labels: | ||
app: {{ template "agones.fullname" . }} | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
release: "{{ .Release.Name }}" | ||
heritage: "{{ .Release.Service }}" | ||
type: Opaque | ||
data: | ||
{{- if .Values.agones.controller.generateTLS }} | ||
server.crt: {{ b64enc $cert.Cert }} | ||
server.key: {{ b64enc $cert.Key }} | ||
{{- else }} | ||
server.crt: {{ .Files.Get "certs/server.crt" | b64enc }} | ||
server.key: {{ .Files.Get "certs/server.key" | b64enc }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.