Граф коммитов

133 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] bd0417756d
Bump github.com/hashicorp/go-getter/v2 from 2.2.0 to 2.2.1 (#26)
Bumps [github.com/hashicorp/go-getter/v2](https://github.com/hashicorp/go-getter) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v2.2.0...v2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 15:58:19 +08:00
zjhe 9d6cdf0478 remove init lock since we don't use plugin cache in test container any more 2023-03-16 16:34:47 +08:00
zjhe 4af3de4917 set upgrade to false while terraform init because we're running tests in parallel, upgrade would try to remove the plugin while it's being used by other test 2023-03-16 16:11:00 +08:00
zjhe 7ea4a3f0eb add log for init lock acuired and released 2023-03-16 15:45:55 +08:00
zjhe 1803a8c40e change skip env var name because terratest would change it's behavior when a env var named SKIP_XXX has been set 2023-03-16 15:08:55 +08:00
zjhe d95b1574de add env var to skip cleanup temp test folder for debug 2023-03-16 14:55:07 +08:00
dependabot[bot] a75409ff5b
Bump github.com/gruntwork-io/terratest from 0.41.12 to 0.41.15 (#21)
Bumps [github.com/gruntwork-io/terratest](https://github.com/gruntwork-io/terratest) from 0.41.12 to 0.41.15.
- [Release notes](https://github.com/gruntwork-io/terratest/releases)
- [Commits](https://github.com/gruntwork-io/terratest/compare/v0.41.12...v0.41.15)

---
updated-dependencies:
- dependency-name: github.com/gruntwork-io/terratest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 16:10:43 +08:00
dependabot[bot] 04c3e211ce
Bump github.com/hashicorp/hcl/v2 from 2.16.1 to 2.16.2 (#23)
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.16.1 to 2.16.2.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.16.1...v2.16.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 15:56:47 +08:00
dependabot[bot] cd33ee4082
Bump github.com/hashicorp/terraform-json from 0.15.0 to 0.16.0 (#22)
Bumps [github.com/hashicorp/terraform-json](https://github.com/hashicorp/terraform-json) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/hashicorp/terraform-json/releases)
- [Commits](https://github.com/hashicorp/terraform-json/compare/v0.15.0...v0.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 15:56:33 +08:00
dependabot[bot] 16647b9587
Bump github.com/spf13/afero from 1.9.4 to 1.9.5 (#24)
Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/spf13/afero/releases)
- [Commits](https://github.com/spf13/afero/compare/v1.9.4...v1.9.5)

---
updated-dependencies:
- dependency-name: github.com/spf13/afero
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 15:56:20 +08:00
zjhe 229c0c0fd4 remove tmp folders after test 2023-03-14 15:55:08 +08:00
zjhe 4aa248ec47 add global lock in tf init to avoid potential concurrent error 2023-03-14 15:46:20 +08:00
zjhe 4f72af60b3 fallback from parallel when panic 2023-03-08 09:41:23 +08:00
dependabot[bot] f84b8ba071
Bump golang.org/x/oauth2 from 0.1.0 to 0.6.0 (#19)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.1.0 to 0.6.0.
- [Release notes](https://github.com/golang/oauth2/releases)
- [Commits](https://github.com/golang/oauth2/compare/v0.1.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 09:02:26 +08:00
dependabot[bot] 676682042d
Bump github.com/gruntwork-io/terratest from 0.41.11 to 0.41.12 (#18)
Bumps [github.com/gruntwork-io/terratest](https://github.com/gruntwork-io/terratest) from 0.41.11 to 0.41.12.
- [Release notes](https://github.com/gruntwork-io/terratest/releases)
- [Commits](https://github.com/gruntwork-io/terratest/compare/v0.41.11...v0.41.12)

---
updated-dependencies:
- dependency-name: github.com/gruntwork-io/terratest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:55:13 +08:00
dependabot[bot] 0142baffa3
Bump golang.org/x/mod from 0.8.0 to 0.9.0 (#20)
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/golang/mod/releases)
- [Commits](https://github.com/golang/mod/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:54:35 +08:00
dependabot[bot] 0e51e3a357
Bump github.com/gruntwork-io/terratest from 0.41.10 to 0.41.11 (#14)
Bumps [github.com/gruntwork-io/terratest](https://github.com/gruntwork-io/terratest) from 0.41.10 to 0.41.11.
- [Release notes](https://github.com/gruntwork-io/terratest/releases)
- [Commits](https://github.com/gruntwork-io/terratest/compare/v0.41.10...v0.41.11)

---
updated-dependencies:
- dependency-name: github.com/gruntwork-io/terratest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 16:45:01 +08:00
dependabot[bot] 54421d7750
Bump github.com/hashicorp/hcl/v2 from 2.16.0 to 2.16.1 (#13)
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.16.0 to 2.16.1.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.16.0...v2.16.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 16:44:50 +08:00
hezijie c1ac612533 add lock on CopyTerraformFolderToTemp method to avoid concurrent error (One goroutine might try to copy a temp tfvars file generated by another gorouteine, then found it as been deleted by another goroutine) 2023-03-02 16:44:06 +08:00
dependabot[bot] 15811e9ee5
Bump github.com/spf13/afero from 1.9.3 to 1.9.4 (#15)
Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/spf13/afero/releases)
- [Commits](https://github.com/spf13/afero/compare/v1.9.3...v1.9.4)

---
updated-dependencies:
- dependency-name: github.com/spf13/afero
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 13:35:55 +08:00
dependabot[bot] 2715d8fc10
Bump golang.org/x/mod (#16)
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.6.0-dev.0.20220419223038-86c51ed26bb4 to 0.8.0.
- [Release notes](https://github.com/golang/mod/releases)
- [Commits](https://github.com/golang/mod/commits/v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 13:35:46 +08:00
dependabot[bot] 89288dc9d4
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#17)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 12:42:27 +08:00
hezijie 23b757dd86 remove unused function 2023-02-21 13:54:55 +08:00
hezijie 98bfb4448c add unit test method, no synchronized logger or test snapshot in unit test 2023-02-21 13:40:38 +08:00
zjhe 57d20aff86 adjust file lock range 2023-02-17 14:33:14 +08:00
zjhe 699b11ef30 upgrade go-getter version, add lock when write to test record file, use github token if possible when try to get latest tag version to avoid rate limit 2023-02-17 10:26:04 +08:00
dependabot[bot] 2565a0fb69
Bump github.com/hashicorp/terraform-json from 0.14.0 to 0.15.0 (#12)
Bumps [github.com/hashicorp/terraform-json](https://github.com/hashicorp/terraform-json) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/hashicorp/terraform-json/releases)
- [Commits](https://github.com/hashicorp/terraform-json/compare/v0.14.0...v0.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 11:09:03 +08:00
zjhe 168522dd58 setup default retry options if we have retryable errors 2023-02-06 19:20:49 +08:00
dependabot[bot] 1ceff55967
Bump github.com/gruntwork-io/terratest from 0.41.9 to 0.41.10 (#11)
Bumps [github.com/gruntwork-io/terratest](https://github.com/gruntwork-io/terratest) from 0.41.9 to 0.41.10.
- [Release notes](https://github.com/gruntwork-io/terratest/releases)
- [Commits](https://github.com/gruntwork-io/terratest/compare/v0.41.9...v0.41.10)

---
updated-dependencies:
- dependency-name: github.com/gruntwork-io/terratest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 09:45:02 +08:00
dependabot[bot] c21adf6368
Bump github.com/hashicorp/hcl/v2 from 2.15.0 to 2.16.0 (#10)
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.15.0 to 2.16.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.15.0...v2.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 09:44:50 +08:00
zjhe 04baf2271d run version upgrade test in parallel 2023-02-06 09:43:34 +08:00
zjhe c67cf55b97 refactor code, ignore TestRecord.md.tmp 2023-02-03 07:16:57 +08:00
zjhe 7366b88d68 fix badge urls 2023-02-02 22:32:34 +08:00
zjhe d1a841bed3 fix gosec issue 2023-02-02 21:48:15 +08:00
zjhe fb03666d49 fix gosec issue 2023-02-02 21:30:33 +08:00
zjhe f17df608c3 remove redundant init 2023-02-02 14:29:01 +08:00
zjhe 437dc452ed save test provider version snapshot 2023-02-02 14:13:59 +08:00
zjhe 36c5e97148 lock only when execute init 2023-02-02 13:45:09 +08:00
zjhe f0ae9b7ffc adjust logging sample output content 2023-02-02 11:54:12 +08:00
zjhe 8226c191c8 remove logger name because the test logger output contains test name; add global lock for terraform init since we're running tests in parallel 2023-02-02 11:51:42 +08:00
zjhe 7711f1f4f9 add log buffered notice, add test progress log 2023-02-02 11:23:36 +08:00
zjhe 7729d8e897 Add test assert 2023-02-02 09:28:18 +08:00
zjhe 02b01f8778 refactor code 2023-02-01 23:41:43 +08:00
zjhe 3d3665be4a refactor code 2023-02-01 23:06:44 +08:00
zjhe 3b0ea8d60d refactor TestVersionSnapshot 2023-02-01 23:06:44 +08:00
hezijie 74e34f74a8 Copy TestRecord.md.tmp to TestRecord folder so e2e test could reuse this function 2023-02-01 23:06:44 +08:00
zjhe a343e69a87 remove redundant parameter check 2023-02-01 23:06:31 +08:00
zjhe 4f61f1b813 refactor code, add stream logger serialize output to stdout test 2023-02-01 19:35:12 +08:00
Dingjia Chen 5831ee4351
Prepare for concurrent tests (#9)
Add stream logger to support parallel tests.
2023-02-01 14:10:03 +08:00
dependabot[bot] 8ab6279575
Bump github.com/r3labs/diff/v3 from 3.0.0 to 3.0.1 (#8)
Bumps [github.com/r3labs/diff/v3](https://github.com/r3labs/diff) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/r3labs/diff/releases)
- [Commits](https://github.com/r3labs/diff/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: github.com/r3labs/diff/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 11:51:15 +08:00