Commit Graph

98 Commits

Author SHA1 Message Date
rui
72491335e4 e2e: update dockerfile (#1790)
* e2e: update dockerfile

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

* test workflow

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

* trigger a docker build

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

* revert

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

* Update Dockerfile

* update dockerfile

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

* Update Dockerfile

* Update testing-env-image.yml
2021-09-04 15:18:22 -04:00
rui
fae93aecb6 build: fix testing-env img process (#1789)
* remove circleci img comment

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

* test img build

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

* Revert "test img build"

This reverts commit fae6ee43a5.
2021-09-03 18:13:44 -04:00
Nish Krishnan
34426b6b2f Actually bump testing image conftest version to 0.27 (#1788) 2021-09-03 14:14:16 -07:00
rui
db1cb4a649 build: tf 1.0.6 (#1786)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-03 11:41:18 -04:00
rui
317503a071 build: bump to use go1.17 (#1766)
* build: bump to use go1.17

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-08-30 23:19:46 -04:00
rui
9b5f9e181a deps: tf 1.0.5 (#1765)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-08-18 19:03:45 -04:00
rui
3495fec592 deps: tf 1.0.4 (#1748) 2021-08-09 10:37:19 -04:00
rui
170154b492 deps: tf 1.0.3 (#1719) 2021-07-27 20:17:00 -04:00
rui
a04915548a deps: tf 1.0.2 (#1693)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-07-07 16:43:24 -04:00
rui
ab8d64492c deps: terraform 1.0.1 (#1662)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-06-24 12:46:32 -04:00
rui
10e619b16b deps: terraform 1.0.0 (#1622) 2021-06-16 10:26:11 -04:00
rui
d6b6f12e36 deps: terraform 0.15.5 (#1615) 2021-06-02 15:18:40 -04:00
Nish Krishnan
712498da58 Refactor controllers into package. (#1597) 2021-06-01 11:58:01 -07:00
rui
7cb439f4cd deps: terraform 0.15.4 (#1588)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-05-19 15:49:32 -04:00
Luke Kysow
846215246a Add docs for how to update testing-env image (#1581)
- Makefile is no longer needed
2021-05-16 09:18:41 -07:00
Sarvar Muminov
805e94e7f6 Update conftest version to 0.25.0. (#1579)
Version 0.25.0 solves OOM issue described in [556](https://github.com/open-policy-agent/conftest/pull/556).
2021-05-13 14:05:06 -07:00
Luke Kysow
01216b26cd Create post_push (#1580) 2021-05-13 14:00:36 -07:00
rui
df7b1c9ce3 deps: tf 0.15.3 (#1561)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-05-07 19:07:23 -04:00
rui
ffe1da1b82 deps: tf 0.15.2 (#1559)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-05-05 18:27:41 -04:00
Bryant Biggs
04824c2dea chore: bump terraform version to latest 0.15.1 (#1512)
* chore: bump terraform version to latest 0.15.0

* chore: add v0.14.10 to available versions list

* chore: fix trailing zero typo

* chore: bump to 0.15.1 now that its released

* chore: bump 0.14.x version which updates Hashicorp public key

* chore: bump 0.13.x version which updates Hashicorp public key

* chore: bump 0.12.x version which updates Hashicorp public key
2021-04-26 15:10:18 -07:00
Sarvar Muminov
f0201e9eb7 Upgrade conftest version to 0.23 (#1516)
* Upgraded conftest to 0.23.0 and removed --all-namespaces flag (#62)

* Upgraded conftest to 0.23.0 and removed --all-namespaces flag

* fix tests

* fix conftest version name

* make tests pass

* Update e2e tests to use 0.23 conftest

* Fix log function

* Make test client fetch version synchronously.

* Update fixtures.

* Pinning test image

Co-authored-by: Nish Krishnan <nishk@lyft.com>
2021-04-22 20:21:17 -07:00
rui
921ebbc48d deps: tf 0.14.10 (#1488)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-04-07 21:15:55 -04:00
rui
ca976d8bd3 deps: use tf 0.14.9 (#1472)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-03-25 01:33:44 -04:00
rui
0e61fa521c deps: use tf 0.14.8 (#1448)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-03-10 13:47:49 -05:00
rui
5e4bde4cc4 deps: bump go to v1.16 (#1414)
* deps: bump go to v1.16

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

* go mod tidy for go.sum

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

* update go version for go.mod
2021-02-18 12:27:58 -05:00
rui
4fc136c048 chore(deps): update tf to v0.14.7 (#1416)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-02-17 17:58:01 -05:00
rui
413254f122 deps: bump golang to v1.15 (#1403)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-02-13 13:15:42 -05:00
rui
29a369a238 deps: bump tf to v0.14.6 (#1402)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-02-12 12:04:21 -05:00
Sarvar Muminov
af2a806870 Implement a new policy check workflow (#1317)
* Adding policy_check support into yaml config

* Added policy check model and runtime structs

* Adding BuildPolicyCheckCommand to ProjectCommandBuilder

* Return incorrectly deleted code

* Remove BuildAutoPolicyPlanCommand from ProjectCommandBuilder

* Split runAutoCommand into two functions

runAutoPlanCommand - does what originally RunAutoplancommand was doing
except now it returns CommandResult and []models.ProjectCommandContext
runAutoPolicyCheckCommand - accepts CommandContext, CommandResult, and
[]models.ProjectCommandContext as arguments and runs PolicyCheckStep runner

* Refactor RunCommentCommand
* Remove BuildPolicyCheckCommand and rename StepCmdExec back to TerraformExec
* Add policy step runner logic and conftest interfaces.
* Add show step runner to policy check stage.

* Adding models.PolicyCheckCommand to buildCtx

This also means buildPlanAllCommands call buildCtx twice once with
models.PlanCommand and once with models.PolicyCheckCommand

* Adding new project_command_builder that supports policy_check

* Refactoring PolicyCheck specific logic into a PolicyCheckProjectCommandBuilder

* Moving events.CommandContext to models.CommandContext this will allow me
to remove buildCtx method and move ProjectCommandContext creation into
models package

* Policy Owners might be different types, for that reason we are
refactoring Owners into its own struct with specific keys defining
different owner types

Co-authored-by: Nish Krishnan <nishk@lyft.com>
Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com>
2021-02-10 18:13:44 -08:00
rui
9bd534e1b7 terraform 0.14.5 (#1376)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-01-30 14:11:13 -05:00
chenrui
c7723c65a4 deps: tf 0.14.4 (#1336)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-01-07 09:37:35 -05:00
chenrui
d09e79888a chore(deps): tf 0.14.3 (#1319)
Signed-off-by: Rui Chen <rui@meetup.com>
2020-12-18 13:34:35 -05:00
chenrui
f86aec2213 chore(deps): terraform 0.14.2 (#1308)
* Revert "Revert "chore(deps): terraform 0.14.2 (#1305)" (#1307)"

This reverts commit cb003dbf97.

* deprecate --allow-repo-config

Signed-off-by: Rui Chen <rui@meetup.com>
2020-12-12 20:41:43 -05:00
chenrui
cb003dbf97 Revert "chore(deps): terraform 0.14.2 (#1305)" (#1307)
This reverts commit c44fe31b35.
2020-12-09 17:45:30 -05:00
chenrui
c44fe31b35 chore(deps): terraform 0.14.2 (#1305) 2020-12-09 15:57:34 -05:00
chenrui
2d6b48b4b1 chore(deps): terraform 0.14.0 (#1280)
* chore(deps): terraform 0.14.0

* add 0.13.5 as avail version
2020-12-03 22:13:16 -05:00
Rui Chen
3b60c3d8c9 chore(deps): bump terraform to v0.13.5
Signed-off-by: Rui Chen <rui@meetup.com>
2020-10-23 17:18:40 -04:00
Rui Chen
9e721d1a28 chore(deps): terraform 0.13.4
Signed-off-by: Rui Chen <rui@meetup.com>
2020-10-09 00:57:38 -04:00
Rui Chen
e903fcdbad bump terraform to v0.13.3 2020-09-17 11:54:49 -04:00
Rui Chen
97ab3ed445 bump terraform to v0.13.2 2020-09-02 14:42:53 -04:00
Rui Chen
8a2a6f5e80 bump terraform to v0.13.1 2020-08-26 15:11:11 -04:00
Rui Chen
b5a7370ae0 bump terraform to v0.13.0 2020-08-10 16:57:52 -04:00
Rui Chen
6f03357902 chore(deps): bump tf to 0.12.29 2020-07-22 13:05:52 -04:00
Piotr Maksymiuk
7575df5c44 bump to tf-0.12.28 2020-07-13 09:15:09 +02:00
Rui Chen
4d10348247 terraform 0.12.27 2020-06-24 16:31:21 -04:00
Rui Chen
a9873aeb58 Bump tf to v0.12.26 2020-05-27 13:37:54 -04:00
Rui Chen
9e2ceae76d Bump tf to v0.12.25 2020-05-13 13:09:56 -04:00
Luke Kysow
00ba152c41 Upgrade to golang 1.14 2020-04-06 16:00:52 -07:00
Rui Chen
dea8771249 Bump terraform to v0.12.24 2020-03-19 14:39:45 -04:00
Rui Chen
b0823f9f6c terraform 0.12.23 2020-03-05 16:29:59 -05:00