-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a new policy check workflow #1317
Implement a new policy check workflow #1317
Commits on Feb 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3f124b5 - Browse repository at this point
Copy the full SHA 3f124b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a50f966 - Browse repository at this point
Copy the full SHA a50f966View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3bff06 - Browse repository at this point
Copy the full SHA a3bff06View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2c3071 - Browse repository at this point
Copy the full SHA c2c3071View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c2ae9f - Browse repository at this point
Copy the full SHA 7c2ae9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbaef56 - Browse repository at this point
Copy the full SHA cbaef56View commit details -
Configuration menu - View commit details
-
Copy full SHA for c40f79f - Browse repository at this point
Copy the full SHA c40f79fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73d5a28 - Browse repository at this point
Copy the full SHA 73d5a28View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba88d5b - Browse repository at this point
Copy the full SHA ba88d5bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 5c60f93 - Browse repository at this point
Copy the full SHA 5c60f93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fc7b50 - Browse repository at this point
Copy the full SHA 4fc7b50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f7eb9f - Browse repository at this point
Copy the full SHA 5f7eb9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f1f8cd - Browse repository at this point
Copy the full SHA 1f1f8cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f5190f - Browse repository at this point
Copy the full SHA 8f5190fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7bfa28 - Browse repository at this point
Copy the full SHA a7bfa28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a5ebbe - Browse repository at this point
Copy the full SHA 0a5ebbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59bb001 - Browse repository at this point
Copy the full SHA 59bb001View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5dd834 - Browse repository at this point
Copy the full SHA f5dd834View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7779794 - Browse repository at this point
Copy the full SHA 7779794View commit details -
Configuration menu - View commit details
-
Copy full SHA for dad3f39 - Browse repository at this point
Copy the full SHA dad3f39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19da887 - Browse repository at this point
Copy the full SHA 19da887View commit details -
Adding models.PolicyCheckCommand to buildCtx
This also means buildPlanAllCommands call buildCtx twice once with models.PlanCommand and once with models.PolicyCheckCommand
Configuration menu - View commit details
-
Copy full SHA for 5a1d5a4 - Browse repository at this point
Copy the full SHA 5a1d5a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f5d250 - Browse repository at this point
Copy the full SHA 7f5d250View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3ef64a - Browse repository at this point
Copy the full SHA b3ef64aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e178d43 - Browse repository at this point
Copy the full SHA e178d43View commit details -
Deleting buildCtx from DefaultProjectCommandBuilder
Moving events.CommandContext to models.CommandContext this will allow me to remove buildCtx method and move ProjectCommandContext creation into models package
Configuration menu - View commit details
-
Copy full SHA for 1846275 - Browse repository at this point
Copy the full SHA 1846275View commit details -
Move validateWorkspaceAllowed to RepoCfg
Adding new matchers Fix test and add ParseValidator as a dependency Linting fix
Configuration menu - View commit details
-
Copy full SHA for b6fe787 - Browse repository at this point
Copy the full SHA b6fe787View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90e1dd2 - Browse repository at this point
Copy the full SHA 90e1dd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8338ee2 - Browse repository at this point
Copy the full SHA 8338ee2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d767bce - Browse repository at this point
Copy the full SHA d767bceView commit details -
--enable-policy-checks does not work with TFE/TFC.
TFE/TFC doesn't allow to download plan files.
Configuration menu - View commit details
-
Copy full SHA for 5d17936 - Browse repository at this point
Copy the full SHA 5d17936View commit details -
Configuration menu - View commit details
-
Copy full SHA for 150e025 - Browse repository at this point
Copy the full SHA 150e025View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3afe21 - Browse repository at this point
Copy the full SHA e3afe21View commit details -
Adding policies top level key to server side config.
This enables atlantis admins to create and specify their policies to be used by PolicyCheckStepRunner.
Configuration menu - View commit details
-
Copy full SHA for 243e5b8 - Browse repository at this point
Copy the full SHA 243e5b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39034fd - Browse repository at this point
Copy the full SHA 39034fdView commit details -
changing Version from string to version.Version
Adding validation to check for version syntax correctness Flattened policy source object into parent struct
Configuration menu - View commit details
-
Copy full SHA for 6194d6c - Browse repository at this point
Copy the full SHA 6194d6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7b9625 - Browse repository at this point
Copy the full SHA d7b9625View commit details -
Add conftest client run implementation.
fmt and add test dockerfile. Remove log statement.
Configuration menu - View commit details
-
Copy full SHA for 33eb1a6 - Browse repository at this point
Copy the full SHA 33eb1a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56d29f3 - Browse repository at this point
Copy the full SHA 56d29f3View commit details -
comment parser for policy approval
* Adding support to parse atlantis approve_policy comments * Refactoring plan, apply, policy_check commands into separate commands * Cleaning up command_runner.go * Fixing linting * Interface refactor. * Cleanup apply, plan, unlock commands * Addressing PR feedback * fix tests * Fixing policy_approve to approve_policies
Configuration menu - View commit details
-
Copy full SHA for 4d1ead6 - Browse repository at this point
Copy the full SHA 4d1ead6View commit details -
* Adding ApprovePoliciesCommandRunner to handle policy approval workflow. Currently it doesn't have any dedicated ProjectCommandRunner due to the fact that we are circumventing any policy runs if approver is in the predefined list of approvers. If user is not part of the list then check will fail * Updating markdown template and adding policy pass condition to PullMergeable check * Comment to clarify approval process * Moved declaring list of policy owners to server config. * Adding unit tests and fixing syntax errors * Testing Apply Meargeable status
Configuration menu - View commit details
-
Copy full SHA for d45edfd - Browse repository at this point
Copy the full SHA d45edfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9a3877 - Browse repository at this point
Copy the full SHA d9a3877View commit details -
Ensure policy check doesn't run for remote backend
* update pegomock.
Configuration menu - View commit details
-
Copy full SHA for eb3d216 - Browse repository at this point
Copy the full SHA eb3d216View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f89c7d - Browse repository at this point
Copy the full SHA 0f89c7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d10b9f4 - Browse repository at this point
Copy the full SHA d10b9f4View commit details -
[ORCA-542] conftest: support non
main
packages (#38)By default conftest only executes `main` package when running a policy. We want to allow for conftest to run all packages in the directory
Configuration menu - View commit details
-
Copy full SHA for 8de39aa - Browse repository at this point
Copy the full SHA 8de39aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d695f1 - Browse repository at this point
Copy the full SHA 1d695f1View commit details -
Atlantis e2e tests for policy checks step (#42)
* Adding e2e tests for policy checks. Added project lock for policy approval step. Moved policy approval into a DefaultProjectCommandRunner * Fixing these cursed tests * Adding conftest0.21.0 binary check * Deleting unused fixtures * Remove print statement
Configuration menu - View commit details
-
Copy full SHA for 8e6eea5 - Browse repository at this point
Copy the full SHA 8e6eea5View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb6deb6 - Browse repository at this point
Copy the full SHA eb6deb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a65aae - Browse repository at this point
Copy the full SHA 5a65aaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4edc6b7 - Browse repository at this point
Copy the full SHA 4edc6b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c5f866 - Browse repository at this point
Copy the full SHA 3c5f866View commit details -
Configuration menu - View commit details
-
Copy full SHA for 176e93c - Browse repository at this point
Copy the full SHA 176e93cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 776d453 - Browse repository at this point
Copy the full SHA 776d453View commit details -
Expanding Owners field to support different types. (#39)
* Expanding Owners field to support different types. Policy Owners might be different types, for that reason we are refactoring Owners into its own struct with specific keys defining different owner types * Fixing tests
Configuration menu - View commit details
-
Copy full SHA for a45dfb8 - Browse repository at this point
Copy the full SHA a45dfb8View commit details -
Updating the code to match upstream atlantis
Removed some references to code changes not in upstream. Added back support for `DisableApply`. It was erased in the cherry picking
Configuration menu - View commit details
-
Copy full SHA for 6e0a8dd - Browse repository at this point
Copy the full SHA 6e0a8ddView commit details
Commits on Feb 9, 2021
-
Add conftest to actual testing image.
Nish Krishnan committedFeb 9, 2021 Configuration menu - View commit details
-
Copy full SHA for f245c96 - Browse repository at this point
Copy the full SHA f245c96View commit details -
[ORCA-666] Ensure failing policy checks don't discard the locks. (#44)
* [ORCA-666] Ensure failing policy checks don't discard the locks. * Fix tests * fix.
Configuration menu - View commit details
-
Copy full SHA for 518f5a9 - Browse repository at this point
Copy the full SHA 518f5a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e80827 - Browse repository at this point
Copy the full SHA 0e80827View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3d1a6c - Browse repository at this point
Copy the full SHA d3d1a6cView commit details
Commits on Feb 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0d5891f - Browse repository at this point
Copy the full SHA 0d5891fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d260e1c - Browse repository at this point
Copy the full SHA d260e1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for df3ae12 - Browse repository at this point
Copy the full SHA df3ae12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44016bd - Browse repository at this point
Copy the full SHA 44016bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19e865f - Browse repository at this point
Copy the full SHA 19e865fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38e05e7 - Browse repository at this point
Copy the full SHA 38e05e7View commit details
Commits on Feb 11, 2021
-
Merge remote-tracking branch 'upstream/master' into adding-conftest-a…
…s-policy-check-step
Configuration menu - View commit details
-
Copy full SHA for be1f47b - Browse repository at this point
Copy the full SHA be1f47bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3e38c2 - Browse repository at this point
Copy the full SHA c3e38c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7386ab9 - Browse repository at this point
Copy the full SHA 7386ab9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6458002 - Browse repository at this point
Copy the full SHA 6458002View commit details