Skip to content

Commit

Permalink
Update go dependencies (gitpod-io#19577)
Browse files Browse the repository at this point in the history
* Update go dependencies

* Update S3

* Caddy plugins cannot use 1.22

* Update controller runtime signatures

* Update webhook suite test

* Update IPFS signatures

* Update go modules

* Update ipfs-cluster to v1.0.8

* Fix node-labeler build

* Fix IPFS CID parsing

* Update ipfs-cluster version

* Update controller-runtime signature

* Update statefulset signature

* Disable controller-runtime metrics

* Add comments
  • Loading branch information
aledbf authored Mar 26, 2024
1 parent 64d32a9 commit 5992b0f
Show file tree
Hide file tree
Showing 122 changed files with 6,058 additions and 5,123 deletions.
4 changes: 2 additions & 2 deletions components/BUILD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,15 @@ scripts:
- test/**/*
- dev/**/*
script: |
leeway exec --filter-type go -v -- go mod tidy -compat=1.21
leeway exec --filter-type go -v -- go mod tidy -compat=1.22
# not all the code is present in leeway.
# ensure we update everything containing a go.mod file
for COMPONENT in $(find . -name go.mod); do
DIRECTORY=$(dirname $COMPONENT)
echo "$DIRECTORY"
pushd $DIRECTORY > /dev/null
go mod tidy -compat=1.21 -v
go mod tidy -compat=1.22 -v
popd > /dev/null
done
Expand Down
166 changes: 95 additions & 71 deletions components/blobserve/go.mod

Large diffs are not rendered by default.

440 changes: 254 additions & 186 deletions components/blobserve/go.sum

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions components/common-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
module github.com/gitpod-io/gitpod/common-go

go 1.21
go 1.22

require (
github.com/configcat/go-sdk/v7 v7.6.0
github.com/containerd/cgroups v1.0.4
github.com/fsnotify/fsnotify v1.4.9
github.com/gitpod-io/gitpod/components/scrubber v0.0.0-00010101000000-000000000000
github.com/go-test/deep v1.0.5
github.com/google/go-cmp v0.5.9
github.com/google/go-cmp v0.6.0
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
github.com/hashicorp/golang-lru v1.0.2
Expand All @@ -17,17 +17,17 @@ require (
github.com/prometheus/client_golang v1.16.0
github.com/sirupsen/logrus v1.9.3
github.com/slok/go-http-metrics v0.10.0
github.com/stretchr/testify v1.8.1
github.com/stretchr/testify v1.8.4
github.com/uber/jaeger-client-go v2.29.1+incompatible
golang.org/x/sync v0.2.0
golang.org/x/sys v0.11.0
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af
golang.org/x/sys v0.15.0
golang.org/x/time v0.3.0
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
google.golang.org/grpc v1.52.3
google.golang.org/protobuf v1.30.0
google.golang.org/protobuf v1.33.0
gopkg.in/segmentio/analytics-go.v3 v3.1.0
k8s.io/api v0.27.3
k8s.io/apimachinery v0.27.3
k8s.io/api v0.29.3
k8s.io/apimachinery v0.29.3
)

require (
Expand All @@ -40,11 +40,11 @@ require (
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docker/go-units v0.4.0 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-logr/logr v1.3.0 // indirect
github.com/godbus/dbus/v5 v5.0.4 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
Expand All @@ -60,67 +60,67 @@ require (
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c // indirect
go.uber.org/atomic v1.4.0 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/text v0.8.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6 // indirect
gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/klog/v2 v2.90.1 // indirect
k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect
k8s.io/klog/v2 v2.110.1 // indirect
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
)

replace k8s.io/api => k8s.io/api v0.27.3
replace k8s.io/api => k8s.io/api v0.29.3

replace k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.27.3
replace k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.29.3

replace k8s.io/apimachinery => k8s.io/apimachinery v0.27.3
replace k8s.io/apimachinery => k8s.io/apimachinery v0.29.3

replace k8s.io/apiserver => k8s.io/apiserver v0.27.3
replace k8s.io/apiserver => k8s.io/apiserver v0.29.3

replace k8s.io/cli-runtime => k8s.io/cli-runtime v0.27.3
replace k8s.io/cli-runtime => k8s.io/cli-runtime v0.29.3

replace k8s.io/client-go => k8s.io/client-go v0.27.3
replace k8s.io/client-go => k8s.io/client-go v0.29.3

replace k8s.io/cloud-provider => k8s.io/cloud-provider v0.27.3
replace k8s.io/cloud-provider => k8s.io/cloud-provider v0.29.3

replace k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.27.3
replace k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.29.3

replace k8s.io/code-generator => k8s.io/code-generator v0.27.3
replace k8s.io/code-generator => k8s.io/code-generator v0.29.3

replace k8s.io/component-base => k8s.io/component-base v0.27.3
replace k8s.io/component-base => k8s.io/component-base v0.29.3

replace k8s.io/cri-api => k8s.io/cri-api v0.27.3
replace k8s.io/cri-api => k8s.io/cri-api v0.29.3

replace k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.27.3
replace k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.29.3

replace k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.27.3
replace k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.29.3

replace k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.27.3
replace k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.29.3

replace k8s.io/kube-proxy => k8s.io/kube-proxy v0.27.3
replace k8s.io/kube-proxy => k8s.io/kube-proxy v0.29.3

replace k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.27.3
replace k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.29.3

replace k8s.io/kubelet => k8s.io/kubelet v0.27.3
replace k8s.io/kubelet => k8s.io/kubelet v0.29.3

replace k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.27.3
replace k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.29.3

replace k8s.io/metrics => k8s.io/metrics v0.27.3
replace k8s.io/metrics => k8s.io/metrics v0.29.3

replace k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.27.3
replace k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.29.3

replace k8s.io/component-helpers => k8s.io/component-helpers v0.27.3
replace k8s.io/component-helpers => k8s.io/component-helpers v0.29.3

replace k8s.io/controller-manager => k8s.io/controller-manager v0.27.3
replace k8s.io/controller-manager => k8s.io/controller-manager v0.29.3

replace k8s.io/kubectl => k8s.io/kubectl v0.27.3
replace k8s.io/kubectl => k8s.io/kubectl v0.29.3

replace k8s.io/mount-utils => k8s.io/mount-utils v0.27.3
replace k8s.io/mount-utils => k8s.io/mount-utils v0.29.3

replace k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.27.3
replace k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.29.3

replace github.com/gitpod-io/gitpod/components/scrubber => ../scrubber // leeway
67 changes: 30 additions & 37 deletions components/common-go/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5992b0f

Please sign in to comment.