Skip to content

Commit

Permalink
upgrade golang to 1.17 (prometheus#13)
Browse files Browse the repository at this point in the history
* upgrade golang to 1.17

Signed-off-by: Song Song Li <[email protected]>

* run go mod vendor to sync

Signed-off-by: Song Song Li <[email protected]>
  • Loading branch information
songleo authored Sep 9, 2021
1 parent 298f067 commit 06bd1f6
Show file tree
Hide file tree
Showing 59 changed files with 108 additions and 2,023 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.prow
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright Contributors to the Open Cluster Management project

FROM registry.ci.openshift.org/open-cluster-management/builder:go1.16-linux AS builder
FROM registry.ci.openshift.org/open-cluster-management/builder:go1.17-linux AS builder

WORKDIR /workspace
COPY . .
Expand Down
46 changes: 45 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,48 @@ require (
gopkg.in/yaml.v2 v2.4.0
)

go 1.16
require (
github.com/PuerkitoBio/purell v1.1.1 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da // indirect
github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docker/go-units v0.4.0 // indirect
github.com/go-logfmt/logfmt v0.5.0 // indirect
github.com/go-openapi/analysis v0.20.0 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.19.5 // indirect
github.com/go-stack/stack v1.8.0 // indirect
github.com/golang/protobuf v1.4.3 // indirect
github.com/google/btree v1.0.0 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-immutable-radix v1.0.0 // indirect
github.com/hashicorp/go-msgpack v0.5.3 // indirect
github.com/hashicorp/go-multierror v1.0.0 // indirect
github.com/hashicorp/golang-lru v0.5.1 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/jpillora/backoff v1.0.0 // indirect
github.com/julienschmidt/httprouter v1.3.0 // indirect
github.com/mailru/easyjson v0.7.6 // indirect
github.com/miekg/dns v1.1.26 // indirect
github.com/mitchellh/mapstructure v1.4.1 // indirect
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/procfs v0.2.0 // indirect
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect
go.mongodb.org/mongo-driver v1.4.6 // indirect
golang.org/x/crypto v0.0.0-20201208171446-5f87f3452ae9 // indirect
golang.org/x/mod v0.3.0 // indirect
golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e // indirect
golang.org/x/text v0.3.5 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/protobuf v1.23.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)

go 1.17
1 change: 0 additions & 1 deletion vendor/github.com/alecthomas/template/go.mod

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/alecthomas/units/go.mod

This file was deleted.

11 changes: 0 additions & 11 deletions vendor/github.com/alecthomas/units/go.sum

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/asaskevich/govalidator/go.mod

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/cenkalti/backoff/v4/go.mod

This file was deleted.

6 changes: 0 additions & 6 deletions vendor/github.com/cespare/xxhash/go.mod

This file was deleted.

4 changes: 0 additions & 4 deletions vendor/github.com/cespare/xxhash/go.sum

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/cespare/xxhash/v2/go.mod

This file was deleted.

Empty file.
3 changes: 0 additions & 3 deletions vendor/github.com/go-logfmt/logfmt/go.mod

This file was deleted.

12 changes: 0 additions & 12 deletions vendor/github.com/go-openapi/analysis/go.mod

This file was deleted.

Loading

0 comments on commit 06bd1f6

Please sign in to comment.