Skip to content

Commit 8cf4e00

Browse files
committed
update to go 1.17
* update workflow to use the new version * update the dockerfile to use go 1.17
1 parent 1635c04 commit 8cf4e00

File tree

5 files changed

+49
-12
lines changed

5 files changed

+49
-12
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Set up Go
6868
uses: actions/setup-go@v2
6969
with:
70-
go-version: 1.14
70+
go-version: 1.17
7171
- name: docker login
7272
run: docker login -u="$DOCKERHUB_DOCKER_USER" -p="$DOCKERHUB_DOCKER_PASS"
7373
env:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.14
1+
FROM golang:1.17
22

33
ENV PROJECTPATH=/go/src/github.com/replicatedhq/replicated
44

go.mod

Lines changed: 46 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,66 @@
11
module github.com/replicatedhq/replicated
22

3-
go 1.14
3+
go 1.17
44

55
require (
6-
github.com/chzyer/logex v1.1.11-0.20160617073814-96a4d311aa9b // indirect
76
github.com/fatih/color v1.7.0
8-
github.com/frankban/quicktest v1.7.2 // indirect
97
github.com/go-git/go-git/v5 v5.1.0
108
github.com/go-kit/kit v0.10.0
119
github.com/hashicorp/go-multierror v1.1.0
12-
github.com/klauspost/compress v1.10.2 // indirect
1310
github.com/manifoldco/promptui v0.7.0
14-
github.com/mattn/go-colorable v0.1.6 // indirect
1511
github.com/mattn/go-isatty v0.0.12
1612
github.com/mholt/archiver/v3 v3.3.0
1713
github.com/onsi/ginkgo/v2 v2.1.3
1814
github.com/onsi/gomega v1.18.1
1915
github.com/pact-foundation/pact-go v1.0.4
20-
github.com/pierrec/lz4 v2.2.6+incompatible // indirect
2116
github.com/pkg/errors v0.9.1
2217
github.com/spf13/cobra v1.0.0
23-
github.com/spf13/pflag v1.0.5 // indirect
2418
github.com/stretchr/testify v1.6.1
2519
github.com/tj/go-spin v1.1.0
26-
github.com/ulikunitz/xz v0.5.8 // indirect
2720
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de
2821
)
22+
23+
require (
24+
github.com/andybalholm/brotli v0.0.0-20190621154722-5f990b63d2d6 // indirect
25+
github.com/chzyer/logex v1.1.11-0.20160617073814-96a4d311aa9b // indirect
26+
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
27+
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
28+
github.com/davecgh/go-spew v1.1.1 // indirect
29+
github.com/dsnet/compress v0.0.1 // indirect
30+
github.com/emirpasic/gods v1.12.0 // indirect
31+
github.com/frankban/quicktest v1.7.2 // indirect
32+
github.com/go-git/gcfg v1.5.0 // indirect
33+
github.com/go-git/go-billy/v5 v5.0.0 // indirect
34+
github.com/go-logfmt/logfmt v0.5.0 // indirect
35+
github.com/golang/gddo v0.0.0-20190419222130-af0f2af80721 // indirect
36+
github.com/golang/snappy v0.0.1 // indirect
37+
github.com/hashicorp/errwrap v1.0.0 // indirect
38+
github.com/hashicorp/go-version v1.2.0 // indirect
39+
github.com/hashicorp/logutils v1.0.0 // indirect
40+
github.com/imdario/mergo v0.3.9 // indirect
41+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
42+
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
43+
github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a // indirect
44+
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd // indirect
45+
github.com/klauspost/compress v1.10.2 // indirect
46+
github.com/klauspost/pgzip v1.2.1 // indirect
47+
github.com/lunixbochs/vtclean v0.0.0-20180621232353-2d01aacdc34a // indirect
48+
github.com/mattn/go-colorable v0.1.6 // indirect
49+
github.com/mitchellh/go-homedir v1.1.0 // indirect
50+
github.com/nwaples/rardecode v1.0.0 // indirect
51+
github.com/pierrec/lz4 v2.2.6+incompatible // indirect
52+
github.com/pmezard/go-difflib v1.0.0 // indirect
53+
github.com/russross/blackfriday/v2 v2.0.1 // indirect
54+
github.com/sergi/go-diff v1.1.0 // indirect
55+
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
56+
github.com/spf13/pflag v1.0.5 // indirect
57+
github.com/ulikunitz/xz v0.5.8 // indirect
58+
github.com/xanzy/ssh-agent v0.2.1 // indirect
59+
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
60+
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781 // indirect
61+
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
62+
golang.org/x/text v0.3.6 // indirect
63+
gopkg.in/warnings.v0 v0.1.2 // indirect
64+
gopkg.in/yaml.v2 v2.4.0 // indirect
65+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
66+
)

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m
8181
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
8282
github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys=
8383
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
84-
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ=
8584
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
8685
github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4=
8786
github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20=

hack/Dockerfile.testing

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.14
1+
FROM golang:1.17
22

33
RUN cd /opt && curl -LO https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.81.0/pact-1.81.0-linux-x86_64.tar.gz && tar xzf pact-1.81.0-linux-x86_64.tar.gz
44
ENV PATH="/opt/pact/bin:${PATH}"

0 commit comments

Comments
 (0)