Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go1.19: update go version in go.mod to 1.19 #3367

Merged
merged 3 commits into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
def licenseScanStep():
return {
"name": "license-scan",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"environment": {
"FOSSA_API_KEY": {
"from_secret": "fossa_api_key",
Expand All @@ -18,7 +18,7 @@ def licenseScanStep():
def makeStep(target):
return {
"name": "build",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"commands": [
"make %s" % target,
],
Expand Down Expand Up @@ -134,7 +134,7 @@ def buildAndPublishDocker():
"steps": [
{
"name": "store-dev-release",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"environment": {
"USERNAME": {
"from_secret": "cbox_username",
Expand All @@ -157,7 +157,7 @@ def buildAndPublishDocker():
lintStep(),
{
"name": "license-check",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"failure": "ignore",
"environment": {
"FOSSA_API_KEY": {
Expand Down Expand Up @@ -271,7 +271,7 @@ def changelog():
"steps": [
{
"name": "changelog",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"commands": [
"make release-deps && /go/bin/calens > /dev/null",
"make check-changelog-drone PR=$DRONE_PULL_REQUEST",
Expand Down Expand Up @@ -303,7 +303,7 @@ def coverage():
"steps": [
{
"name": "unit-test",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"commands": [
"make test",
],
Expand Down Expand Up @@ -353,7 +353,7 @@ def buildOnly():
lintStep(),
{
"name": "license-check",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"failure": "ignore",
"environment": {
"FOSSA_API_KEY": {
Expand Down Expand Up @@ -388,7 +388,7 @@ def testIntegration():
"steps": [
{
"name": "test",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"commands": [
"make test-integration",
],
Expand Down Expand Up @@ -425,7 +425,7 @@ def release():
lintStep(),
{
"name": "create-dist",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"commands": [
"go run tools/create-artifacts/main.go -version ${DRONE_TAG} -commit ${DRONE_COMMIT} -goversion `go version | awk '{print $$3}'`",
],
Expand Down Expand Up @@ -546,7 +546,7 @@ def virtualViews():
makeStep("build-ci"),
{
"name": "revad-services",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"detach": True,
"commands": [
"cd /drone/src/tests/oc-integration-tests/drone/",
Expand Down Expand Up @@ -606,7 +606,7 @@ def litmusOcisOldWebdav():
makeStep("build-ci"),
{
"name": "revad-services",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"detach": True,
"commands": [
"cd /drone/src/tests/oc-integration-tests/drone/",
Expand All @@ -619,7 +619,7 @@ def litmusOcisOldWebdav():
},
{
"name": "sleep-for-revad-start",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"commands": [
"sleep 5",
],
Expand Down Expand Up @@ -659,7 +659,7 @@ def litmusOcisNewWebdav():
makeStep("build-ci"),
{
"name": "revad-services",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"detach": True,
"commands": [
"cd /drone/src/tests/oc-integration-tests/drone/",
Expand All @@ -672,7 +672,7 @@ def litmusOcisNewWebdav():
},
{
"name": "sleep-for-revad-start",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"commands": [
"sleep 5",
],
Expand Down Expand Up @@ -713,7 +713,7 @@ def litmusOcisSpacesDav():
makeStep("build-ci"),
{
"name": "revad-services",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"detach": True,
"commands": [
"cd /drone/src/tests/oc-integration-tests/drone/",
Expand All @@ -727,7 +727,7 @@ def litmusOcisSpacesDav():
},
{
"name": "sleep-for-revad-start",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"commands": [
"sleep 5",
],
Expand Down Expand Up @@ -779,7 +779,7 @@ def ocisIntegrationTests(parallelRuns, skipExceptParts = []):
makeStep("build-ci"),
{
"name": "revad-services",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"detach": True,
"commands": [
"cd /drone/src/tests/oc-integration-tests/drone/",
Expand Down Expand Up @@ -856,7 +856,7 @@ def s3ngIntegrationTests(parallelRuns, skipExceptParts = []):
makeStep("build-ci"),
{
"name": "revad-services",
"image": "registry.cern.ch/docker.io/library/golang:1.17",
"image": "registry.cern.ch/docker.io/library/golang:1.19",
"detach": True,
"commands": [
"cd /drone/src/tests/oc-integration-tests/drone/",
Expand Down
5 changes: 5 additions & 0 deletions changelog/unreleased/enhancement-go1.19.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Enhancement: Update go version

Update go version to 1.19 in go.mod

https://github.com/cs3org/reva/pull/3367
99 changes: 89 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ require (
bou.ke/monkey v1.0.2
contrib.go.opencensus.io/exporter/prometheus v0.4.1
github.com/BurntSushi/toml v1.1.0
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver v1.5.0 // indirect
github.com/Masterminds/sprig v2.22.0+incompatible
github.com/ReneKroon/ttlcache/v2 v2.11.0
github.com/asim/go-micro/plugins/events/nats/v4 v4.0.0-20220118152736-9e0be6c85d75
Expand All @@ -31,28 +29,23 @@ require (
github.com/gomodule/redigo v1.8.8
github.com/google/go-cmp v0.5.8
github.com/google/go-github v17.0.0+incompatible
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/uuid v1.3.0
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/hashicorp/go-hclog v1.2.1
github.com/hashicorp/go-plugin v1.4.4
github.com/huandu/xstrings v1.3.2 // indirect
github.com/jedib0t/go-pretty v4.3.0+incompatible
github.com/juliangruber/go-intersect v1.1.0
github.com/mattn/go-sqlite3 v1.14.10
github.com/maxymania/go-system v0.0.0-20170110133659-647cc364bf0b
github.com/mileusna/useragent v1.0.2
github.com/minio/minio-go/v7 v7.0.28
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/mapstructure v1.5.0
github.com/nats-io/nats-server/v2 v2.8.4
github.com/nats-io/nats-streaming-server v0.24.6
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.19.0
github.com/pkg/errors v0.9.1
github.com/pkg/xattr v0.4.5
github.com/pquerna/cachecontrol v0.1.0 // indirect
github.com/prometheus/alertmanager v0.24.0
github.com/rs/cors v1.8.2
github.com/rs/zerolog v1.27.0
Expand All @@ -61,7 +54,6 @@ require (
github.com/stretchr/testify v1.7.2
github.com/studio-b12/gowebdav v0.0.0-20210917133250-a3a86976a1df
github.com/thanhpk/randstr v1.0.4
github.com/tidwall/pretty v1.2.0 // indirect
github.com/tus/tusd v1.9.0
github.com/wk8/go-ordered-map v1.0.0
go-micro.dev/v4 v4.3.1-0.20211108085239-0c2041e43908
Expand All @@ -79,11 +71,98 @@ require (
google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb
google.golang.org/grpc v1.47.0
google.golang.org/protobuf v1.28.0
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gotest.tools v2.2.0+incompatible
)

go 1.16
require (
github.com/Azure/go-ntlmssp v0.0.0-20211209120228-48547f28849e // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver v1.5.0 // indirect
github.com/armon/go-metrics v0.0.0-20190430140413-ec5e00d3c878 // indirect
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dustin/go-humanize v1.0.0 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/go-asn1-ber/asn1-ber v1.5.4 // indirect
github.com/go-kit/log v0.2.0 // indirect
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/errors v0.20.2 // indirect
github.com/go-openapi/strfmt v0.21.2 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/go-immutable-radix v1.0.0 // indirect
github.com/hashicorp/go-msgpack v1.1.5 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/raft v1.3.9 // indirect
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect
github.com/huandu/xstrings v1.3.2 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.14.4 // indirect
github.com/klauspost/cpuid v1.3.1 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/mattn/go-tty v0.0.3 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/miekg/dns v1.1.43 // indirect
github.com/minio/highwayhash v1.0.2 // indirect
github.com/minio/md5-simd v1.1.0 // indirect
github.com/minio/sha256-simd v0.1.1 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a // indirect
github.com/nats-io/nats.go v1.15.0 // indirect
github.com/nats-io/nkeys v0.3.0 // indirect
github.com/nats-io/nuid v1.0.1 // indirect
github.com/nats-io/stan.go v0.10.2 // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/oklog/ulid v1.3.1 // indirect
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
github.com/pkg/term v1.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/pquerna/cachecontrol v0.1.0 // indirect
github.com/prometheus/client_golang v1.12.1 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.32.1 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/prometheus/statsd_exporter v0.21.0 // indirect
github.com/rs/xid v1.3.0 // indirect
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 // indirect
github.com/sirupsen/logrus v1.8.1 // indirect
github.com/stretchr/objx v0.3.0 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
go.etcd.io/bbolt v1.3.6 // indirect
go.mongodb.org/mongo-driver v1.8.3 // indirect
golang.org/x/net v0.0.0-20220325170049-de3da57026de // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
google.golang.org/appengine v1.6.7 // indirect
gopkg.in/ini.v1 v1.62.0 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.19

replace (
github.com/eventials/go-tus => github.com/andrewmostello/go-tus v0.0.0-20200314041820-904a9904af9a
Expand Down
Loading