Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/build/agones-bot/golan…
Browse files Browse the repository at this point in the history
…g.org/x/crypto-0.31.0
  • Loading branch information
igooch authored Jan 13, 2025
2 parents e8832fe + aa4032d commit d17c14a
Show file tree
Hide file tree
Showing 126 changed files with 801 additions and 1,078 deletions.
31 changes: 19 additions & 12 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ run:
# list of build tags, all linters use it. Default is empty list.
build-tags:

# which dirs to skip: they won't be analyzed;
# can use regexp here: generated.*, regexp is applied on full path;
# default value is empty list, but next dirs are always skipped independently
# from this option's value:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
skip-dirs:
- test/sdk/restapi

# which files to skip: they will be analyzed, but issues from them
# won't be reported. Default value is empty list, but there is
# no need to include all autogenerated files, we confidently recognize
Expand All @@ -34,8 +26,15 @@ run:
modules-download-mode: vendor
# output configuration options
output:
# colored-line-number|line-number|json|tab|checkstyle, default is "colored-line-number"
format: colored-line-number
# the formats used to render issues
# formats: colored-line-number, line-number, json, colored-tab,
# tab, html, checkstyle, code-climate, junit-xml,
# junit-xml-extended, github-actions, teamcity, sarif
# output path can be either `stdout`, `stderr`
# or path to the file to write to
formats:
- format: colored-line-number
path: stdout

# print lines of code with issue, default is true
print-issued-lines: true
Expand All @@ -45,20 +44,21 @@ output:
linters:
enable:
- bodyclose
- copyloopvar
- dupl
- exportloopref
- goconst
- gocritic
- gocyclo
- goimports
- gosimple
- govet
- megacheck
- misspell
- nakedret
- revive
- staticcheck
- unconvert
- unparam
- unused
linters-settings:
govet:
disable-all: false
Expand Down Expand Up @@ -88,3 +88,10 @@ issues:
- path: (.+)_test\.go|^test/|^cmd/.*|^pkg/apis/.*
# fieldalignment is in the `govet` linter, so exclude based on text instead of all of govet
text: '^fieldalignment: .*'

# which dirs to exclude: issues from them won't be reported
# default dirs are skipped independently of this option's value
# (see exclude-dirs-use-default)
# default: []
exclude-dirs:
- test/sdk/restapi
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# Changelog

## [v1.46.0](https://github.com/googleforgames/agones/tree/v1.46.0) (2025-01-02)

[Full Changelog](https://github.com/googleforgames/agones/compare/v1.45.0...v1.46.0)

**Breaking changes:**
- Removed reflector metric usage by @vicentefb in https://github.com/googleforgames/agones/pull/4056

**Implemented enhancements:**
- Set externalTrafficPolicy as Local for agones-allocator by @osterante in https://github.com/googleforgames/agones/pull/4022
- Integrates upgrades tests into Cloud Build by @igooch in https://github.com/googleforgames/agones/pull/4037
- Delete List Value(s) on Game Server Allocation by @igooch in https://github.com/googleforgames/agones/pull/4054
- In place upgrades version update instructions by @igooch in https://github.com/googleforgames/agones/pull/4064

**Fixed bugs:**
- Correct CI check for examples and add a unit test by @wheatear-dev in https://github.com/googleforgames/agones/pull/4045
- Enable counter based autoscaler to scale from 0 replicas by @geopaulm in https://github.com/googleforgames/agones/pull/4049

**Other:**
- Preparation for Release v1.46.0 by @0xaravindh in https://github.com/googleforgames/agones/pull/4043
- Updates Kubernetes templates for cpp-simple image by @0xaravindh in https://github.com/googleforgames/agones/pull/4044
- Changes upgrades clusters to use only us based regions by @igooch in https://github.com/googleforgames/agones/pull/4046
- Clarify docs on GKE Autopilot and node pools by @danfairs in https://github.com/googleforgames/agones/pull/4048
- Updated typo's in multiple files by @nallave in https://github.com/googleforgames/agones/pull/4055
- Flake: e2e/TestScheduleAutoscaler by @markmandel in https://github.com/googleforgames/agones/pull/4058
- Add ability to specify additional labels for controller and extension pods by @R4oulDuk3 in https://github.com/googleforgames/agones/pull/4057
- Adds Documention for how to run an in-place Agones upgrade by @igooch in https://github.com/googleforgames/agones/pull/3904
- Fixes build error in push-upgrade-test by @igooch in https://github.com/googleforgames/agones/pull/4065
- Fix broken link by @0xaravindh in https://github.com/googleforgames/agones/pull/4070
- Link to Google Cloud Agones Support. by @markmandel in https://github.com/googleforgames/agones/pull/4071
- Upgrade Go to 1.23.4 and update example image tags by @0xaravindh in https://github.com/googleforgames/agones/pull/4072
- Unblocks Agones release PR by waiting for either the Agones dev version or release version by @igooch in https://github.com/googleforgames/agones/pull/4078

**New Contributors:**
- @danfairs made their first contribution in https://github.com/googleforgames/agones/pull/4048
- @osterante made their first contribution in https://github.com/googleforgames/agones/pull/4022
- @nallave made their first contribution in https://github.com/googleforgames/agones/pull/4055
- @R4oulDuk3 made their first contribution in https://github.com/googleforgames/agones/pull/4057

## [v1.45.0](https://github.com/googleforgames/agones/tree/v1.45.0) (2024-11-19)

[Full Changelog](https://github.com/googleforgames/agones/compare/v1.44.0...v1.45.0)
Expand Down
4 changes: 2 additions & 2 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#

# base version target. This is usually the next release.
base_version = 1.46.0
base_version = 1.47.0

#
# All of the following can be overwritten with environment variables
Expand Down Expand Up @@ -64,7 +64,7 @@ KIND_PROFILE ?= agones
KIND_CONTAINER_NAME=$(KIND_PROFILE)-control-plane

# Game Server image to use while doing end-to-end tests
GS_TEST_IMAGE ?= us-docker.pkg.dev/agones-images/examples/simple-game-server:0.35
GS_TEST_IMAGE ?= us-docker.pkg.dev/agones-images/examples/simple-game-server:0.36

# Enable all beta feature gates. Keep in sync with `true` (beta) entries in pkg/util/runtime/features.go:featureDefaults
BETA_FEATURE_GATES ?= "AutopilotPassthroughPort=true&CountsAndLists=true&DisableResyncOnSDKServer=true&GKEAutopilotExtendedDurationPods=true"
Expand Down
2 changes: 1 addition & 1 deletion build/agones-bot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.22 AS build-env
FROM golang:1.23 AS build-env
COPY . /go-src
WORKDIR /go-src
RUN CGO_ENABLED=0 go build -o /go-app .
Expand Down
2 changes: 1 addition & 1 deletion build/agones-bot/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module github-bot

go 1.22
go 1.23

require (
github.com/GoogleCloudPlatform/cloud-build-notifiers/lib/notifiers v0.0.0-20210219212036-163c92a64b27
Expand Down
2 changes: 1 addition & 1 deletion build/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN gem install fpm && \

# install go
WORKDIR /usr/local
ENV GO_VERSION=1.22.6
ENV GO_VERSION=1.23.4
ENV GOPATH /go
ENV GO111MODULE=on
RUN wget -q https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz && \
Expand Down
2 changes: 1 addition & 1 deletion build/build-sdk-images/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN apt-get --allow-releaseinfo-change update && \

# install go
WORKDIR /usr/local
ENV GO_VERSION=1.22.6
ENV GO_VERSION=1.23.4
ENV GO111MODULE=on
ENV GOPATH /go
RUN wget -q https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz && \
Expand Down
2 changes: 1 addition & 1 deletion build/build-sdk-images/restapi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN apt-get --allow-releaseinfo-change update && \

# install go
WORKDIR /usr/local
ENV GO_VERSION=1.22.6
ENV GO_VERSION=1.23.4
ENV GO111MODULE=on
ENV GOPATH /go
RUN wget -q https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz && \
Expand Down
2 changes: 1 addition & 1 deletion build/e2e-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update && \

# install go
WORKDIR /usr/local
ENV GO_VERSION=1.22.6
ENV GO_VERSION=1.23.4
ENV GOPATH /go
ENV GO111MODULE=on
RUN wget -q https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz && \
Expand Down
Loading

0 comments on commit d17c14a

Please sign in to comment.