This is an automated email from the ASF dual-hosted git repository.
zky pushed a change to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-devlake-terraform.git
from d99bd38 Merge pull request #17 from tim-goto/main
add fb29d4a feat: bitbucket connection, scopeconfig and scope
add 2909b84 Update dependabot.yml
add 597b383 ci: group prs, use golangciv2
add a9c53aa build(deps): bump the all group with 4 updates
add cda87ef Merge pull request #6 from
tim-goto/dependabot/github_actions/all-a568b9c4a4
add 7e1cfcc build(deps): bump
github.com/hashicorp/terraform-plugin-testing
add 68fd89b Merge pull request #5 from
tim-goto/dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.12.0
add c834919 ci: need to update action
add 9ab34c2 ci: better group names
add bf28b23 Merge branch 'feature/tharing/upstream-main'
add 4dc4d61 ci: fix build failures
add 2978c21 feat: use generics in client
add 9fe80f8 feat: github connection
add 39c45d8 feat: github scopeconfig
add 68d16e9 docs: add examples
add dcad204 feat: github connection scope
add 408b227 fix: address linter issues
add 2e1e140 build(deps): bump the actions group across 1 directory with 2
updates
add a4db7a8 Merge pull request #8 from
tim-goto/dependabot/github_actions/actions-ad97c67762
add 2dbccd7 build(deps): bump the deps group with 3 updates
add 8f4a143 Merge pull request #9 from
tim-goto/dependabot/go_modules/deps-2f8091a2fe
new 1b0ceea Merge pull request #21 from tim-goto/main
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/release.yml | 2 +-
.github/workflows/test.yml | 8 +-
docker_compose/docker-compose.yml | 18 +-
...etserver_connection.md => github_connection.md} | 16 +-
...nection_scope.md => github_connection_scope.md} | 15 +-
docs/resources/github_connection_scopeconfig.md | 53 ++
examples/resources/github_connection/import.sh | 6 +
examples/resources/github_connection/resource.tf | 21 +
.../resources/github_connection_scope/import.sh | 6 +
.../resources/github_connection_scope/resource.tf | 34 ++
.../github_connection_scopeconfig/import.sh | 6 +
.../github_connection_scopeconfig/resource.tf | 26 +
go.mod | 30 +-
go.sum | 88 ++--
internal/client/bitbucketserver.go | 205 +-------
internal/client/generic.go | 99 ++++
internal/client/github.go | 142 ++++++
internal/client/models.go | 57 +++
.../bitbucketserver_connection_scope_resource.go | 2 +-
...bucketserver_connection_scopeconfig_resource.go | 3 +-
internal/provider/github_connection_resource.go | 378 ++++++++++++++
.../provider/github_connection_resource_test.go | 96 ++++
.../provider/github_connection_scope_resource.go | 346 +++++++++++++
.../github_connection_scope_resource_test.go | 91 ++++
.../github_connection_scopeconfig_resource.go | 542 +++++++++++++++++++++
.../github_connection_scopeconfig_resource_test.go | 121 +++++
internal/provider/provider.go | 3 +
27 files changed, 2144 insertions(+), 270 deletions(-)
copy docs/resources/{bitbucketserver_connection.md => github_connection.md}
(52%)
copy docs/resources/{bitbucketserver_connection_scope.md =>
github_connection_scope.md} (59%)
create mode 100644 docs/resources/github_connection_scopeconfig.md
create mode 100644 examples/resources/github_connection/import.sh
create mode 100644 examples/resources/github_connection/resource.tf
create mode 100644 examples/resources/github_connection_scope/import.sh
create mode 100644 examples/resources/github_connection_scope/resource.tf
create mode 100644 examples/resources/github_connection_scopeconfig/import.sh
create mode 100644 examples/resources/github_connection_scopeconfig/resource.tf
create mode 100644 internal/client/generic.go
create mode 100644 internal/client/github.go
create mode 100644 internal/provider/github_connection_resource.go
create mode 100644 internal/provider/github_connection_resource_test.go
create mode 100644 internal/provider/github_connection_scope_resource.go
create mode 100644 internal/provider/github_connection_scope_resource_test.go
create mode 100644 internal/provider/github_connection_scopeconfig_resource.go
create mode 100644
internal/provider/github_connection_scopeconfig_resource_test.go