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 |
hezijie
|
34761511e1
|
ignore .idea folder, resort imports
|
2023-01-19 15:22:18 +08:00 |
zjhe
|
81e253ea1c
|
skip version upgrade test on v0.x.x, there might be no tag on github repo
|
2023-01-19 13:38:23 +08:00 |
dependabot[bot]
|
8c88c238b3
|
Bump github.com/gruntwork-io/terratest from 0.41.7 to 0.41.9 (#7)
Bumps [github.com/gruntwork-io/terratest](https://github.com/gruntwork-io/terratest) from 0.41.7 to 0.41.9.
- [Release notes](https://github.com/gruntwork-io/terratest/releases)
- [Commits](https://github.com/gruntwork-io/terratest/compare/v0.41.7...v0.41.9)
---
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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2023-01-17 09:26:14 +08:00 |
zjhe
|
6d506d80d8
|
skip destroy if there is no tfstate file
|
2023-01-13 23:46:53 +08:00 |
zjhe
|
20e82e21ef
|
try destroy without refresh first to avoid invalid tf code blocking destroy
|
2023-01-13 19:45:47 +08:00 |
zjhe
|
904a2b967c
|
do not retry on apply
|
2023-01-13 19:30:20 +08:00 |
zjhe
|
2db9ef1446
|
try to avoid unnecessary retry
|
2023-01-13 19:22:06 +08:00 |
zjhe
|
1d2f138a65
|
adjust test version snapshot tostring format
|
2023-01-13 18:46:32 +08:00 |
zjhe
|
85fb2fe72e
|
when execute destroy, try 5 times destroy with refresh, then 5 times without refresh
|
2023-01-13 10:24:25 +08:00 |
zjhe
|
98552d8591
|
fix lint issue
|
2023-01-12 15:12:15 +08:00 |
zjhe
|
6c23db2836
|
discard get version's stdout, do not use json
|
2023-01-12 14:54:43 +08:00 |
zjhe
|
e35b23f981
|
fix lint issue
|
2023-01-12 14:47:02 +08:00 |
zjhe
|
0ba2336f3d
|
fix lint issue
|
2023-01-12 14:38:17 +08:00 |
zjhe
|
7889cda10d
|
combine GetVersion into RecordVersionSnapshot
|
2023-01-12 14:30:05 +08:00 |
zjhe
|
23b3d1f054
|
new version info should be generated in a temp file
|
2023-01-12 14:08:56 +08:00 |
zjhe
|
9fc01a4748
|
add test version record helper
|
2023-01-12 12:21:53 +08:00 |
zjhe
|
95c1e9f2c5
|
add error check for destroy
|
2022-12-30 14:13:30 +08:00 |
zjhe
|
e9562dd94a
|
update badge url
|
2022-12-30 14:01:43 +08:00 |
zjhe
|
bb388e19fb
|
update badge url
|
2022-12-30 13:59:32 +08:00 |
zjhe
|
100c98b89e
|
disable refresh when execute destroy so config validation error won't block destroy
|
2022-12-30 13:47:57 +08:00 |
dependabot[bot]
|
3ed5b0856b
|
Bump github.com/hashicorp/hcl/v2 from 2.12.0 to 2.15.0 (#6)
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.12.0 to 2.15.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.12.0...v2.15.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-12-28 10:42:52 +08:00 |
zjhe
|
0a5e8ac429
|
add devcontainer config
|
2022-12-28 10:34:43 +08:00 |
dependabot[bot]
|
a91ce955e8
|
Bump github.com/hashicorp/terraform-json from 0.13.0 to 0.14.0 (#5)
Bumps [github.com/hashicorp/terraform-json](https://github.com/hashicorp/terraform-json) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/hashicorp/terraform-json/releases)
- [Commits](https://github.com/hashicorp/terraform-json/compare/v0.13.0...v0.14.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-12-28 10:29:53 +08:00 |
dependabot[bot]
|
97f504c876
|
Bump github.com/hashicorp/go-getter/v2 from 2.1.0 to 2.1.1 (#4)
Bumps [github.com/hashicorp/go-getter/v2](https://github.com/hashicorp/go-getter) from 2.1.0 to 2.1.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.1.0...v2.1.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lonegunmanb <lonegunmanb@hotmail.com>
|
2022-12-28 10:29:10 +08:00 |
dependabot[bot]
|
4d6d043bb5
|
Bump github.com/gruntwork-io/terratest from 0.41.6 to 0.41.7 (#3)
Bumps [github.com/gruntwork-io/terratest](https://github.com/gruntwork-io/terratest) from 0.41.6 to 0.41.7.
- [Release notes](https://github.com/gruntwork-io/terratest/releases)
- [Commits](https://github.com/gruntwork-io/terratest/compare/v0.41.6...v0.41.7)
---
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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-12-28 09:13:29 +08:00 |
dependabot[bot]
|
24e73fbfc8
|
Bump github.com/spf13/afero from 1.2.2 to 1.9.3 (#2)
Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.2.2 to 1.9.3.
- [Release notes](https://github.com/spf13/afero/releases)
- [Commits](https://github.com/spf13/afero/compare/v1.2.2...v1.9.3)
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-12-28 09:13:14 +08:00 |
zjhe
|
38668df4b7
|
add dependabot config
|
2022-12-27 13:15:35 +08:00 |
zjhe
|
7f2a4b0928
|
bump terratest version
|
2022-12-13 17:28:18 +08:00 |
zjhe
|
c05aad6318
|
remove deprecated annotation.
|
2022-12-12 19:44:30 +08:00 |
zjhe
|
c6db2c7103
|
remove unused functions
|
2022-12-02 09:34:08 +08:00 |
zjhe
|
c250b10d76
|
fix gosec issue
|
2022-12-02 09:20:50 +08:00 |
zjhe
|
6738c52682
|
use tfmodredirector to modify hcl file directly so we don't need override file anymore
|
2022-12-01 19:14:31 +08:00 |
zjhe
|
5b19ace811
|
change ReadRetryableErrors argument's type from File to []byte
|
2022-11-22 18:46:00 +08:00 |
hezijie
|
f6f7738754
|
fix gosec issue
|
2022-11-16 17:49:41 +08:00 |
hezijie
|
46132143b6
|
add ReadRetryableErros method so acceptance tests can assign some errors to retry
|
2022-11-16 14:55:36 +08:00 |
zjhe
|
3c0a9809e6
|
retry 10 times on any error to destroy test infra
|
2022-11-01 16:00:27 +08:00 |
zjhe
|
60f9ae5b27
|
add timeout to golangci-lint step
|
2022-11-01 10:38:34 +08:00 |
zjhe
|
f8398733fb
|
Correct job name
|
2022-10-31 17:02:01 +08:00 |
zjhe
|
6c2ecb5f4d
|
remove unused field
|
2022-10-31 16:53:35 +08:00 |
zjhe
|
e84d0c7f33
|
put lint steps to a new workflow. add badges to readme.
|
2022-10-31 16:46:37 +08:00 |
zjhe
|
6c059a75f3
|
add tests and codeql analysis in CI pipeline
|
2022-10-31 16:28:57 +08:00 |
zjhe
|
723ad7e6c2
|
change main arg, add targetRef arg so we can use ref other than latest default branch in case the pr's target is not default branch.
|
2022-10-16 16:16:20 +08:00 |
zjhe
|
8a1928cfa7
|
Add e2e test.
Compare current module with latest default branch, not tag version.
|
2022-10-16 09:29:35 +08:00 |
zjhe
|
ec88aeb958
|
Support Json
|
2022-10-16 08:47:25 +08:00 |
zjhe
|
897ff76b84
|
Refactor code, ignore json file for now.
|
2022-10-15 19:08:04 +08:00 |
zjhe
|
ae61811dd6
|
get rid of home-made mock file parser, use afero as mock file system.
|
2022-10-15 15:29:52 +08:00 |
zjhe
|
67c14b896e
|
add main entrypoint. fix bugs. need further polish.
|
2022-10-15 15:00:48 +08:00 |