Skip to content

Commit 58eae23

Browse files
committed
chore: bump go-version and deps
Signed-off-by: Bence Csati <[email protected]>
1 parent 0df4b7b commit 58eae23

File tree

8 files changed

+157
-109
lines changed

8 files changed

+157
-109
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.22-alpine3.18@sha256:d1a601b64de09e2fa38c95e55838961811d5ca11062a8f4230a5c434b3ae2a34 AS builder
1+
FROM --platform=$BUILDPLATFORM golang:1.23.6-alpine3.20@sha256:22caeb4deced0138cb4ae154db260b22d1b2ef893dde7f84415b619beae90901 AS builder
22

33
ARG TARGETOS
44
ARG TARGETARCH

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ export PATH := ${BIN}:${PATH}
55
CUSTOM_FORMATS := formats/custom
66

77
LICENSEI := ${BIN}/licensei
8-
LICENSEI_VERSION := v0.8.0
8+
LICENSEI_VERSION := v0.9.0
99

1010
HELM_DOCS := ${BIN}/helm-docs
11-
HELM_DOCS_VERSION = 1.11.0
11+
HELM_DOCS_VERSION = 1.14.2
1212

1313
GOFLAGS =
1414

@@ -59,6 +59,10 @@ helm-docs: ${HELM_DOCS}
5959
check-diff: helm-docs check
6060
git diff --exit-code ':(exclude)./ADOPTERS.md' ':(exclude)./docs/*'
6161

62+
.PHONY: tidy
63+
tidy: ## Tidy Go modules
64+
find . -iname "go.mod" -not -path "./.devcontainer/*" | xargs -L1 sh -c 'cd $$(dirname $$0); go mod tidy'
65+
6266
${LICENSEI}: ${LICENSEI}_${LICENSEI_VERSION} | ${BIN}
6367
ln -sf $(notdir $<) $@
6468

formats/custom/go.mod

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
module github.com/kube-logging/log-generator/formats/custom
22

3-
go 1.21
3+
go 1.23.6
4+
5+
require github.com/kube-logging/log-generator/log v0.0.0-20250206095042-0df4b7b9896b
6+
7+
require (
8+
github.com/beorn7/perks v1.0.1 // indirect
9+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
10+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
11+
github.com/prometheus/client_golang v1.20.5 // indirect
12+
github.com/prometheus/client_model v0.6.1 // indirect
13+
github.com/prometheus/common v0.62.0 // indirect
14+
github.com/prometheus/procfs v0.15.1 // indirect
15+
github.com/sirupsen/logrus v1.9.3 // indirect
16+
golang.org/x/sys v0.30.0 // indirect
17+
google.golang.org/protobuf v1.36.5 // indirect
18+
)

formats/custom/go.sum

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
2+
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
3+
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
4+
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
5+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
6+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
7+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
8+
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
9+
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
10+
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA=
11+
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
12+
github.com/kube-logging/log-generator/log v0.0.0-20250206095042-0df4b7b9896b h1:qeGOor3k0POAnVkTlno/AXf71lefey7CS9SD03QIcfA=
13+
github.com/kube-logging/log-generator/log v0.0.0-20250206095042-0df4b7b9896b/go.mod h1:+ZQ22F6eQ1BAkfzKa85LS2XuKgqBEgVOnJVmlP97yls=
14+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
15+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
16+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
17+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
18+
github.com/prometheus/client_golang v1.20.5 h1:cxppBPuYhUnsO6yo/aoRol4L7q7UFfdm+bR9r+8l63Y=
19+
github.com/prometheus/client_golang v1.20.5/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE=
20+
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
21+
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
22+
github.com/prometheus/common v0.62.0 h1:xasJaQlnWAeyHdUBeGjXmutelfJHWMRr+Fg4QszZ2Io=
23+
github.com/prometheus/common v0.62.0/go.mod h1:vyBcEuLSvWos9B1+CyL7JZ2up+uFzXhkqml0W5zIY1I=
24+
github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc=
25+
github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk=
26+
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
27+
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
28+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
29+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
30+
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
31+
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
32+
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
33+
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
34+
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
35+
google.golang.org/protobuf v1.36.5 h1:tPhr+woSbjfYvY6/GPufUoYizxw1cF/yFoxJ2fmpwlM=
36+
google.golang.org/protobuf v1.36.5/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
37+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
38+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
39+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
40+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

go.mod

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
module github.com/kube-logging/log-generator
22

3-
go 1.22.0
4-
5-
toolchain go1.22.2
3+
go 1.23.6
64

75
require (
86
github.com/Pallinder/go-randomdata v1.2.0
97
github.com/cenkalti/backoff/v4 v4.3.0
108
github.com/dhoomakethu/stress v0.0.0-20230620054616-291ff04e1c89
119
github.com/gin-gonic/gin v1.10.0
12-
github.com/kube-logging/log-generator/formats/custom v0.0.0-20241217223533-d094a2751865
13-
github.com/kube-logging/log-generator/log v0.0.0-20241217223533-d094a2751865
10+
github.com/kube-logging/log-generator/formats/custom v0.0.0-20250206095042-0df4b7b9896b
11+
github.com/kube-logging/log-generator/log v0.0.0-20250206095042-0df4b7b9896b
1412
github.com/lthibault/jitterbug v2.0.0+incompatible
1513
github.com/mroth/weightedrand v1.0.0
1614
github.com/prometheus/client_golang v1.20.5
@@ -20,19 +18,18 @@ require (
2018

2119
require (
2220
github.com/beorn7/perks v1.0.1 // indirect
23-
github.com/bytedance/sonic v1.12.6 // indirect
24-
github.com/bytedance/sonic/loader v0.2.1 // indirect
21+
github.com/bytedance/sonic v1.12.8 // indirect
22+
github.com/bytedance/sonic/loader v0.2.3 // indirect
2523
github.com/cespare/xxhash/v2 v2.3.0 // indirect
26-
github.com/cloudwego/base64x v0.1.4 // indirect
27-
github.com/cloudwego/iasm v0.2.0 // indirect
24+
github.com/cloudwego/base64x v0.1.5 // indirect
2825
github.com/fsnotify/fsnotify v1.8.0 // indirect
29-
github.com/gabriel-vasile/mimetype v1.4.7 // indirect
30-
github.com/gin-contrib/sse v0.1.0 // indirect
26+
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
27+
github.com/gin-contrib/sse v1.0.0 // indirect
3128
github.com/go-ole/go-ole v1.3.0 // indirect
3229
github.com/go-playground/locales v0.14.1 // indirect
3330
github.com/go-playground/universal-translator v0.18.1 // indirect
34-
github.com/go-playground/validator/v10 v10.23.0 // indirect
35-
github.com/goccy/go-json v0.10.4 // indirect
31+
github.com/go-playground/validator/v10 v10.24.0 // indirect
32+
github.com/goccy/go-json v0.10.5 // indirect
3633
github.com/hashicorp/hcl v1.0.0 // indirect
3734
github.com/json-iterator/go v1.1.12 // indirect
3835
github.com/klauspost/compress v1.17.11 // indirect
@@ -46,30 +43,30 @@ require (
4643
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
4744
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
4845
github.com/prometheus/client_model v0.6.1 // indirect
49-
github.com/prometheus/common v0.61.0 // indirect
46+
github.com/prometheus/common v0.62.0 // indirect
5047
github.com/prometheus/procfs v0.15.1 // indirect
5148
github.com/rogpeppe/go-internal v1.11.0 // indirect
52-
github.com/sagikazarmark/locafero v0.6.0 // indirect
49+
github.com/sagikazarmark/locafero v0.7.0 // indirect
5350
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
5451
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
5552
github.com/sourcegraph/conc v0.3.0 // indirect
56-
github.com/spf13/afero v1.11.0 // indirect
53+
github.com/spf13/afero v1.12.0 // indirect
5754
github.com/spf13/cast v1.7.1 // indirect
58-
github.com/spf13/pflag v1.0.5 // indirect
55+
github.com/spf13/pflag v1.0.6 // indirect
5956
github.com/subosito/gotenv v1.6.0 // indirect
6057
github.com/tklauser/go-sysconf v0.3.14 // indirect
6158
github.com/tklauser/numcpus v0.9.0 // indirect
6259
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
6360
github.com/ugorji/go/codec v1.2.12 // indirect
6461
github.com/yusufpapurcu/wmi v1.2.4 // indirect
6562
go.uber.org/multierr v1.11.0 // indirect
66-
golang.org/x/arch v0.12.0 // indirect
67-
golang.org/x/crypto v0.31.0 // indirect
68-
golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect
69-
golang.org/x/net v0.33.0 // indirect
70-
golang.org/x/sys v0.28.0 // indirect
71-
golang.org/x/text v0.21.0 // indirect
72-
google.golang.org/protobuf v1.36.0 // indirect
63+
golang.org/x/arch v0.14.0 // indirect
64+
golang.org/x/crypto v0.32.0 // indirect
65+
golang.org/x/exp v0.0.0-20250128182459-e0ece0dbea4c // indirect
66+
golang.org/x/net v0.34.0 // indirect
67+
golang.org/x/sys v0.30.0 // indirect
68+
golang.org/x/text v0.22.0 // indirect
69+
google.golang.org/protobuf v1.36.5 // indirect
7370
gopkg.in/ini.v1 v1.67.0 // indirect
7471
gopkg.in/yaml.v3 v3.0.1 // indirect
7572
)

0 commit comments

Comments
 (0)