Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update acc-tests V2 #39

Open
wants to merge 112 commits into
base: fix/update-acctests
Choose a base branch
from
Open

Conversation

vmanilo
Copy link
Owner

@vmanilo vmanilo commented Nov 27, 2023

Resolves acc-tests

Changes

  • updated tests configuration part, to make it reusable

dependabot bot and others added 4 commits November 13, 2023 11:48
…ate#423)

Bumps [github.com/hashicorp/go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) from 0.7.4 to 0.7.5.
- [Changelog](https://github.com/hashicorp/go-retryablehttp/blob/main/CHANGELOG.md)
- [Commits](hashicorp/go-retryablehttp@v0.7.4...v0.7.5)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-retryablehttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
….0 (Twingate#424)

Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.29.0 to 2.30.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-sdk@v2.29.0...v2.30.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…wingate#427)

Bumps [github.com/hashicorp/terraform-plugin-go](https://github.com/hashicorp/terraform-plugin-go) from 0.19.0 to 0.19.1.
- [Release notes](https://github.com/hashicorp/terraform-plugin-go/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-go/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-go@v0.19.0...v0.19.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@coveralls
Copy link

coveralls commented Nov 27, 2023

Pull Request Test Coverage Report for Build 7745955335

  • -446 of 1279 (65.13%) changed or added relevant lines in 8 files are covered.
  • 20 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-5.3%) to 85.465%

Changes Missing Coverage Covered Lines Changed/Added Lines %
twingate/internal/attr/helper.go 13 17 76.47%
twingate/provider.go 109 125 87.2%
twingate/internal/test/acctests/helper.go 42 74 56.76%
twingate/internal/provider/resource/resource.go 651 1045 62.3%
Files with Coverage Reduction New Missed Lines %
twingate/internal/provider/resource/user.go 1 92.9%
twingate/provider.go 1 87.86%
twingate/internal/test/acctests/helper.go 6 65.92%
twingate/internal/provider/resource/resource.go 12 64.72%
Totals Coverage Status
Change from base Build 6991433250: -5.3%
Covered Lines: 5445
Relevant Lines: 6371

💛 - Coveralls

vmanilo and others added 25 commits November 28, 2023 10:08
* added security_policy_id to resource definition

* remove feature branch from CI

* setting default policy on disabling security_policy_id

* update resource logic for security policy

* re-run acctests on feature branch

* allow tests run in parallel

* remove feature branch from ci

* updated doc

---------

Co-authored-by: Roman Kournjaev <[email protected]>
…ate#428)

Bumps [github.com/hasura/go-graphql-client](https://github.com/hasura/go-graphql-client) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/hasura/go-graphql-client/releases)
- [Commits](hasura/go-graphql-client@v0.10.0...v0.10.1)

---
updated-dependencies:
- dependency-name: github.com/hasura/go-graphql-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* added optional attribute is_active to twingate_resource

* remove feature branch

* added test to check resource plan not modifies state

* fix resource creation in disabled state
…tasource' into feature/add-filtering-for-service_accounts-datasource
…tasource' into feature/add-filtering-for-service_accounts-datasource
…tasource' into feature/add-filtering-support-for-twingate_users-datasource
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.17.0.
- [Commits](golang/crypto@v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ng-support-for-twingate_resources-datasource
…tasource' into feature/add-filtering-support-for-twingate_users-datasource
vmanilo and others added 30 commits January 27, 2024 06:50
…wingate#464)

Bumps [github.com/hashicorp/terraform-plugin-go](https://github.com/hashicorp/terraform-plugin-go) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-go/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-go/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-go@v0.20.0...v0.21.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…Twingate#460)

Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-docs@v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-docs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bertekintw <[email protected]>
* fix connector creation with disabled status

* enabled test

* revert ci.yml

* update doc with default

* fixed spacing

* change default to true

* generate docs

* Revert "generate docs"

This reverts commit c714b86.

* updated docs

---------

Co-authored-by: Bob Lee <[email protected]>
Co-authored-by: bertekintw <[email protected]>
* fix update groups and service accounts access

* enable test

* revert ci.yml

---------

Co-authored-by: bertekintw <[email protected]>
…r-twingate_resources-datasource' into fix/update-acctests-v2
…ingate_connectors-datasource' into fix/update-acctests-v2
…g-twingate_groups-datasource' into fix/update-acctests-v2
…te_remote_networks-datasource' into fix/update-acctests-v2
…g-twingate_security_policies-data-source' into fix/update-acctests-v2
…r-twingate_users-datasource' into fix/update-acctests-v2
…e_accounts-datasource' into fix/update-acctests-v2
…ate#467)

Bumps [github.com/hasura/go-graphql-client](https://github.com/hasura/go-graphql-client) from 0.10.2 to 0.11.0.
- [Release notes](https://github.com/hasura/go-graphql-client/releases)
- [Commits](hasura/go-graphql-client@v0.10.2...v0.11.0)

---
updated-dependencies:
- dependency-name: github.com/hasura/go-graphql-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump github.com/securego/gosec/v2 from 2.18.2 to 2.19.0

Bumps [github.com/securego/gosec/v2](https://github.com/securego/gosec) from 2.18.2 to 2.19.0.
- [Release notes](https://github.com/securego/gosec/releases)
- [Changelog](https://github.com/securego/gosec/blob/master/.goreleaser.yml)
- [Commits](securego/gosec@v2.18.2...v2.19.0)

---
updated-dependencies:
- dependency-name: github.com/securego/gosec/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix linter

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

3 participants