Andre Ziviani
974eed3803
feat: Disable policy check on some repositories ( #3503 )
...
* feat: Allow enabling policy check per repository
* chore: Tests
* chore: Docs
* chore: Improve tests
* chore: E2E tests
2023-07-06 16:39:36 -04:00
Ross Strickland
7545296741
fix: parse custom run step output in policy_check ( #3502 )
...
* parse custom run output in policy_check
* error if no conftest output
* e2e test
* Adding other policy template.
* update markdown renderer test
2023-06-20 14:55:37 -04:00
Ross Strickland
434bab5c70
[Feature] - Add clear policy approval functionality. ( #3351 )
...
* Add clear policy approval functionality.
* Fix param name, update doc.
* fix test, add e2e test
* empty commit to re-trigger tests.
---------
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-05-02 11:02:04 -04:00
Ross Strickland
684f2fa7e0
feat(policies): Add granular policy_sets ( #3086 )
...
* Initial work.
* Periodic push.
* Fmt and start adding args to approve_policies cmd.
* keep funcs for now.
* Periodic push.
* Periodic push.
* fmt.
* Move approve policies logic to project_command_runner.
* update some tests
* More test fixes.
* update more tests. fix som logic.
* more tests. add additional info to common data for custom templates.
* fix apply with policies bug. update more tests/fmt
* file perms
* fix error parsing for conftest results.
* Update more tests and linting.
* update documentation.
* Address no-fail case. Address comments.
* Forgot changes.
* fix markdown renderer
* Fix policy fail logic. remove uneeded tmpl var
* targeted policy approvals fix
* Address PR comments.
* empty commit to trigger build
---------
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
Co-authored-by: rkstrickland <ross.strickland@instacart.com >
Co-authored-by: Dylan Page <dylan.page@autodesk.com >
2023-04-20 21:53:46 -04:00
Ken Kaizu
cb0aadf571
feat: state rm ( #2880 )
...
* feat: state rm
* review feedback
* fix conflict for pegomock generation code
* adopt state command into allow-commands
* fix conflicts
* fix: state rm works on workspace
* notify import/state rm discard plan file
* fix lint
* use repeat instead warning for re-plan
* perl -pi -e 's!\* 🔁 plan file was discarded. to!🚮 A plan file was discarded. Re-plan would be required before applying.\n\n\* 🔁 To!g' server/**/*
* follow main branch
2023-01-18 22:02:18 -06:00
Ken Kaizu
da48fb515d
chore(test): add no test dir tests, rename testdata dir ( #2986 )
...
* add web_templates render tests
* add ansic strip tests
* move fixtures into testdata dir which is golang specific test dir name
* add server/metrics tests
* add recovery test
* add runtime stats test
2023-01-15 23:14:23 -06:00