Skip to content

Commit f8a6c9e

Browse files
committed
switch to golang 1.22 and update deps
Signed-off-by: Markus Blaschke <[email protected]>
1 parent 05ea4cf commit f8a6c9e

File tree

3 files changed

+101
-99
lines changed

3 files changed

+101
-99
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#############################################
22
# Build
33
#############################################
4-
FROM --platform=$BUILDPLATFORM golang:1.21-alpine as build
4+
FROM --platform=$BUILDPLATFORM golang:1.22-alpine as build
55

66
RUN apk upgrade --no-cache --force
77
RUN apk add --update build-base make git

go.mod

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
module github.com/webdevops/azure-resourcemanager-exporter
22

3-
go 1.21
3+
go 1.22
4+
5+
toolchain go1.22.0
46

57
require (
68
github.com/anvie/port-scanner v0.0.0-20180225151059-8159197d3770
79
github.com/golang/protobuf v1.5.3 // indirect
810
github.com/jessevdk/go-flags v1.5.0
911
github.com/prometheus/client_golang v1.18.0
10-
github.com/prometheus/common v0.46.0 // indirect
12+
github.com/prometheus/common v0.48.0 // indirect
1113
github.com/prometheus/procfs v0.12.0 // indirect
1214
github.com/remeh/sizedwaitgroup v1.0.0
13-
golang.org/x/crypto v0.18.0 // indirect
14-
golang.org/x/sys v0.16.0 // indirect
15+
golang.org/x/crypto v0.19.0 // indirect
16+
golang.org/x/sys v0.17.0 // indirect
1517
google.golang.org/protobuf v1.32.0 // indirect
1618
)
1719

1820
require (
19-
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1
21+
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.2
2022
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.5.1 // indirect
21-
github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 // indirect
23+
github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.2 // indirect
2224
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/advisor/armadvisor v1.2.0
2325
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2 v2.2.0
2426
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute v1.0.0
@@ -32,65 +34,65 @@ require (
3234
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions v1.3.0
3335
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity v0.12.0
3436
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.5.0
35-
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.1 // indirect
36-
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1 // indirect
37+
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.0 // indirect
38+
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect
3739
github.com/beorn7/perks v1.0.1 // indirect
3840
github.com/cespare/xxhash/v2 v2.2.0 // indirect
3941
github.com/cjlapao/common-go v0.0.39 // indirect
4042
github.com/davecgh/go-spew v1.1.1 // indirect
41-
github.com/emicklei/go-restful/v3 v3.11.2 // indirect
43+
github.com/emicklei/go-restful/v3 v3.11.3 // indirect
4244
github.com/go-logr/logr v1.4.1 // indirect
4345
github.com/go-logr/stdr v1.2.2 // indirect
4446
github.com/go-openapi/jsonpointer v0.20.2 // indirect
4547
github.com/go-openapi/jsonreference v0.20.4 // indirect
46-
github.com/go-openapi/swag v0.22.7 // indirect
48+
github.com/go-openapi/swag v0.22.9 // indirect
4749
github.com/gogo/protobuf v1.3.2 // indirect
4850
github.com/golang-jwt/jwt/v5 v5.2.0 // indirect
4951
github.com/google/gnostic-models v0.6.8 // indirect
5052
github.com/google/gofuzz v1.2.0 // indirect
51-
github.com/google/uuid v1.5.0 // indirect
53+
github.com/google/uuid v1.6.0 // indirect
5254
github.com/josharian/intern v1.0.0 // indirect
5355
github.com/json-iterator/go v1.1.12 // indirect
5456
github.com/kylelemons/godebug v1.1.0 // indirect
5557
github.com/mailru/easyjson v0.7.7 // indirect
56-
github.com/microsoft/kiota-abstractions-go v1.5.3
57-
github.com/microsoft/kiota-authentication-azure-go v1.0.1 // indirect
58-
github.com/microsoft/kiota-http-go v1.1.1 // indirect
58+
github.com/microsoft/kiota-abstractions-go v1.5.6
59+
github.com/microsoft/kiota-authentication-azure-go v1.0.2 // indirect
60+
github.com/microsoft/kiota-http-go v1.3.1 // indirect
5961
github.com/microsoft/kiota-serialization-form-go v1.0.0 // indirect
60-
github.com/microsoft/kiota-serialization-json-go v1.0.5 // indirect
62+
github.com/microsoft/kiota-serialization-json-go v1.0.6 // indirect
6163
github.com/microsoft/kiota-serialization-multipart-go v1.0.0 // indirect
6264
github.com/microsoft/kiota-serialization-text-go v1.0.0 // indirect
63-
github.com/microsoftgraph/msgraph-sdk-go v1.29.0
64-
github.com/microsoftgraph/msgraph-sdk-go-core v1.0.1
65+
github.com/microsoftgraph/msgraph-sdk-go v1.34.0
66+
github.com/microsoftgraph/msgraph-sdk-go-core v1.0.2
6567
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
6668
github.com/modern-go/reflect2 v1.0.2 // indirect
6769
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
6870
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
6971
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
7072
github.com/pmezard/go-difflib v1.0.0 // indirect
71-
github.com/prometheus/client_model v0.5.0 // indirect
73+
github.com/prometheus/client_model v0.6.0 // indirect
7274
github.com/robfig/cron v1.2.0 // indirect
73-
github.com/std-uritemplate/std-uritemplate/go v0.0.50 // indirect
75+
github.com/std-uritemplate/std-uritemplate/go v0.0.53 // indirect
7476
github.com/stretchr/testify v1.8.4 // indirect
75-
github.com/webdevops/go-common v0.0.0-20240114160106-0d99a9593911
76-
go.opentelemetry.io/otel v1.21.0 // indirect
77-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
78-
go.opentelemetry.io/otel/trace v1.21.0 // indirect
77+
github.com/webdevops/go-common v0.0.0-20240224160459-39041cd1f800
78+
go.opentelemetry.io/otel v1.24.0 // indirect
79+
go.opentelemetry.io/otel/metric v1.24.0 // indirect
80+
go.opentelemetry.io/otel/trace v1.24.0 // indirect
7981
go.uber.org/multierr v1.11.0 // indirect
80-
go.uber.org/zap v1.26.0
81-
golang.org/x/net v0.20.0 // indirect
82-
golang.org/x/oauth2 v0.16.0 // indirect
83-
golang.org/x/term v0.16.0 // indirect
82+
go.uber.org/zap v1.27.0
83+
golang.org/x/net v0.21.0 // indirect
84+
golang.org/x/oauth2 v0.17.0 // indirect
85+
golang.org/x/term v0.17.0 // indirect
8486
golang.org/x/text v0.14.0 // indirect
8587
golang.org/x/time v0.5.0 // indirect
8688
google.golang.org/appengine v1.6.8 // indirect
8789
gopkg.in/inf.v0 v0.9.1 // indirect
8890
gopkg.in/yaml.v3 v3.0.1 // indirect
89-
k8s.io/api v0.29.0 // indirect
90-
k8s.io/apimachinery v0.29.0 // indirect
91-
k8s.io/client-go v0.29.0 // indirect
92-
k8s.io/klog/v2 v2.120.0 // indirect
93-
k8s.io/kube-openapi v0.0.0-20240105020646-a37d4de58910 // indirect
91+
k8s.io/api v0.29.2 // indirect
92+
k8s.io/apimachinery v0.29.2 // indirect
93+
k8s.io/client-go v0.29.2 // indirect
94+
k8s.io/klog/v2 v2.120.1 // indirect
95+
k8s.io/kube-openapi v0.0.0-20240224005224-582cce78233b // indirect
9496
k8s.io/utils v0.0.0-20240102154912-e7106e64919e // indirect
9597
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
9698
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect

0 commit comments

Comments
 (0)