Skip to content

Commit 0877ea8

Browse files
chore(CR-29955): updated golang sdk, alpine, google.golang.org/protobuf (depend of git… (#589)
1 parent cae769c commit 0877ea8

File tree

13 files changed

+88
-67
lines changed

13 files changed

+88
-67
lines changed

venona/.golangci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: "2"
2+
linters:
3+
settings:
4+
staticcheck:
5+
checks:
6+
- all
7+
- '-ST1005'
8+
- '-ST1000'
9+
- '-ST1003'

venona/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21-alpine3.20 AS build
1+
FROM golang:1.23-alpine3.22 AS build
22
RUN apk -U add --no-cache git make ca-certificates && update-ca-certificates
33
ENV USER=venona
44
ENV UID=10001
@@ -17,7 +17,7 @@ RUN go mod verify
1717
# compile
1818
RUN make build
1919

20-
FROM alpine:3.20
20+
FROM alpine:3.22
2121
# copy ca-certs and user details
2222
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
2323
COPY --from=build /etc/passwd /etc/passwd

venona/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ $(GOBIN)/mockery:
8585

8686
$(GOBIN)/golangci-lint:
8787
@echo installing: golangci-lint
88-
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOBIN) v1.54.2
88+
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOBIN) v2.2.1

venona/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.5
1+
2.0.6

venona/cmd/start.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ func run(options startOptions) {
198198
runtimes = remoteRuntimeConfiguration(options, k8sLog)
199199
}
200200

201-
var monitor monitoring.Monitor = monitoring.NewEmpty()
201+
monitor := monitoring.NewEmpty()
202202
var err error
203203

204204
if options.newrelicLicenseKey != "" {

venona/go.mod

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
module github.com/codefresh-io/go/venona
22

3-
go 1.21
3+
go 1.23
44

55
require (
66
github.com/gorilla/mux v1.8.0
7-
github.com/hashicorp/go-retryablehttp v0.6.7
7+
github.com/hashicorp/go-retryablehttp v0.7.7
88
github.com/inconshreveable/log15 v0.0.0-20200109203555-b30bc20e4fd1
9-
github.com/newrelic/go-agent/v3 v3.23.1
9+
github.com/newrelic/go-agent/v3 v3.39.0
1010
github.com/newrelic/go-agent/v3/integrations/nrgorilla v1.1.0
1111
github.com/prometheus/client_golang v1.16.0
1212
github.com/spf13/cobra v1.1.3
1313
github.com/spf13/pflag v1.0.5
1414
github.com/spf13/viper v1.7.1
15-
github.com/stretchr/objx v0.5.0
16-
github.com/stretchr/testify v1.8.1
15+
github.com/stretchr/objx v0.5.2
16+
github.com/stretchr/testify v1.10.0
1717
gopkg.in/yaml.v2 v2.4.0
1818
k8s.io/api v0.27.3
1919
k8s.io/apimachinery v0.27.3
@@ -22,7 +22,7 @@ require (
2222

2323
require (
2424
github.com/beorn7/perks v1.0.1 // indirect
25-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
25+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2626
github.com/davecgh/go-spew v1.1.1 // indirect
2727
github.com/emicklei/go-restful/v3 v3.10.0 // indirect
2828
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
@@ -33,20 +33,20 @@ require (
3333
github.com/go-openapi/swag v0.22.3 // indirect
3434
github.com/go-stack/stack v1.8.0 // indirect
3535
github.com/gogo/protobuf v1.3.2 // indirect
36-
github.com/golang/protobuf v1.5.3 // indirect
36+
github.com/golang/protobuf v1.5.4 // indirect
3737
github.com/google/gnostic v0.5.7-v3refs // indirect
38-
github.com/google/go-cmp v0.5.9 // indirect
38+
github.com/google/go-cmp v0.6.0 // indirect
3939
github.com/google/gofuzz v1.1.0 // indirect
40-
github.com/google/uuid v1.3.0 // indirect
41-
github.com/hashicorp/go-cleanhttp v0.5.1 // indirect
40+
github.com/google/uuid v1.6.0 // indirect
41+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
4242
github.com/hashicorp/hcl v1.0.0 // indirect
4343
github.com/inconshreveable/mousetrap v1.0.0 // indirect
4444
github.com/josharian/intern v1.0.0 // indirect
4545
github.com/json-iterator/go v1.1.12 // indirect
4646
github.com/magiconair/properties v1.8.1 // indirect
4747
github.com/mailru/easyjson v0.7.7 // indirect
48-
github.com/mattn/go-colorable v0.0.9 // indirect
49-
github.com/mattn/go-isatty v0.0.3 // indirect
48+
github.com/mattn/go-colorable v0.1.13 // indirect
49+
github.com/mattn/go-isatty v0.0.20 // indirect
5050
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
5151
github.com/mitchellh/mapstructure v1.1.2 // indirect
5252
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
@@ -62,16 +62,15 @@ require (
6262
github.com/spf13/cast v1.3.0 // indirect
6363
github.com/spf13/jwalterweatherman v1.0.0 // indirect
6464
github.com/subosito/gotenv v1.2.0 // indirect
65-
golang.org/x/net v0.17.0 // indirect
66-
golang.org/x/oauth2 v0.5.0 // indirect
67-
golang.org/x/sys v0.13.0 // indirect
68-
golang.org/x/term v0.13.0 // indirect
69-
golang.org/x/text v0.13.0 // indirect
65+
golang.org/x/net v0.25.0 // indirect
66+
golang.org/x/oauth2 v0.20.0 // indirect
67+
golang.org/x/sys v0.20.0 // indirect
68+
golang.org/x/term v0.20.0 // indirect
69+
golang.org/x/text v0.15.0 // indirect
7070
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
71-
google.golang.org/appengine v1.6.7 // indirect
7271
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
73-
google.golang.org/grpc v1.54.0 // indirect
74-
google.golang.org/protobuf v1.30.0 // indirect
72+
google.golang.org/grpc v1.65.0 // indirect
73+
google.golang.org/protobuf v1.34.2 // indirect
7574
gopkg.in/inf.v0 v0.9.1 // indirect
7675
gopkg.in/ini.v1 v1.51.0 // indirect
7776
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)