Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit dd0f25c

Browse files
committed
chore: update go version to 1.22.2
Including catching up deb-tools
1 parent 503995d commit dd0f25c

File tree

8 files changed

+19
-415
lines changed

8 files changed

+19
-415
lines changed

dev/staging/cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ options:
55
machineType: 'N1_HIGHCPU_8'
66

77
steps:
8-
- name: golang:1.19
8+
- name: golang:1.22
99
waitFor: ['-']
1010
env:
1111
- PULL_BASE_REF=$_PULL_BASE_REF

etcd-manager/WORKSPACE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
77

88
http_archive(
99
name = "io_bazel_rules_go",
10-
sha256 = "278b7ff5a826f3dc10f04feaf0b70d48b68748ccd512d7f98bf442077f043fe3",
10+
sha256 = "80a98277ad1311dacd837f9b16db62887702e9f1d1c4c9f796d0121a46c8e184",
1111
urls = [
12-
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.41.0.zip",
13-
"https://github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.41.0.zip",
12+
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip",
13+
"https://github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip",
1414
],
1515
)
1616

@@ -28,7 +28,7 @@ load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
2828

2929
go_rules_dependencies()
3030

31-
go_register_toolchains(version = "1.21.8")
31+
go_register_toolchains(version = "1.22.2")
3232

3333
gazelle_dependencies()
3434

etcd-manager/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ module sigs.k8s.io/etcdadm/etcd-manager
22

33
go 1.21
44

5+
toolchain go1.22.2
6+
57
require (
68
cloud.google.com/go/compute/metadata v0.2.3
79
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible

etcd-manager/tools/deb-tools/WORKSPACE

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
77

88
http_archive(
99
name = "io_bazel_rules_go",
10-
sha256 = "56d8c5a5c91e1af73eca71a6fab2ced959b67c86d12ba37feedb0a2dfea441a6",
10+
sha256 = "80a98277ad1311dacd837f9b16db62887702e9f1d1c4c9f796d0121a46c8e184",
1111
urls = [
12-
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip",
13-
"https://github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip",
12+
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip",
13+
"https://github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip",
1414
],
1515
)
1616

1717
http_archive(
1818
name = "bazel_gazelle",
19-
sha256 = "ecba0f04f96b4960a5b250c8e8eeec42281035970aa8852dda73098274d14a1d",
19+
sha256 = "d3fa66a39028e97d76f9e2db8f1b0c11c099e8e01bf363a923074784e451f809",
2020
urls = [
21-
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.29.0/bazel-gazelle-v0.29.0.tar.gz",
22-
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.29.0/bazel-gazelle-v0.29.0.tar.gz",
21+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.33.0/bazel-gazelle-v0.33.0.tar.gz",
22+
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.33.0/bazel-gazelle-v0.33.0.tar.gz",
2323
],
2424
)
2525

@@ -28,7 +28,7 @@ load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
2828

2929
go_rules_dependencies()
3030

31-
go_register_toolchains(version = "1.19.5")
31+
go_register_toolchains(version = "1.22.2")
3232

3333
gazelle_dependencies()
3434

etcd-manager/tools/deb-tools/go.mod

Lines changed: 3 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -2,70 +2,12 @@ module sigs.k8s.io/etcdadm/etcd-manager/tools/deb-tools
22

33
go 1.21
44

5+
toolchain go1.22.2
6+
57
require (
68
github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb
79
github.com/ulikunitz/xz v0.5.10
810
k8s.io/klog/v2 v2.120.1
911
)
1012

11-
require (
12-
cloud.google.com/go/compute v1.23.4 // indirect
13-
cloud.google.com/go/compute/metadata v0.2.3 // indirect
14-
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible // indirect
15-
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
16-
github.com/Azure/go-autorest/autorest v0.11.29 // indirect
17-
github.com/Azure/go-autorest/autorest/adal v0.9.22 // indirect
18-
github.com/Azure/go-autorest/autorest/azure/auth v0.5.12 // indirect
19-
github.com/Azure/go-autorest/autorest/azure/cli v0.4.5 // indirect
20-
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
21-
github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect
22-
github.com/Azure/go-autorest/logger v0.2.1 // indirect
23-
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
24-
github.com/aws/aws-sdk-go v1.51.11 // indirect
25-
github.com/blang/semver/v4 v4.0.0 // indirect
26-
github.com/coreos/go-semver v0.3.0 // indirect
27-
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
28-
github.com/digitalocean/godo v1.110.0 // indirect
29-
github.com/dimchansky/utfbom v1.1.1 // indirect
30-
github.com/go-logr/logr v1.4.1 // indirect
31-
github.com/gogo/protobuf v1.3.2 // indirect
32-
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
33-
github.com/golang/protobuf v1.5.4 // indirect
34-
github.com/google/go-querystring v1.1.0 // indirect
35-
github.com/gophercloud/gophercloud v1.11.0 // indirect
36-
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
37-
github.com/hashicorp/go-retryablehttp v0.7.4 // indirect
38-
github.com/hetznercloud/hcloud-go v1.53.0 // indirect
39-
github.com/jmespath/go-jmespath v0.4.0 // indirect
40-
github.com/mitchellh/go-homedir v1.1.0 // indirect
41-
github.com/moby/sys/mountinfo v0.6.2 // indirect
42-
github.com/prometheus/client_golang v1.19.0 // indirect
43-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.25 // indirect
44-
go.etcd.io/etcd/api/v3 v3.5.13 // indirect
45-
go.etcd.io/etcd/client/pkg/v3 v3.5.13 // indirect
46-
go.etcd.io/etcd/client/v3 v3.5.13 // indirect
47-
go.uber.org/atomic v1.7.0 // indirect
48-
go.uber.org/multierr v1.11.0 // indirect
49-
go.uber.org/zap v1.17.0 // indirect
50-
golang.org/x/crypto v0.21.0 // indirect
51-
golang.org/x/net v0.22.0 // indirect
52-
golang.org/x/oauth2 v0.18.0 // indirect
53-
golang.org/x/sys v0.18.0 // indirect
54-
golang.org/x/text v0.14.0 // indirect
55-
golang.org/x/time v0.5.0 // indirect
56-
google.golang.org/api v0.172.0 // indirect
57-
google.golang.org/appengine v1.6.8 // indirect
58-
google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 // indirect
59-
google.golang.org/genproto/googleapis/api v0.0.0-20240125205218-1f4bbc51befe // indirect
60-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
61-
google.golang.org/grpc v1.62.1 // indirect
62-
google.golang.org/protobuf v1.33.0 // indirect
63-
gopkg.in/gcfg.v1 v1.2.3 // indirect
64-
gopkg.in/warnings.v0 v0.1.2 // indirect
65-
k8s.io/apimachinery v0.29.3 // indirect
66-
k8s.io/client-go v0.29.3 // indirect
67-
k8s.io/kops v1.28.4 // indirect
68-
k8s.io/mount-utils v0.29.3 // indirect
69-
k8s.io/utils v0.0.0-20240310230437-4693a0247e57 // indirect
70-
sigs.k8s.io/yaml v1.4.0 // indirect
71-
)
13+
require github.com/go-logr/logr v1.4.1 // indirect

0 commit comments

Comments
 (0)