Ken Kaizu
b78c4e8ef9
refactor: e2e test use conftest command instead command$version ( #2851 )
2022-12-22 07:56:26 -06:00
Rui Chen
f680e4b4a4
chore(deps): update conftest to 0.37.0 ( #2841 )
...
* chore(deps): update conftest to 0.37.0
Signed-off-by: Rui Chen <rui@chenrui.dev >
* e2e: revert conftest update
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-12-20 22:20:26 -06:00
renovate[bot]
b45a88d790
chore(deps): update dependency open-policy-agent/conftest to v0.36.0 ( #2821 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-18 20:24:39 -06:00
Ken Kaizu
bbc7b9969a
feat: renovate handle regexManagers to update conftest/tf versions ( #2807 )
...
* chore(deps): add renovate.json
* feat: renovate handle regexManagers to update conftest/tf versions
* Update .github/renovate.json5
* Update .github/renovate.json5
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2022-12-18 18:21:01 -06:00
Ken Kaizu
b6f372416f
refactor: add contest command into testing-image for refactoring e2e conftest ensure logic to upgrade conftest upgrading ( #2811 )
2022-12-17 17:37:49 -06:00
dependabot[bot]
bef54c7134
build(deps): bump golang from 1.19.3 to 1.19.4 in /testing ( #2789 )
...
Bumps golang from 1.19.3 to 1.19.4.
---
updated-dependencies:
- dependency-name: golang
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-13 12:28:14 -06:00
Jeppe Fihl-Pearson
124eb6b4a8
Use GitHub Actions cache when building Docker images ( #2737 )
...
* Use GitHub Actions cache when building Docker images
This firstly removes the `pull: true` option from all
`build-push-action` invocations, as it was assumed it caused Docker to
pull the existing image first before building the new one, where as it
instead makes sure the base image is up to date prior to starting the
build.
Instead the `cache-from` and `cache-to` options are added which cause
the action to store and retrieve caches for each layer from GitHub
Actions' cache system as documented at
https://docs.docker.com/build/ci/github-actions/examples/#cache-backend-api .
* Pin exact Go version in testing image
This matches what is done for the production image.
2022-12-04 21:16:57 -06:00
Rui Chen
733e51cbb3
deps: update to use tf 1.3.6 ( #2744 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-11-30 16:15:59 -08:00
Rui Chen
82e191f547
deps: bump to use tf 1.3.5 ( #2691 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-11-17 18:17:26 -06:00
nitrocode
4dcc73b14e
testing-env: create default atlantis user ( #2689 )
2022-11-16 22:14:09 -06:00
nitrocode
d85662cdf1
Rename default branch to main ( #2662 )
...
* Rename default branch to main
* Bump git, curl, and openssl packages
2022-11-14 11:28:29 -06:00
Eng Zer Jun
49c5eba458
test: use T.TempDir to create temporary test directory ( #2671 )
...
This commit replaces `os.MkdirTemp` with `t.TempDir` in tests. The
directory created by `t.TempDir` is automatically removed when the test
and all its subtests complete.
Prior to this commit, temporary directory created using `os.MkdirTemp`
needs to be removed manually by calling `os.RemoveAll`, which is omitted
in some tests. The error handling boilerplate e.g.
defer func() {
if err := os.RemoveAll(dir); err != nil {
t.Fatal(err)
}
}
is also tedious, but `t.TempDir` handles this for us nicely.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2022-11-13 14:13:29 -06:00
nitrocode
62719ee132
e2e image and testing fixes ( #2672 )
...
* build testing-env-image in relevant PRs
* hadolint testing/Dockerfile and rm go get
* revert cimg/go back to circleci/golang image
2022-11-13 13:11:32 -06:00
nitrocode
ff3f721174
Use go 1.19 ( #2670 )
...
* Use go 1.19
* docker-base: bump openssl, git, curl and fix nsswitch
2022-11-12 21:58:24 -06:00
nitrocode
fe4915a6fc
deps: bump terrform to 1.3.4 ( #2639 )
2022-11-04 09:23:22 -07:00
nitrocode
df94369ae4
deps: bump conftest to 0.35.0 ( #2615 )
2022-10-24 23:47:22 -05:00
nitrocode
be37b774c3
deps: bump terrform to 1.3.3 and docs update ( #2614 )
...
* deps: bump terrform to 1.3.3
* Correct github doc link for token
2022-10-24 23:46:52 -05:00
Rui Chen
2e13c7034f
deps: bump terrform to 1.3.2 ( #2569 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-10-07 13:56:34 -04:00
Rui Chen
3b3bc23f69
deps: bump terrform to 1.3.1 ( #2543 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-09-29 21:40:55 -07:00
Andy Paine
934a669af3
deps: bump tf to 1.3.0 ( #2533 )
...
Includes some useful new features like optional variables
2022-09-22 18:29:11 -07:00
Rui Chen
6fd8130fe1
lint: gofmt -w -s . ( #2504 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-09-12 18:08:46 -07:00
Rui Chen
2154678a95
deps: bump conftest to 0.34.0 ( #2500 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-09-07 19:54:51 -04:00
Rui Chen
08fa65142c
deps: bump tf to 1.2.9 ( #2499 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-09-07 18:57:22 -04:00
Rui Chen
e76739555d
deps(conftest): 0.32.1 -> 0.33.0 ( #2367 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-07-08 15:58:07 -04:00
Rui Chen
78cf6d79d7
deps: tf 1.2.4 ( #2363 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-07-05 17:08:53 -04:00
Rui Chen
d315e50073
deps: terraform 1.2.3, conftest 0.32.1 ( #2328 )
...
* deps: terraform 1.2.3
Signed-off-by: Rui Chen <rui@chenrui.dev >
* deps: conftest 0.32.1
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-06-16 20:02:50 -04:00
Rui Chen
da0515d180
deps: terraform 1.2.0 ( #2267 )
...
* deps: terraform 1.2.0
* support tf 1.1.9
2022-05-20 15:18:59 -04:00
Rui Chen
dc7c65d266
deps: tf 1.1.9 and conftest 0.31.0 ( #2218 )
...
* deps: tf 1.1.9
Signed-off-by: Rui Chen <rui@chenrui.dev >
* deps: conftest 0.31.0
Signed-off-by: Rui Chen <rui@chenrui.dev >
* update applications link ref
2022-05-13 14:16:48 -07:00
Rui Chen
8184b51e6c
deps: bump terraform to v1.1.8 ( #2196 )
2022-04-16 18:39:44 -04:00
rui
46cd2fb49b
deps: tf 1.1.7 ( #2108 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-03-02 20:44:28 -05:00
rui
60a168d417
deps: tf 1.1.6 ( #2071 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-02-16 15:42:38 -05:00
Rob Lazzurs
6d2ad22a0c
deps: terraform 1.1.5 ( #2042 )
...
Upgrading to the latest Terraform release
2022-02-02 17:54:30 -05:00
rui
d8ec4387ae
deps: tf 1.1.4 ( #2011 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-01-19 14:18:52 -05:00
rui
3f18ba2f99
deps: conftest 0.30.0 ( #1983 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-01-10 10:13:00 -05:00
rui
44ab8f216c
deps: terraform 1.1.3 ( #1982 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-01-07 00:48:13 -05:00
rui
8ed966f1aa
deps: conftest 0.29.0 ( #1977 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-01-05 11:25:51 -05:00
rui
50a510fa26
deps: terraform 1.1.2 ( #1952 )
2021-12-18 13:09:34 -05:00
Rui Chen
fad1c758cb
docker(testing): fix arch ref for linux/arm/v7
...
relates to eb1c78dd0b
- `docker buildx build --progress=plain --no-cache --platform linux/arm/v7 .`
- `docker buildx build --progress=plain --no-cache --platform linux/arm/v8 .`
```
```
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-12-17 13:27:35 -05:00
Rui Chen
ec4d77fbfb
docker(testing): updating image build process
...
relates to #1943
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-12-17 12:23:23 -05:00
Rui Chen
7b76df7478
build: make multi-platform image for testing-env
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-12-16 00:40:30 -05:00
rui
a74e740c11
deps: terraform 1.1.1 ( #1939 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-12-15 17:03:41 -05:00
rui
8aa1ea4d04
deps: terraform 1.1.0 ( #1930 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-12-08 17:07:08 -05:00
rui
6d86119d75
deps: tf 1.0.11 ( #1892 )
2021-11-10 18:44:50 -05:00
Rui Chen
ac9a6c3c4f
deps: conftest 0.28.3
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-11-03 22:34:39 -04:00
rui
720d8eb2d4
deps: conftest 0.28.2 ( #1872 )
2021-10-28 14:04:53 -04:00
Rui Chen
cb07e2adb0
deps: tf 1.0.10
2021-10-28 13:46:36 -04:00
rui
515df4edb1
deps: terraform 1.0.9 ( #1854 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-10-17 13:46:47 -04:00
Eng Zer Jun
38cf7b0141
refactor: move from io/ioutil to io and os package ( #1843 )
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2021-10-07 00:37:42 -04:00
rui
c3d9e136ce
deps: tf 1.0.8 ( #1837 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-09-30 23:33:24 -04:00
rui
e050a356a0
deps: conftest 0.28.1 ( #1826 )
2021-09-22 13:29:30 -04:00