Skip to content

Commit 8f11f9c

Browse files
committed
update Go Packages and dependencies
1 parent 154e81b commit 8f11f9c

File tree

13 files changed

+227
-113
lines changed

13 files changed

+227
-113
lines changed

.github/workflows/publish_ghcr_image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: actions/setup-go@v2
2323
with:
24-
go-version: "^1.19.8"
24+
go-version: "^1.23.4"
2525

2626
- name: Run unit tests
2727
run: make deps mocks test

.github/workflows/run_e2e.yaml

Lines changed: 1 addition & 1 deletion
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.21.7"
17+
go-version: "^1.23.4"
1818
- name: Make dependencies
1919
run: make deps mocks
2020
- name: Code generation

.github/workflows/run_tests.yaml

Lines changed: 1 addition & 1 deletion
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.21.7"
17+
go-version: "^1.23.4"
1818
- name: Make dependencies
1919
run: make deps mocks
2020
- name: Compile

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ DIRS := cmd pkg
2323
PKG := `go list ./... | grep -v /vendor/`
2424

2525
BASE_IMAGE ?= rockylinux:9
26+
# BASE_IMAGE ?= rockylinux/rockylinux:10
2627
PACKAGER ?= dnf
2728
BUILD ?= 1
2829
ROOTPATH = $(GOPATH)/src/github.com/cybertec/cybertec-pg-operator
@@ -88,7 +89,7 @@ docker-local: build/cybertec-pg-operator
8889

8990

9091
indocker-race:
91-
docker run --rm -v "${GOPATH}":"${GOPATH}" -e GOPATH="${GOPATH}" -e RACE=1 -w ${PWD} golang:1.21.7 bash -c "make linux"
92+
docker run --rm -v "${GOPATH}":"${GOPATH}" -e GOPATH="${GOPATH}" -e RACE=1 -w ${PWD} golang:1.23.4 bash -c "make linux"
9293

9394
push:
9495
docker push "$(IMAGE):$(TAG)$(CDP_TAG)"
@@ -97,7 +98,7 @@ mocks:
9798
GO111MODULE=on go generate ./...
9899

99100
tools:
100-
GO111MODULE=on go get -d k8s.io/client-go@kubernetes-1.28.7
101+
GO111MODULE=on go get k8s.io/client-go@kubernetes-1.30.4
101102
GO111MODULE=on go install github.com/golang/mock/[email protected]
102103
GO111MODULE=on go mod tidy
103104

docker/build_operator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set -ex
1313

1414
(
1515
cd /tmp
16-
wget -q "https://storage.googleapis.com/golang/go1.24.2.linux-${arch}.tar.gz" -O go.tar.gz
16+
wget -q "https://storage.googleapis.com/golang/go1.24.6.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

go.mod

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,53 @@
11
module github.com/cybertec-postgresql/cybertec-pg-operator
22

3-
go 1.22.12
3+
go 1.23.4
44

55
require (
6-
github.com/aws/aws-sdk-go v1.54.18
6+
github.com/aws/aws-sdk-go v1.55.8
77
github.com/golang/mock v1.6.0
88
github.com/lib/pq v1.10.4
99
github.com/motomux/pretty v0.0.0-20161209205251-b2aad2c9a95d
1010
github.com/pkg/errors v0.9.1
1111
github.com/r3labs/diff v1.1.0
1212
github.com/sirupsen/logrus v1.9.0
13-
github.com/stretchr/testify v1.8.2
13+
github.com/stretchr/testify v1.8.4
1414
go.etcd.io/etcd/client/v3 v3.5.4
15-
golang.org/x/crypto v0.31.0
15+
golang.org/x/crypto v0.41.0
1616
golang.org/x/exp v0.0.0-20230108222341-4b8118a2686a
1717
gopkg.in/yaml.v2 v2.4.0
18-
k8s.io/api v0.28.7
18+
k8s.io/api v0.30.4
1919
k8s.io/apiextensions-apiserver v0.25.9
20-
k8s.io/apimachinery v0.28.7
21-
k8s.io/client-go v0.28.7
22-
k8s.io/code-generator v0.25.9
20+
k8s.io/apimachinery v0.30.4
21+
k8s.io/client-go v0.30.4
22+
k8s.io/code-generator v0.26.15
2323
)
2424

2525
require (
2626
github.com/coreos/go-semver v0.3.0 // indirect
2727
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
28+
go.etcd.io/etcd/api/v3 v3.5.4 // indirect
29+
go.etcd.io/etcd/client/pkg/v3 v3.5.4 // indirect
30+
golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated // indirect
31+
google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 // indirect
32+
google.golang.org/grpc v1.75.0 // indirect
33+
)
34+
35+
require (
2836
github.com/davecgh/go-spew v1.1.1 // indirect
29-
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
37+
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
3038
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
31-
github.com/go-logr/logr v1.2.4 // indirect
39+
github.com/go-logr/logr v1.4.3 // indirect
3240
github.com/go-openapi/jsonpointer v0.19.6 // indirect
3341
github.com/go-openapi/jsonreference v0.20.2 // indirect
3442
github.com/go-openapi/swag v0.22.3 // indirect
3543
github.com/gogo/protobuf v1.3.2 // indirect
3644
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
37-
github.com/golang/protobuf v1.5.3 // indirect
45+
github.com/golang/protobuf v1.5.4 // indirect
3846
github.com/google/gnostic-models v0.6.8 // indirect
39-
github.com/google/go-cmp v0.6.0 // indirect
47+
github.com/google/go-cmp v0.7.0 // indirect
4048
github.com/google/gofuzz v1.2.0 // indirect
41-
github.com/google/uuid v1.3.0 // indirect
49+
github.com/google/uuid v1.6.0 // indirect
50+
github.com/gorilla/websocket v1.5.0 // indirect
4251
github.com/imdario/mergo v0.3.6 // indirect
4352
github.com/jmespath/go-jmespath v0.4.0 // indirect
4453
github.com/josharian/intern v1.0.0 // indirect
@@ -49,33 +58,30 @@ require (
4958
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5059
github.com/modern-go/reflect2 v1.0.2 // indirect
5160
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
61+
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
5262
github.com/pmezard/go-difflib v1.0.0 // indirect
5363
github.com/spf13/pflag v1.0.5 // indirect
54-
go.etcd.io/etcd/api/v3 v3.5.4 // indirect
55-
go.etcd.io/etcd/client/pkg/v3 v3.5.4 // indirect
5664
go.uber.org/atomic v1.7.0 // indirect
5765
go.uber.org/multierr v1.6.0 // indirect
5866
go.uber.org/zap v1.19.0 // indirect
59-
golang.org/x/mod v0.17.0 // indirect
60-
golang.org/x/net v0.25.0 // indirect
61-
golang.org/x/oauth2 v0.8.0 // indirect
62-
golang.org/x/sync v0.10.0 // indirect
63-
golang.org/x/sys v0.28.0 // indirect
64-
golang.org/x/term v0.27.0 // indirect
65-
golang.org/x/text v0.21.0 // indirect
67+
golang.org/x/mod v0.26.0 // indirect
68+
golang.org/x/net v0.43.0 // indirect
69+
golang.org/x/oauth2 v0.30.0 // indirect
70+
golang.org/x/sync v0.16.0 // indirect
71+
golang.org/x/sys v0.35.0 // indirect
72+
golang.org/x/term v0.34.0 // indirect
73+
golang.org/x/text v0.28.0 // indirect
6674
golang.org/x/time v0.3.0 // indirect
67-
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
68-
google.golang.org/appengine v1.6.7 // indirect
69-
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
70-
google.golang.org/grpc v1.56.3 // indirect
71-
google.golang.org/protobuf v1.33.0 // indirect
75+
golang.org/x/tools v0.35.0 // indirect
76+
google.golang.org/protobuf v1.36.6 // indirect
7277
gopkg.in/inf.v0 v0.9.1 // indirect
7378
gopkg.in/yaml.v3 v3.0.1 // indirect
74-
k8s.io/gengo v0.0.0-20211129171323-c02415ce4185 // indirect
75-
k8s.io/klog/v2 v2.100.1 // indirect
76-
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
77-
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
79+
k8s.io/gengo v0.0.0-20220902162205-c0856e24416d // indirect
80+
k8s.io/gengo/v2 v2.0.0-20240228010128-51d4e06bde70 // indirect
81+
k8s.io/klog/v2 v2.120.1 // indirect
82+
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
83+
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
7884
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
79-
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
85+
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
8086
sigs.k8s.io/yaml v1.3.0 // indirect
8187
)

0 commit comments

Comments
 (0)