Skip to content

Commit 8a9b44d

Browse files
Merge pull request #1927 from lgarber-akamai/ref/bump-go-mod-v3
Bump go.mod to v3
2 parents 2afc8d1 + fbb9caa commit 8a9b44d

File tree

485 files changed

+833
-834
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

485 files changed

+833
-834
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ builds:
99
flags:
1010
- -trimpath
1111
ldflags:
12-
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X github.com/linode/terraform-provider-linode/v2/version.ProviderVersion={{.Version}}'
12+
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X github.com/linode/terraform-provider-linode/v3/version.ProviderVersion={{.Version}}'
1313
goos:
1414
- freebsd
1515
- windows

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ test-int: fmt-check generate-ip-env
8282
LINODE_API_VERSION="v4beta" \
8383
RUN_LONG_TESTS=$(if $(RUN_LONG_TESTS),$(RUN_LONG_TESTS),false) \
8484
bash -c 'set -o pipefail && go test --tags=$(if $(TEST_SUITE),$(TEST_SUITE),"integration") -v ./$(if $(PKG_NAME),linode/$(PKG_NAME),linode/...) \
85-
-count $(if $(COUNT),$(COUNT),1) -timeout $(if $(TIMEOUT),$(TIMEOUT),240m) -ldflags="-X=github.com/linode/terraform-provider-linode/v2/version.ProviderVersion=acc" -parallel $(if $(PARALLEL),$(PARALLEL),10) $(if $(TEST_CASE),-run $(TEST_CASE)) $(if $(TEST_ARGS),$(TEST_ARGS)) | sed -e "/testing: warning: no tests to run/,+1d" -e "/\[no test files\]/d" -e "/\[no tests to run\]/d"'
85+
-count $(if $(COUNT),$(COUNT),1) -timeout $(if $(TIMEOUT),$(TIMEOUT),240m) -ldflags="-X=github.com/linode/terraform-provider-linode/v3/version.ProviderVersion=acc" -parallel $(if $(PARALLEL),$(PARALLEL),10) $(if $(TEST_CASE),-run $(TEST_CASE)) $(if $(TEST_ARGS),$(TEST_ARGS)) | sed -e "/testing: warning: no tests to run/,+1d" -e "/\[no test files\]/d" -e "/\[no tests to run\]/d"'
8686

8787
.PHONY: test-smoke
8888
test-smoke: fmt-check generate-ip-env
@@ -93,7 +93,7 @@ test-smoke: fmt-check generate-ip-env
9393
TF_VAR_ipv4_addr=$(shell grep PUBLIC_IPV4 $(IP_ENV_FILE) | cut -d '=' -f2 | tr -d '[:space:]') \
9494
TF_VAR_ipv6_addr=$(shell grep PUBLIC_IPV6 $(IP_ENV_FILE) | cut -d '=' -f2 | tr -d '[:space:]') \
9595
bash -c 'set -o pipefail && go test -v ./linode/... -run TestSmokeTests -tags=integration \
96-
-count $(if $(COUNT),$(COUNT),1) -timeout $(if $(TIMEOUT),$(TIMEOUT),240m) -ldflags="-X=github.com/linode/terraform-provider-linode/v2/version.ProviderVersion=acc" -parallel $(if $(PARALLEL),$(PARALLEL),10) $(if $(TEST_ARGS),$(TEST_ARGS)) | sed -e "/testing: warning: no tests to run/,+1d" -e "/\[no test files\]/d" -e "/\[no tests to run\]/d"'
96+
-count $(if $(COUNT),$(COUNT),1) -timeout $(if $(TIMEOUT),$(TIMEOUT),240m) -ldflags="-X=github.com/linode/terraform-provider-linode/v3/version.ProviderVersion=acc" -parallel $(if $(PARALLEL),$(PARALLEL),10) $(if $(TEST_ARGS),$(TEST_ARGS)) | sed -e "/testing: warning: no tests to run/,+1d" -e "/\[no test files\]/d" -e "/\[no tests to run\]/d"'
9797

9898
MARKDOWNLINT_IMG := 06kellyjac/markdownlint-cli
9999
MARKDOWNLINT_TAG := 0.28.1

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/linode/terraform-provider-linode/v2
1+
module github.com/linode/terraform-provider-linode/v3
22

33
go 1.23.0
44

linode/acceptance/database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
99
"github.com/hashicorp/terraform-plugin-testing/terraform"
1010
"github.com/linode/linodego"
11-
"github.com/linode/terraform-provider-linode/v2/linode/helper"
11+
"github.com/linode/terraform-provider-linode/v3/linode/helper"
1212
)
1313

1414
func CheckMySQLDatabaseExists(name string, db *linodego.MySQLDatabase) resource.TestCheckFunc {

linode/acceptance/instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
1010
"github.com/hashicorp/terraform-plugin-testing/terraform"
1111
"github.com/linode/linodego"
12-
"github.com/linode/terraform-provider-linode/v2/linode/helper"
12+
"github.com/linode/terraform-provider-linode/v3/linode/helper"
1313
)
1414

1515
func CheckInstanceExists(name string, instance *linodego.Instance) resource.TestCheckFunc {

linode/acceptance/tmpl/template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package tmpl
33
import (
44
"testing"
55

6-
"github.com/linode/terraform-provider-linode/v2/linode/acceptance"
6+
"github.com/linode/terraform-provider-linode/v3/linode/acceptance"
77
)
88

99
// ProviderNoPoll is used to configure the provider to disable instance

linode/acceptance/util.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ import (
2323
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
2424
"github.com/hashicorp/terraform-plugin-testing/terraform"
2525
"github.com/linode/linodego"
26-
"github.com/linode/terraform-provider-linode/v2/linode"
27-
"github.com/linode/terraform-provider-linode/v2/linode/helper"
28-
"github.com/linode/terraform-provider-linode/v2/version"
26+
"github.com/linode/terraform-provider-linode/v3/linode"
27+
"github.com/linode/terraform-provider-linode/v3/linode/helper"
28+
"github.com/linode/terraform-provider-linode/v3/version"
2929
"golang.org/x/crypto/ssh"
3030
)
3131

linode/account/datasource_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"testing"
77

88
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
9-
"github.com/linode/terraform-provider-linode/v2/linode/acceptance"
10-
"github.com/linode/terraform-provider-linode/v2/linode/account/tmpl"
9+
"github.com/linode/terraform-provider-linode/v3/linode/acceptance"
10+
"github.com/linode/terraform-provider-linode/v3/linode/account/tmpl"
1111
)
1212

1313
func TestAccDataSourceAccount_basic_smoke(t *testing.T) {

linode/account/framework_datasource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/hashicorp/terraform-plugin-framework/types"
1010
"github.com/hashicorp/terraform-plugin-log/tflog"
1111
"github.com/linode/linodego"
12-
"github.com/linode/terraform-provider-linode/v2/linode/helper"
12+
"github.com/linode/terraform-provider-linode/v3/linode/helper"
1313
)
1414

1515
func NewDataSource() datasource.DataSource {

linode/account/tmpl/template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package tmpl
33
import (
44
"testing"
55

6-
"github.com/linode/terraform-provider-linode/v2/linode/acceptance"
6+
"github.com/linode/terraform-provider-linode/v3/linode/acceptance"
77
)
88

99
type TemplateData struct{}

0 commit comments

Comments
 (0)