-
Notifications
You must be signed in to change notification settings - Fork 332
Updating to go 1.18 #1292
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
Updating to go 1.18 #1292
Changes from all commits
8ffacf3
ce56898
36edde9
cc2cde4
870622c
b5ee0a0
3a23f3b
cb935aa
14e8253
e866baa
5e265ad
42b10fe
b0294d4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 1.17.9 | ||
| 1.18.3 |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ | |
| # a script to configure kubectl, potentially install Helm, and run the tests | ||
| # manually. This image only has the dependencies pre-installed. | ||
|
|
||
| FROM circleci/golang:1.17 | ||
| FROM circleci/golang:1.18 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to build and upload a new docker image
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are there instructions for this somewhere?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure where the instructions are, you could try asking ashwin, he did the last bump of our helm test dockerfile: https://github.com/hashicorp/consul-k8s/pull/1177/files |
||
|
|
||
| # change the user to root so we can install stuff | ||
| USER root | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| module github.com/hashicorp/consul-k8s/charts | ||
|
|
||
| go 1.17 | ||
| go 1.18 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,13 @@ | ||
| module github.com/hashicorp/consul-helm/hack/aws-acceptance-test-cleanup | ||
|
|
||
| go 1.16 | ||
| go 1.18 | ||
|
|
||
| require ( | ||
| github.com/aws/aws-sdk-go v1.38.63 | ||
| github.com/cenkalti/backoff/v4 v4.1.1 | ||
| ) | ||
|
|
||
| require ( | ||
|
Comment on lines
+8
to
+10
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do we need two require blocks?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| github.com/davecgh/go-spew v1.1.1 // indirect | ||
| github.com/jmespath/go-jmespath v0.4.0 // indirect | ||
| ) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| module github.com/hashicorp/consul-k8s/hack/copy-crds-to-chart | ||
|
|
||
| go 1.16 | ||
| go 1.18 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,13 @@ | ||
| module github.com/hashicorp/consul-k8s/hack/helm-reference-gen | ||
|
|
||
| go 1.15 | ||
| go 1.18 | ||
|
|
||
| require ( | ||
| github.com/stretchr/testify v1.6.1 | ||
| gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 | ||
| ) | ||
|
|
||
| require ( | ||
| github.com/davecgh/go-spew v1.1.0 // indirect | ||
| github.com/pmezard/go-difflib v1.0.0 // indirect | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we also need to update
.goversionfile as that's what's used by thetestGHA pipelineThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
.go-versionis updated.