Commit Graph

182 Commits

Author SHA1 Message Date
renovate[bot]
1f971bfc06 chore(deps): update dependency hashicorp/terraform to v1.5.3 in .circleci/config.yml (#3599)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 16:41:40 +00:00
renovate[bot]
65b68a9611 chore(deps): update golang docker tag to v1.20.6 in testing/dockerfile (#3594)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 04:13:05 +00:00
renovate[bot]
dd32a792b7 chore(deps): update dependency open-policy-agent/conftest to v0.44.1 in testing/dockerfile (#3588)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-09 03:37:17 +00:00
renovate[bot]
57c4e12b1a chore(deps): update dependency hashicorp/terraform to v1.5.2 in .circleci/config.yml (#3561)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 01:24:42 +00:00
renovate[bot]
d5633662e9 chore(deps): update dependency hashicorp/terraform to v1.5.1 in .circleci/config.yml (#3543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 06:57:34 +00:00
renovate[bot]
35421c2706 chore(deps): update dependency hashicorp/terraform to v1.5.0 in .circleci/config.yml (#3514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 01:01:12 +00:00
renovate[bot]
efa53958df chore(deps): update dependency open-policy-agent/conftest to v0.43.1 in testing/dockerfile (#3497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 01:34:54 +00:00
renovate[bot]
52895857e5 chore(deps): update golang docker tag to v1.20.5 in testing/dockerfile (#3494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 00:02:32 +00:00
renovate[bot]
1895cf7f5f chore(deps): update dependency open-policy-agent/conftest to v0.43.0 in testing/dockerfile (#3483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 19:23:09 +00:00
renovate[bot]
bd284eb76d chore(deps): update dependency open-policy-agent/conftest to v0.42.1 in testing/dockerfile (#3392)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-10 01:14:32 +00:00
renovate[bot]
e244fe5a55 chore(deps): update dependency open-policy-agent/conftest to v0.42.0 in testing/dockerfile (#3382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-07 01:07:41 +00:00
renovate[bot]
b06a3ace87 chore(deps): update golang docker tag to v1.20.4 in testing/dockerfile (#3369)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 01:09:35 +00:00
renovate[bot]
338d20e501 chore(deps): update dependency hashicorp/terraform to v1.4.6 in .circleci/config.yml (#3362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-30 02:00:16 +00:00
renovate[bot]
ad217ad8dd chore(deps): update dependency hashicorp/terraform to v1.4.5 in .circleci/config.yml (#3325)
* chore(deps): update dependency hashicorp/terraform to v1.4.5 in .circleci/config.yml

* Update Dockerfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-04-17 13:21:07 +00:00
renovate[bot]
a3d506a9f5 chore(deps): update dependency open-policy-agent/conftest to v0.41.0 in testing/dockerfile (#3309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 23:20:38 +00:00
renovate[bot]
0051b9a329 chore(deps): update golang docker tag to v1.20.3 in testing/dockerfile (#3307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 23:18:43 +00:00
renovate[bot]
66c3aa3d45 chore(deps): update dependency hashicorp/terraform to v1.4.4 in .circleci/config.yml (#3284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 19:33:24 -05:00
renovate[bot]
3212fe9cbd chore(deps): update dependency open-policy-agent/conftest to v0.40.0 in testing/dockerfile (#3265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 21:42:14 -05:00
renovate[bot]
16f7ab4f05 chore(deps): update dependency hashicorp/terraform to v1.4.2 in .circleci/config.yml (#3237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 09:27:40 -05:00
renovate[bot]
c90ef8621f chore(deps): update dependency hashicorp/terraform to v1.4.1 in .circleci/config.yml (#3227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 20:12:21 +00:00
renovate[bot]
60c1c4c6c0 chore(deps): update dependency open-policy-agent/conftest to v0.39.2 in testing/dockerfile (#3218)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 13:17:29 -05:00
renovate[bot]
42280a3b88 chore(deps): update golang docker tag to v1.20.2 in testing/dockerfile (#3219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 15:52:52 +00:00
renovate[bot]
f942254292 chore(deps): update dependency open-policy-agent/conftest to v0.39.1 in testing/dockerfile (#3155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 23:19:15 -06:00
renovate[bot]
857e484317 chore(deps): update golang docker tag to v1.20.1 in testing/dockerfile (#3142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 06:11:32 +00:00
renovate[bot]
bddbb88620 chore(deps): update dependency hashicorp/terraform to v1.3.9 in .circleci/config.yml (#3137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-15 16:00:28 -06:00
renovate[bot]
c4ceb58e71 chore(deps): update dependency open-policy-agent/conftest to v0.39.0 in testing/dockerfile (#3115)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 17:17:08 -06:00
renovate[bot]
0fb9289312 chore(deps): update dependency hashicorp/terraform to v1.3.8 in .circleci/config.yml (#3113)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 17:14:30 -06:00
nitrocode
42783c9e62 Swap go-spew with kr/pretty (#3108) 2023-02-07 20:42:17 -08:00
Rui Chen
1f6f820cd5 deps: bump to go1.20 (#3093)
* deps: bump to go1.20

Signed-off-by: Rui Chen <rui@chenrui.dev>

* update base docker image

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>

* update base docker image

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>

---------

Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-02-02 16:18:27 +01:00
renovate[bot]
67c1fd1c51 chore(deps): update golang docker tag to v1.19.5 (#2962)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 21:57:15 -06:00
renovate[bot]
15384efac9 chore(deps): update dependency open-policy-agent/conftest to v0.38.0 (#2964)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 21:47:22 -06:00
Rui Chen
27ac7a8daa deps: tf 1.3.7 (#2925)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2023-01-04 14:47:09 -08:00
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