Skip to content

Commit 9b103e7

Browse files
authored
bump to go 1.23.4 (zalando#2824)
1 parent b276cd2 commit 9b103e7

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

.github/workflows/publish_ghcr_image.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- uses: actions/setup-go@v2
2525
with:
26-
go-version: "^1.22.5"
26+
go-version: "^1.23.4"
2727

2828
- name: Run unit tests
2929
run: make deps mocks test

.github/workflows/run_e2e.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v1
1515
- uses: actions/setup-go@v2
1616
with:
17-
go-version: "^1.22.5"
17+
go-version: "^1.23.4"
1818
- name: Make dependencies
1919
run: make deps mocks
2020
- name: Code generation

.github/workflows/run_tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-go@v2
1616
with:
17-
go-version: "^1.22.5"
17+
go-version: "^1.23.4"
1818
- name: Make dependencies
1919
run: make deps mocks
2020
- name: Compile

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ docker: ${DOCKERDIR}/${DOCKERFILE}
6969
docker build --rm -t "$(IMAGE):$(TAG)$(CDP_TAG)$(DEBUG_FRESH)$(DEBUG_POSTFIX)" -f "${DOCKERDIR}/${DOCKERFILE}" --build-arg VERSION="${VERSION}" .
7070

7171
indocker-race:
72-
docker run --rm -v "${GOPATH}":"${GOPATH}" -e GOPATH="${GOPATH}" -e RACE=1 -w ${PWD} golang:1.22.5 bash -c "make linux"
72+
docker run --rm -v "${GOPATH}":"${GOPATH}" -e GOPATH="${GOPATH}" -e RACE=1 -w ${PWD} golang:1.23.4 bash -c "make linux"
7373

7474
push:
7575
docker push "$(IMAGE):$(TAG)$(CDP_TAG)"
@@ -78,7 +78,7 @@ mocks:
7878
GO111MODULE=on go generate ./...
7979

8080
tools:
81-
GO111MODULE=on go get -d k8s.io/[email protected]
81+
GO111MODULE=on go get k8s.io/[email protected]
8282
GO111MODULE=on go install github.com/golang/mock/[email protected]
8383
GO111MODULE=on go mod tidy
8484

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ production for over five years.
5757

5858
| Release | Postgres versions | K8s versions | Golang |
5959
| :-------- | :---------------: | :---------------: | :-----: |
60+
| v1.14.0 | 13 → 17 | 1.27+ | 1.23.4 |
6061
| v1.13.0 | 12 → 16 | 1.27+ | 1.22.5 |
6162
| v1.12.0 | 11 → 16 | 1.27+ | 1.22.3 |
6263
| v1.11.0 | 11 → 16 | 1.27+ | 1.21.7 |
6364
| v1.10.1 | 10 → 15 | 1.21+ | 1.19.8 |
6465
| v1.9.0 | 10 → 15 | 1.21+ | 1.18.9 |
65-
| v1.8.2 | 9.5 → 14 | 1.20 → 1.24 | 1.17.4 |
6666

6767
## Getting started
6868

docker/DebugDockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22-alpine
1+
FROM golang:1.23-alpine
22
LABEL maintainer="Team ACID @ Zalando <[email protected]>"
33

44
# We need root certificates to deal with teams api over https

docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG BASE_IMAGE=registry.opensource.zalan.do/library/alpine-3:latest
2-
FROM golang:1.22-alpine AS builder
2+
FROM golang:1.23-alpine AS builder
33
ARG VERSION=latest
44

55
COPY . /go/src/github.com/zalando/postgres-operator

docker/build_operator.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ apt-get install -y wget
1313

1414
(
1515
cd /tmp
16-
wget -q "https://storage.googleapis.com/golang/go1.22.5.linux-${arch}.tar.gz" -O go.tar.gz
16+
wget -q "https://storage.googleapis.com/golang/go1.23.4.linux-${arch}.tar.gz" -O go.tar.gz
1717
tar -xf go.tar.gz
1818
mv go /usr/local
1919
ln -s /usr/local/go/bin/go /usr/bin/go

docs/developer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ go get -u github.com/derekparker/delve/cmd/dlv
186186

187187
```
188188
RUN apk --no-cache add go git musl-dev
189-
RUN go get -d github.com/derekparker/delve/cmd/dlv
189+
RUN go get github.com/derekparker/delve/cmd/dlv
190190
```
191191

192192
* Update the `Makefile` to build the project with debugging symbols. For that

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/zalando/postgres-operator
22

3-
go 1.22.0
3+
go 1.23.4
44

55
require (
66
github.com/aws/aws-sdk-go v1.53.8

kubectl-pg/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/zalando/postgres-operator/kubectl-pg
22

3-
go 1.22.0
3+
go 1.23.4
44

55
require (
66
github.com/spf13/cobra v1.8.1

0 commit comments

Comments
 (0)