mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 17:18:30 +00:00
* Delete previous plans on autoplan or atlantis plan When using non-default workspaces, plans are stored in pr-and-workspace-specific directories. If a PR is subsequently updated it might happen that some of the plans are no longer relevant with regards to the latest changes. This change ensures that plans are always deleted when a generic plan is triggered either by autoplan or by a "atlantis plan" command. NB Plans are not cleaned up when specific projects are planned explicitly with "atlantis plan -p/-d/-w". * Also delete locks along with plans when running autoplan or generic plan command * Fix Plan deletion tests after 0.19.8 rebase * Fix Plan deletion tests after v0.19.9-pre.20220912 rebase * Rename struct field to follow camelCase naming convention Co-authored-by: giuli007 <giuglioz@gmail.com>