v0.13.0
Description
This release enables support for running plans and applies in parallel only when using Terraform workspaces.
It also enables graceful shutdown for Atlantis where it waits for in-progress plans and applies to complete.
See below for the complete list.
Features
-
Upgrade default Terraform version in Docker image to 0.12.26.
-
Add support for parallel plans and applies (#926 by @Fauzyy)
Running in parallel is only supported if you're using workspaces to separate your projects.
Projects in separate directories can not be run in parallel currently.
To use, setparallel_plan: true parallel_apply: true
In your repo-level
atlantis.yaml
file. -
Add support for graceful shutdown (#1051 by @benoit74).
When Atlantis receive a SIGINT or SIGTERM it won't shut down immediately. It will wait for
in-progress plans and applies to complete. Any new actions, e.g. comments or autoplans
will be refused and an error comment will be posted to the PR indicating that Atlantis is shutting
down and the user should try again later.In addition, a new
/stats
endpoint has been added that currently only returns
the number of in-progress operations and whether the server is shutting down. -
GitHub: A new flag
--enable-draft-prs
has been added that will re-enable the ability
for users to run plan and apply on GitHub draft PRs. This ability was removed in
v0.12.0. (#1053 by @cket) -
GitHub: Preserve original commit message when automerging (#1049 by @pratikmallya).
This change removes the
[Atlantis] Automatically merging after successful apply
commit message
and instead has GitHub autogenerate the commit message similarly to how it would when
you click the "Merge" button in the UI. -
Change log level for HTTP requests from INFO to DBUG, e.g.
2020/05/26 12:16:20+0000 [INFO] server: GET /healthz – respond HTTP 200 2020/05/26 12:16:36+0000 [INFO] server: GET /healthz – from <IP>
-
GitLab: Use correct link to merge requests (previously used
#<num>
instead of!<num>
) (#1059 by @EppO)
Bugfixes
- Azure DevOps: Project links link to pull requests now (Fixes #957 by @mcdafydd)
- GitHub: Release locks when GitHub draft PRs are closed (#1038 by @andrewring)
- Ensure git-lfs is in our Docker image (Fixes #1054)
Backwards Incompatibilities / Notes:
- If you're using the Atlantis Docker image and aren't setting the
--default-tf-version
flag
then the default version of Terraform will now be 0.12.26. Simply set the above
flag to your desired default version to avoid any issues. - HTTP requests are now logged as DBUG instead of INFO to reduce log spam. If you
still want to see these logs you must run with--log-level=debug
. - Atlantis will no longer immediately shutdown when it receives a SIGINT or SIGTERM,
it will now wait for in-progress plans and applies to complete. To stop Atlantis
without waiting, send a SIGKILL.