PagerDuty / terraform-provider-pagerduty

Terraform PagerDuty provider
https://www.terraform.io/docs/providers/pagerduty/
Mozilla Public License 2.0
206 stars 210 forks source link

Migrate pack of datasources and resources to terraform plugin framework #816

Closed cjgajard closed 5 months ago

cjgajard commented 8 months ago

Acceptance tests results after migration...

Running acceptance tests for...
  - TestAccDataSourcePagerDutyExtensionSchema
  - TestAccPagerDutyExtensionServiceNow
  - TestAccPagerDutyExtension
  - TestAccPagerDutyTagAssignment
  - TestAccDataSourcePagerDutyTag
  - TestAccPagerDutyTag
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -count=1 -run TestAccDataSourcePagerDutyExtensionSchema -timeout 120m
?       github.com/PagerDuty/terraform-provider-pagerduty       [no test files]
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerduty     0.370s [no tests to run]
=== RUN   TestAccDataSourcePagerDutyExtensionSchema_Basic
--- PASS: TestAccDataSourcePagerDutyExtensionSchema_Basic (8.10s)
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerdutyplugin       9.067s
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/util  0.659s [no tests to run]
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -count=1 -run TestAccPagerDutyExtensionServiceNow -timeout 120m
?       github.com/PagerDuty/terraform-provider-pagerduty       [no test files]
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerduty     0.367s [no tests to run]
=== RUN   TestAccPagerDutyExtensionServiceNow_import
--- PASS: TestAccPagerDutyExtensionServiceNow_import (23.13s)
=== RUN   TestAccPagerDutyExtensionServiceNow_Basic
--- PASS: TestAccPagerDutyExtensionServiceNow_Basic (29.69s)
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerdutyplugin       53.497s
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/util  0.787s [no tests to run]
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -count=1 -run TestAccPagerDutyExtension -timeout 120m
?       github.com/PagerDuty/terraform-provider-pagerduty       [no test files]
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerduty     1.544s [no tests to run]
=== RUN   TestAccPagerDutyExtensionServiceNow_import
--- PASS: TestAccPagerDutyExtensionServiceNow_import (23.19s)
=== RUN   TestAccPagerDutyExtension_import
--- PASS: TestAccPagerDutyExtension_import (58.47s)
=== RUN   TestAccPagerDutyExtensionServiceNow_Basic
--- PASS: TestAccPagerDutyExtensionServiceNow_Basic (39.04s)
=== RUN   TestAccPagerDutyExtension_Basic
--- PASS: TestAccPagerDutyExtension_Basic (31.93s)
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerdutyplugin       154.435s
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/util  1.906s [no tests to run]
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -count=1 -run TestAccPagerDutyTagAssignment -timeout 120m
?       github.com/PagerDuty/terraform-provider-pagerduty       [no test files]
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerduty     0.670s [no tests to run]
=== RUN   TestAccPagerDutyTagAssignment_import
--- PASS: TestAccPagerDutyTagAssignment_import (13.90s)
=== RUN   TestAccPagerDutyTagAssignment_User
--- PASS: TestAccPagerDutyTagAssignment_User (34.09s)
=== RUN   TestAccPagerDutyTagAssignment_Team
--- PASS: TestAccPagerDutyTagAssignment_Team (29.29s)
=== RUN   TestAccPagerDutyTagAssignment_EP
--- PASS: TestAccPagerDutyTagAssignment_EP (47.72s)
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerdutyplugin       125.929s
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/util  1.145s [no tests to run]
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -count=1 -run TestAccDataSourcePagerDutyTag -timeout 120m
?       github.com/PagerDuty/terraform-provider-pagerduty       [no test files]
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerduty     1.209s [no tests to run]
=== RUN   TestAccDataSourcePagerDutyTag_Basic
--- PASS: TestAccDataSourcePagerDutyTag_Basic (6.78s)
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerdutyplugin       8.230s
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/util  1.827s [no tests to run]
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -count=1 -run TestAccPagerDutyTag -timeout 120m
?       github.com/PagerDuty/terraform-provider-pagerduty       [no test files]
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerduty     0.367s [no tests to run]
=== RUN   TestAccPagerDutyTagAssignment_import
--- PASS: TestAccPagerDutyTagAssignment_import (13.06s)
=== RUN   TestAccPagerDutyTag_import
--- PASS: TestAccPagerDutyTag_import (8.20s)
=== RUN   TestAccPagerDutyTagAssignment_User
--- PASS: TestAccPagerDutyTagAssignment_User (33.55s)
=== RUN   TestAccPagerDutyTagAssignment_Team
--- PASS: TestAccPagerDutyTagAssignment_Team (27.08s)
=== RUN   TestAccPagerDutyTagAssignment_EP
--- PASS: TestAccPagerDutyTagAssignment_EP (39.22s)
=== RUN   TestAccPagerDutyTag_Basic
--- PASS: TestAccPagerDutyTag_Basic (10.97s)
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerdutyplugin       132.653s
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/util  0.671s [no tests to run]