Commit Graph

10 Commits

Author SHA1 Message Date
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
e050a356a0 deps: conftest 0.28.1 (#1826) 2021-09-22 13:29:30 -04:00
rui
b3af64a39c deps: conftest 0.28.0 (#1819)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-19 00:29:38 -04:00
Rui Chen
5917c47349 docker: use ghcr.io images rather than docker hub ones
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-04 15:44:05 -04:00
Nish Krishnan
ce92a6aa31 Bump testing image conftest version to 0.27 (#1787) 2021-09-03 14:04:31 -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
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
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
Nish Krishnan
8894ce9595 Add docker compose with ngrok + atlantis setup. (#1249) 2020-12-06 20:06:31 -05:00