Skip to content

Commit 37f80b8

Browse files
authored
Merge pull request #32 from appclacks/upgrade-versions
Upgrade versions
2 parents 7ccdc0d + b7ac364 commit 37f80b8

File tree

648 files changed

+45324
-52619
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

648 files changed

+45324
-52619
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ on:
66

77
jobs:
88
lint:
9-
runs-on: ubuntu-22.04
9+
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-go@v2
1313
with:
1414
go-version-file: 'go.mod'
1515
cache: true
16-
- uses: golangci/golangci-lint-action@v6
16+
- uses: golangci/golangci-lint-action@v8

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-22.04
9+
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-go@v2

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23.5 AS build-env
1+
FROM golang:1.25.3 AS build-env
22

33
ADD . /app
44
WORKDIR /app
@@ -7,7 +7,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build
77

88
# -----------------------------------------------------------------------------
99

10-
FROM alpine:3.21.2
10+
FROM alpine:3.22.2
1111

1212
RUN addgroup -S -g 10000 api \
1313
&& adduser -S -D -u 10000 -s /sbin/nologin -G api api

discovery/http/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (configuration *Configuration) UnmarshalYAML(unmarshal func(interface{}) er
4848
if raw.Interval < 10 {
4949
return errors.New("The interval should be greater or equal than 10 seconds")
5050
}
51-
if !((raw.Key != "" && raw.Cert != "") ||
51+
if !((raw.Key != "" && raw.Cert != "") || //nolint
5252
(raw.Key == "" && raw.Cert == "")) {
5353
return errors.New("Invalid certificates")
5454
}

discovery/http/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (c *HTTPDiscovery) request(ctx context.Context) error {
9898
if err != nil {
9999
return errors.Wrapf(err, "HTTP discovery: fail to send request to %s", c.URL)
100100
}
101-
defer resp.Body.Close()
101+
defer resp.Body.Close() //nolint
102102
if resp.StatusCode != 200 {
103103
return fmt.Errorf("HTTP discovery: request failed, status %d", resp.StatusCode)
104104
}

exporter/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func (c *HTTPConfiguration) UnmarshalYAML(unmarshal func(interface{}) error) err
5858
if raw.Port == 0 {
5959
return errors.New("Invalid port for the HTTP server")
6060
}
61-
if !((raw.Key != "" && raw.Cert != "") ||
61+
if !((raw.Key != "" && raw.Cert != "") || //nolint
6262
(raw.Key == "" && raw.Cert == "")) {
6363
return errors.New("Invalid certificates")
6464
}

exporter/http_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func TestHTTPExporter(t *testing.T) {
2020
count++
2121
w.WriteHeader(http.StatusOK)
2222
}))
23-
defer ts.Close()
23+
defer ts.Close() //nolint
2424

2525
port, err := strconv.ParseUint(strings.Split(ts.URL, ":")[2], 10, 16)
2626
if err != nil {

exporter/riemann.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (c *RiemannConfiguration) UnmarshalYAML(unmarshal func(interface{}) error)
5050
if raw.Port == 0 {
5151
return errors.New("Invalid port for the Riemann server")
5252
}
53-
if !((raw.Key != "" && raw.Cert != "") ||
53+
if !((raw.Key != "" && raw.Cert != "") || //nolint
5454
(raw.Key == "" && raw.Cert == "")) {
5555
return errors.New("Invalid certificates")
5656
}

go.mod

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,66 @@
11
module github.com/appclacks/cabourotte
22

3-
go 1.23.5
3+
go 1.25.3
44

55
require (
66
github.com/cespare/xxhash/v2 v2.3.0 // indirect
7-
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
7+
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
88
github.com/golang/protobuf v1.5.4 // indirect
99
github.com/labstack/gommon v0.4.2 // indirect
1010
github.com/mattn/go-colorable v0.1.14 // indirect
1111
github.com/pkg/errors v0.9.1
12-
github.com/prometheus/client_golang v1.20.5
13-
github.com/prometheus/common v0.62.0 // indirect
14-
github.com/prometheus/procfs v0.15.1 // indirect
12+
github.com/prometheus/client_golang v1.23.2
13+
github.com/prometheus/common v0.67.2 // indirect
14+
github.com/prometheus/procfs v0.19.2 // indirect
1515
github.com/riemann/riemann-go-client v0.5.0
1616
github.com/russross/blackfriday/v2 v2.1.0 // indirect
17-
github.com/urfave/cli/v2 v2.27.5
17+
github.com/urfave/cli/v2 v2.27.7
1818
github.com/valyala/fasttemplate v1.2.2 // indirect
1919
go.uber.org/multierr v1.11.0 // indirect
2020
go.uber.org/zap v1.27.0
21-
golang.org/x/crypto v0.33.0 // indirect
22-
golang.org/x/net v0.35.0 // indirect
23-
golang.org/x/sys v0.30.0 // indirect
24-
golang.org/x/text v0.22.0 // indirect
25-
google.golang.org/protobuf v1.36.5 // indirect
21+
golang.org/x/crypto v0.43.0 // indirect
22+
golang.org/x/net v0.46.0 // indirect
23+
golang.org/x/sys v0.37.0 // indirect
24+
golang.org/x/text v0.30.0 // indirect
25+
google.golang.org/protobuf v1.36.10 // indirect
2626
gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637
2727
gopkg.in/yaml.v2 v2.4.0
2828
)
2929

3030
require (
31-
github.com/labstack/echo/v4 v4.13.3
31+
github.com/labstack/echo/v4 v4.13.4
3232
github.com/mcorbin/corbierror v0.0.0-20220804210425-326e0b6f18e4
33-
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho v0.59.0
34-
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.59.0
35-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0
36-
go.opentelemetry.io/otel v1.34.0
37-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.34.0
38-
go.opentelemetry.io/otel/sdk v1.34.0
33+
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho v0.63.0
34+
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.63.0
35+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0
36+
go.opentelemetry.io/otel v1.38.0
37+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.38.0
38+
go.opentelemetry.io/otel/sdk v1.38.0
3939
)
4040

4141
require (
4242
github.com/beorn7/perks v1.0.1 // indirect
4343
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
44+
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
4445
github.com/felixge/httpsnoop v1.0.4 // indirect
45-
github.com/go-logr/logr v1.4.2 // indirect
46+
github.com/go-logr/logr v1.4.3 // indirect
4647
github.com/go-logr/stdr v1.2.2 // indirect
4748
github.com/google/uuid v1.6.0 // indirect
48-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1 // indirect
49-
github.com/klauspost/compress v1.17.11 // indirect
49+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.3 // indirect
50+
github.com/klauspost/compress v1.18.1 // indirect
5051
github.com/mattn/go-isatty v0.0.20 // indirect
5152
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
52-
github.com/prometheus/client_model v0.6.1 // indirect
53+
github.com/prometheus/client_model v0.6.2 // indirect
5354
github.com/valyala/bytebufferpool v1.0.0 // indirect
54-
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
55-
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
56-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0 // indirect
57-
go.opentelemetry.io/otel/metric v1.34.0 // indirect
58-
go.opentelemetry.io/otel/trace v1.34.0 // indirect
59-
go.opentelemetry.io/proto/otlp v1.5.0 // indirect
60-
golang.org/x/time v0.10.0 // indirect
61-
google.golang.org/genproto/googleapis/api v0.0.0-20250212204824-5a70512c5d8b // indirect
62-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250212204824-5a70512c5d8b // indirect
63-
google.golang.org/grpc v1.70.0 // indirect
55+
github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 // indirect
56+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
57+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.38.0 // indirect
58+
go.opentelemetry.io/otel/metric v1.38.0 // indirect
59+
go.opentelemetry.io/otel/trace v1.38.0 // indirect
60+
go.opentelemetry.io/proto/otlp v1.8.0 // indirect
61+
go.yaml.in/yaml/v2 v2.4.3 // indirect
62+
golang.org/x/time v0.14.0 // indirect
63+
google.golang.org/genproto/googleapis/api v0.0.0-20251029180050-ab9386a59fda // indirect
64+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251029180050-ab9386a59fda // indirect
65+
google.golang.org/grpc v1.76.0 // indirect
6466
)

0 commit comments

Comments
 (0)