Skip to content

Conversation

ChuGuai
Copy link

@ChuGuai ChuGuai commented Oct 14, 2020

terraform-provider-tencentcloud guojunchu$ make testacc TESTARGS="-run TestAccTencentCloudTkeAsResource"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -run TestAccTencentCloudTkeAsResource -timeout 120m
? github.com/tencentcloudstack/terraform-provider-tencentcloud [no test files]
testing: warning: no tests to run
PASS
ok github.com/tencentcloudstack/terraform-provider-tencentcloud/gendoc (cached) [no tests to run]
=== RUN TestAccTencentCloudTkeAsResource
--- PASS: TestAccTencentCloudTkeAsResource (220.59s)
PASS
ok github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud 225.508s
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/connectivity [no test files]
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper [no test files]
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/ratelimit [no test files]

terraform-provider-tencentcloud guojunchu$ make testacc TESTARGS="-run TestAccTencentCloudTkeScaleWorkerResource"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -run TestAccTencentCloudTkeScaleWorkerResource -timeout 120m
? github.com/tencentcloudstack/terraform-provider-tencentcloud [no test files]
testing: warning: no tests to run
PASS
ok github.com/tencentcloudstack/terraform-provider-tencentcloud/gendoc (cached) [no tests to run]
=== RUN TestAccTencentCloudTkeScaleWorkerResource
--- PASS: TestAccTencentCloudTkeScaleWorkerResource (330.17s)
PASS
ok github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud 334.818s
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/connectivity [no test files]
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper [no test files]
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/ratelimit [no test files]

terraform-provider-tencentcloud guojunchu$ make testacc TESTARGS="-run TestAccTencentCloudTkeResource"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -run TestAccTencentCloudTkeResource -timeout 120m
? github.com/tencentcloudstack/terraform-provider-tencentcloud [no test files]
testing: warning: no tests to run
PASS
ok github.com/tencentcloudstack/terraform-provider-tencentcloud/gendoc (cached) [no tests to run]
=== RUN TestAccTencentCloudTkeResource
--- PASS: TestAccTencentCloudTkeResource (239.11s)
PASS
ok github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud 242.203s
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/connectivity [no test files]
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper [no test files]
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/ratelimit [no test files]

@@ -128,6 +128,7 @@ resource "tencentcloud_kubernetes_cluster" "managed_cluster" {
cluster_name = "tf-tke-unit-test"
cluster_desc = "test cluster desc"
cluster_max_service_num = 32
cluster_version = "1.18.4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

格式化

@@ -160,6 +160,7 @@ resource "tencentcloud_kubernetes_cluster" "managed_cluster" {
cluster_desc = "test cluster desc"
cluster_max_service_num = 32
cluster_internet = true
cluster_version = "1.18.4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

格式化

@@ -153,6 +153,7 @@ resource "tencentcloud_kubernetes_cluster" "managed_cluster" {
cluster_cidr = "192.168.0.0/16"
cluster_max_pod_num = 32
cluster_name = "test"
cluster_version = "1.18.4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

格式化

@@ -1,6 +1,8 @@
/*
Provide a resource to create a kubernetes cluster.

~> **NOTE:** To use the custom Kubernetes component startup parameter function, you need to submit a ticket for application.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: To use the custom Kubernetes component startup parameter function(parameter extra_args), you need to submit a ticket for application.

@gailwang gailwang merged commit eb1c968 into tencentcloudstack:master Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants