diff --git a/.circleci/config.yml b/.circleci/config.yml index 51a73881a..e15b6a239 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ env: &env PACKER_VERSION: 1.7.4 TERRAGRUNT_VERSION: v0.36.0 OPA_VERSION: v0.33.1 - GO_VERSION: 1.17 + GO_VERSION: 1.18 GO111MODULE: auto K8S_VERSION: v1.18.20 # Same as EKS MINIKUBE_VERSION: v1.22.0 diff --git a/docs/_docs/01_getting-started/quick-start.md b/docs/_docs/01_getting-started/quick-start.md index a641a9518..2aaaadefa 100644 --- a/docs/_docs/01_getting-started/quick-start.md +++ b/docs/_docs/01_getting-started/quick-start.md @@ -16,7 +16,7 @@ custom_js: Terratest uses the Go testing framework. To use Terratest, you need to install: -- [Go](https://golang.org/) (requires version >=1.17) +- [Go](https://golang.org/) (requires version >=1.18) ## Setting up your project diff --git a/go.mod b/go.mod index 69c357018..8e65c7da4 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/gruntwork-io/terratest -go 1.17 +go 1.18 require ( cloud.google.com/go v0.83.0 diff --git a/go.sum b/go.sum index 87098efd9..6015a9acd 100644 --- a/go.sum +++ b/go.sum @@ -110,7 +110,6 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= -github.com/apparentlymart/go-textseg v1.0.0 h1:rRmlIsPEEhUTIKQb7T++Nz/A5Q6C9IuX2wFoYVvnCs0= github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= @@ -503,7 +502,6 @@ github.com/hashicorp/go-version v1.3.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09 github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.9.1 h1:eOy4gREY0/ZQHNItlfuEZqtcQbXIxzojlP301hDpnac= github.com/hashicorp/hcl/v2 v2.9.1/go.mod h1:FwWsfWEjyV/CMj8s/gqAuiviY72rJ1/oayI9WftqcKg= @@ -1308,7 +1306,6 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0= diff --git a/modules/k8s/config_test.go b/modules/k8s/config_test.go index 37b06706d..be0246fcf 100644 --- a/modules/k8s/config_test.go +++ b/modules/k8s/config_test.go @@ -114,6 +114,7 @@ preferences: {} users: - name: minikube user: + as-user-extra: null client-certificate: /home/terratest/.minikube/client.crt client-key: /home/terratest/.minikube/client.key ` @@ -264,6 +265,7 @@ preferences: {} users: - name: minikube user: + as-user-extra: null client-certificate: /home/terratest/.minikube/client.crt client-key: /home/terratest/.minikube/client.key ` diff --git a/modules/logger/parser/fixtures/basic_example_expected/report.xml b/modules/logger/parser/fixtures/basic_example_expected/report.xml index e652dfde2..774275eea 100644 --- a/modules/logger/parser/fixtures/basic_example_expected/report.xml +++ b/modules/logger/parser/fixtures/basic_example_expected/report.xml @@ -2,7 +2,7 @@ - + diff --git a/modules/logger/parser/fixtures/failing_example_expected/report.xml b/modules/logger/parser/fixtures/failing_example_expected/report.xml index 1d2fcb316..9f5b19015 100644 --- a/modules/logger/parser/fixtures/failing_example_expected/report.xml +++ b/modules/logger/parser/fixtures/failing_example_expected/report.xml @@ -2,7 +2,7 @@ - + diff --git a/modules/logger/parser/fixtures/new_go_failing_example_expected/report.xml b/modules/logger/parser/fixtures/new_go_failing_example_expected/report.xml index d3338191d..203ffeb72 100644 --- a/modules/logger/parser/fixtures/new_go_failing_example_expected/report.xml +++ b/modules/logger/parser/fixtures/new_go_failing_example_expected/report.xml @@ -2,7 +2,7 @@ - + integration_test.go:57: diff --git a/modules/logger/parser/fixtures/panic_example_expected/report.xml b/modules/logger/parser/fixtures/panic_example_expected/report.xml index 776f2ed55..3daaec76b 100644 --- a/modules/logger/parser/fixtures/panic_example_expected/report.xml +++ b/modules/logger/parser/fixtures/panic_example_expected/report.xml @@ -2,7 +2,7 @@ - +