Skip to content

Commit 8980640

Browse files
authored
ZDM Util: upgrade Go version and some of its dependencies (#70)
This PR only affects the ZDM Util. The changes include an upgrade of the Go version from 1.16 to 1.21.7, and upgrading several dependencies that were outdated. In particular, the runc transitive dependency has been upgraded from 1.1.4 to 1.1.12 to address a security vulnerability. Additionally, there is a fix for a small compilation error in a test which had gone unnoticed since the changes to make the ZDM Util OS-agnostic. The automated tests are passing and a manual smoke test was also successful.
1 parent f4a0964 commit 8980640

File tree

3 files changed

+110
-1431
lines changed

3 files changed

+110
-1431
lines changed

zdm-util/go.mod

+32-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,38 @@
11
module zdm-proxy-automation/zdm-util
22

3-
go 1.16
3+
go 1.21
44

55
require (
6-
github.com/containerd/containerd v1.6.8 // indirect
7-
github.com/containerd/continuity v0.3.0 // indirect
8-
github.com/docker/distribution v2.8.1+incompatible // indirect
9-
github.com/docker/docker v20.10.17+incompatible
10-
github.com/moby/sys/mount v0.3.3 // indirect
11-
github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae // indirect
12-
github.com/opencontainers/runc v1.1.4 // indirect
13-
github.com/phayes/permbits v0.0.0-20190612203442-39d7c581d2ee // indirect
6+
github.com/docker/docker v23.0.3+incompatible
7+
github.com/phayes/permbits v0.0.0-20190612203442-39d7c581d2ee
148
github.com/pkg/errors v0.9.1
15-
github.com/sirupsen/logrus v1.9.0 // indirect
16-
github.com/stretchr/testify v1.8.0
17-
golang.org/x/sys v0.0.0-20220829200755-d48e67d00261 // indirect
18-
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
19-
gotest.tools/v3 v3.3.0 // indirect
9+
github.com/stretchr/testify v1.8.4
10+
)
11+
12+
require (
13+
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
14+
github.com/Microsoft/go-winio v0.6.1 // indirect
15+
github.com/containerd/containerd v1.7.13 // indirect
16+
github.com/davecgh/go-spew v1.1.1 // indirect
17+
github.com/distribution/reference v0.5.0 // indirect
18+
github.com/docker/distribution v2.8.3+incompatible // indirect
19+
github.com/docker/go-connections v0.5.0 // indirect
20+
github.com/docker/go-units v0.5.0 // indirect
21+
github.com/gogo/protobuf v1.3.2 // indirect
22+
github.com/google/go-cmp v0.6.0 // indirect
23+
github.com/klauspost/compress v1.17.7 // indirect
24+
github.com/moby/patternmatcher v0.6.0 // indirect
25+
github.com/moby/sys/sequential v0.5.0 // indirect
26+
github.com/moby/term v0.5.0 // indirect
27+
github.com/morikuni/aec v1.0.0 // indirect
28+
github.com/opencontainers/go-digest v1.0.0 // indirect
29+
github.com/opencontainers/image-spec v1.1.0 // indirect
30+
github.com/opencontainers/runc v1.1.12 // indirect
31+
github.com/pmezard/go-difflib v1.0.0 // indirect
32+
github.com/sirupsen/logrus v1.9.3 // indirect
33+
golang.org/x/mod v0.15.0 // indirect
34+
golang.org/x/sys v0.17.0 // indirect
35+
golang.org/x/tools v0.18.0 // indirect
36+
gopkg.in/yaml.v3 v3.0.1 // indirect
37+
gotest.tools/v3 v3.5.1 // indirect
2038
)

0 commit comments

Comments
 (0)