Skip to content

Commit

Permalink
Update go modules to 1.21 (#18805)
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf authored Sep 26, 2023
1 parent 96fd530 commit 8ef82ff
Show file tree
Hide file tree
Showing 136 changed files with 1,117 additions and 80 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.20
leeway exec --filter-type go -v -- go mod tidy -compat=1.21
# 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.20 -v
go mod tidy -compat=1.21 -v
popd > /dev/null
done
Expand Down
2 changes: 1 addition & 1 deletion components/blobserve/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gitpod-io/gitpod/blobserve

go 1.20
go 1.21

require (
github.com/containerd/containerd v1.7.6
Expand Down
155 changes: 155 additions & 0 deletions components/blobserve/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/common-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gitpod-io/gitpod/common-go

go 1.20
go 1.21

require (
github.com/configcat/go-sdk/v7 v7.6.0
Expand Down
6 changes: 6 additions & 0 deletions components/common-go/go.sum

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

2 changes: 1 addition & 1 deletion components/content-service-api/go/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gitpod-io/gitpod/content-service/api

go 1.20
go 1.21

require (
github.com/gitpod-io/gitpod/common-go v0.0.0-00010101000000-000000000000
Expand Down
4 changes: 4 additions & 0 deletions components/content-service-api/go/go.sum

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

2 changes: 1 addition & 1 deletion components/content-service-api/typescript/util/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gitpod-io/gitpod/content-service-api/util

go 1.20
go 1.21

replace github.com/gitpod-io/gitpod/content-service/api => ../../go

Expand Down
1 change: 1 addition & 0 deletions components/content-service-api/typescript/util/go.sum

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

2 changes: 1 addition & 1 deletion components/content-service/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gitpod-io/gitpod/content-service

go 1.20
go 1.21

require (
cloud.google.com/go/storage v1.30.1
Expand Down
10 changes: 10 additions & 0 deletions components/content-service/go.sum

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

2 changes: 1 addition & 1 deletion components/docker-up/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gitpod-io/gitpod/docker-up

go 1.20
go 1.21

require (
github.com/opencontainers/runtime-spec v1.1.0
Expand Down
2 changes: 1 addition & 1 deletion components/ee/agent-smith/cmd/testbed/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module testbed

go 1.20
go 1.21
2 changes: 1 addition & 1 deletion components/ee/agent-smith/cmd/testtarget/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module testtarget

go 1.20
go 1.21
2 changes: 1 addition & 1 deletion components/ee/agent-smith/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gitpod-io/gitpod/agent-smith

go 1.20
go 1.21

require (
github.com/alecthomas/jsonschema v0.0.0-20210413112511-5c9c23bdc720
Expand Down
7 changes: 7 additions & 0 deletions components/ee/agent-smith/go.sum

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

2 changes: 1 addition & 1 deletion components/gitpod-cli/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gitpod-io/gitpod/gitpod-cli

go 1.20
go 1.21

require (
github.com/bufbuild/connect-go v1.10.0
Expand Down
Loading

0 comments on commit 8ef82ff

Please sign in to comment.