Releases: runatlantis/atlantis
v0.17.1
v0.17.1
Feature release containing a number of bug fixes.
Note: as of this release we are now also publishing releases to Github Container Registry. We will stop publishing releases to Dockerhub in a subsequent major version release, please migrate any workflows to start using Github Container Registry in the meantime.
Features/Improvements
- Add extra args support for policy checking command (#1511 by @nishkrishnan)
- Add undiverged apply requirement (#1587 by @pcalley)
- Modify logging timestamp to be ISO8601 (#1625 by @tkishore1192)
- Add run step environment variable SHOWFILE (#1611 by @mhennecke)
- Add flag to disable automerge for
atlantis apply
(#1533 by @spirosoik) - Add support for deduping extra terraform args (#1651 by @gezb)
- Preserving terraform.lock.hcl when present by not upgrading during terraform init (#1651 by @gezb)
Bug Fixes
- Fix a bug with the hide previous command logic (#1549 by @nishkrishnan)
- Fix a bug with Azure Dev ops Prs where only the recent commit was used to get the diff (#1521 by @nishkrishnan)
- Fix bug with deleting source branch on merging Azure Dev Ops PRs (#1560 by @tapaszto)
- Fix regression with parallelApply and parallelPlan args being in the wrong order and therefore swapped. (#1574 by @Fauzyy)
- Fix nil pointer deference when
disable-repo-locking
is true. (#1557 by @Fauzyy) - Fix azure dev ops max comment characters to api limit (#1585 by @mhennecke)
- Fix bug where required terraform version was not being loaded when policy checks are enabled (#1658 by @msarvar)
- Fix bug where plan summary was not shown when changes outside of Terraform were detected (#1593 by @chroju)
Dependencies
- Upgrade conftest binary version to 0.25 (#1516 by @msarvar)
- Upgrade default tf version to 1.0 (#1622 by @chenrui333)
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 1.0. Simply set the above
flag to your desired default version to avoid any issues.
Docker
Github Container Registry
ghcr.io/runatlantis/atlantis:v0.17.1
Diff v0.17.0..v0.17.1
v0.17.0
Feature release encompassing this version's pre-release with some bug fixes and improvements that make this stable.
Features/Improvements
- Add
--enable-policy-checks
which adds a policy checking step to the Atlantis workflow and runs server-side conftest policies on the terraform plan output. (#1317 by @msarvar and @nishkrishnan)- Supports
atlantis approve_policies
which allows a set of blessed github users to approve failing policies.
- Supports
- Support pre-workflow hooks on all comment/auto triggered commands (#1418 by @nishkrishnan)
- Add branch allowlist matcher to server side repo config (#1383 by @dghubble)
- Add support for regex commands (#1419 by @bewie)
- Add support for a global apply lock (#1473 by @msarvar)
- Add structured logging support (#1467 by @nishkrishnan)
- Ensure policy checks is its own apply requirement (#1499 by @nishkrishnan)
- Add
--silence-no-projects
which silences Atlantis from responding to PRs when there are no projects (#1469 by @GenPage) - Add plan summary to unfolded part of the comment (#1518 by @wkrysmann)
- Add
--autoplan-file-list
which allows modifying the global list of files that trigger project planning (#1475 by @Omicron7) - Add server-side repo config support to delete the source branch when automerge is configured (#1357 by @tapaszto)
Bug Fixes
- Fix output for Terraform 0.14 projects not filtering out refreshing of state. (#1352 by @mathcantin)
Dependencies
- Upgrade conftest binary version to 0.23 (#1516 by @msarvar)
- Upgrade default tf version to 0.15.1 and add latest patch versions for old terraform minor versions (#1472 by @bryantbiggs)
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.15.1. Simply set the above
flag to your desired default version to avoid any issues. - Hashicorp's GPG keys were exposed. This PR adds the latest patch versions for each Terraform minor version which has new keys.
Docker
Diff v0.16.1..v0.17.0
v0.17.0-beta
Feature release. Due to a sizeable refactor and the number of configuration settings supported in Atlantis, this is a pre-release and should not be considered fully stable.
Features
- Add
--enable-policy-checks
which adds a policy checking step to the Atlantis workflow and runs server-side conftest policies on the terraform plan output. (#1317 by @msarvar and @nishkrishnan)- Supports
atlantis approve_policies
which allows a set of blessed github users to approve failing policies.
- Supports
- Support pre-workflow hooks on all comment/auto triggered commands (#1418 by @nishkrishnan)
- Add
HEAD_COMMIT
to run steps - Update terraform version to 0.14.7
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.14.7. Simply set the above
flag to your desired default version to avoid any issues.
Docker
runatlantis/atlantis:v0.17.0-beta
Diff v0.16.1..v0.17.0-beta
v0.16.1
Description
Few improvements and a number of bug fixes
Features/Improvements
- Add
--gh-app-slug
which allows fetching of gh app user. (#1334 by @nishkrishnan) (Also fixes #1161) - Add
--disable-repo-locking
flag. (#1340 by @gezb) (Closes #1212) - Pass atlantis/apply when there are no plans (#1323 by @raxod502-plaid)
- Update terraform version to 0.14.5
Bugfixes
- Fix bug with error messaging and incorrect casting (#1327 by @acastle)
- Fix bug where .auto.tfvars.json files were being ignored in 0.16.0 (Fixes #1330 by @geko)
- Fix Azure DevOps automerge by dynamically fetching user id (Fixes #1152 by @tapaszto)
- Replace slack GetChannels with GetConversations due to API deprecation (Fixes #1210 by @thlacroix)
- Set TF_WORKSPACE for remote runs to target correct workspace (Fixes #661 by @m1pl)
- Fix for restricting what workflows each repo has access to without exposing custom workflow definitions (Fixes #1358 by @netguino)
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.14.5. Simply set the above
flag to your desired default version to avoid any issues.
Docker
Diff v0.16.0..v0.16.1
v0.16.0
Description
Feature release with some new flags and bugfixes.
This release is thanks to our new Atlantis maintainer team:
Features
- Allow configuring number of concurrent plans/applies via new
-parallel-pool-size
flag (#1177 by @dmattia) - Add new flag
-disable-apply
that will disable the ability to run all applies (#1230 by @gezb) - This release will release with an arm64 binary (#1291 by @pgroudas)
- Add
pre_workflow_hooks
steps to allow for running custom scripts before workflow execution (#1255 by @msarvar) - Update default Terraform version to 0.14.3
Bugfixes
- Fix bug checking for up to date branches when using GitHub App installation and
-checkout-strategy=merge
(Fixes #1236 by @nishkrishnan) - Fix version detection for versions with prereleases when running Terraform >= 0.12.0 (Fixes #1276 by @acastle)
- Fix bug detecting Terraform files (#1253 by @surminus)
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.14.3. Simply set the above
flag to your desired default version to avoid any issues.
Docker
Diff v0.15.1..v0.16.0
v0.15.1
Description
Bugfix release.
Bugfixes
- Fix
required_version
detection not working for Terraform 0.13.0 (#1153 by @joerx) - Fix editing comments on draft PRs causing plan to re-run (#1194)
- Fix Azure DevOps apply status checks not working (#1172 by @acastle)
- Fix checkout-strategy=merge not working when using the GitHub app installation (#1193 by @nishkrishnan)
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.13.4. Simply set the above
flag to your desired default version to avoid any issues.
Docker
Diff v0.15.0..v0.15.1
v0.15.0
Description
Relatively small release with some bugfixes and a couple of features. Also sets
default Terraform version to 0.13.0.
Features
- Bump default Terraform version to 0.13.0
- Retry GitHub calls to prevent 404 issues (#1019)
- Update GitLab library to handle rate limiting issues (#1142 by @LAKostis)
- Alpine version n Docker image is now 3.12 (up from 3.11) (#1136 by @lazzurs)
- Add new flag
--skip-clone-no-changes
that will skip cloning the repo during autoplan if there are no changes to Terraform projects.
This will only apply for GitHub and GitLab and only for repos that haveatlantis.yaml
files. (#1158 by @cucxabong) - Add new flag
--disable-autoplan
that will globally disable autoplanning. (#1159 by @ValdirGuerra)
Bugfixes
- Fix
--hide-prev-plan-comments
bug (#1009 by @goodspark) - Fix comment splitting bug (#1109 by @crainte)
- Fix Azure DevOps bug when cloning a repo with spaces in its name (#1079 by @mcdafydd)
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.13.0. Simply set the above
flag to your desired default version to avoid any issues. --repo-whitelist
is now deprecated in favour of--repo-allowlist
. The previous
flag will still work.
Docker
Diff v0.14.0..v0.15.0
v0.14.0
Description
This release brings a big new feature: the ability to install Atlantis as a GitHub App! Thanks to @unRob for this amazing feature.
Features
- Support installation via a GitHub App. See https://www.runatlantis.io/docs/access-credentials.html#github-app for instructions. (#1088 by @unRob)
- Add new
atlantis unlock
command that can be run on pull requests to discard all plans and unlock all projects associated with that PR. (#1091 by @parmouraly) - Add debug-level logging for GitHub calls (#1042 by @cket)
- The repo-relative directory is now available in custom workflows via the environment variable
REPO_REL_DIR
(#1063 by @llamahunter) - Upgrade the default Terraform version to 0.12.27.
- Update jQuery to 1.5.1 to fix a security issue with the older version.
- Update
gosu
in the Atlantis Docker image to 1.12 (#1104 by @lazzurs) - Ignore changes to
.tflint.hcl
(#1075 by @unRob)
Bugfixes
--write-git-credentials
now works with Azure DevOps (#1070 by @markbrennan)- Partly fix
--hide-prev-plan-comments
on GitHub Enterprise (#1072 by @goodspark) - Fix bug where Atlantis would auto-merge a PR if
apply
was run after the locks were discarded (Fixes #1006 by @parmouraly) - Fix bug when using
--hide-prev-plan-comments
where if a plan output was split across multiple comments only the first comment would get hidden (Fixes #1021 by @crainte)
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.27. Simply set the above
flag to your desired default version to avoid any issues.
Docker
Diff v0.13.0..v0.14.0
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.
Docker
Diff v0.12.0..v0.13.0
v0.12.0
v0.12.0
Description
This release contains one much-awaited GitHub-only feature: the ability to hide previous
plan comments with the --hide-prev-plan-comments
flag. It also contains
a host of other small features and fags.
Features
- GitHub: Add
--hide-prev-plan-comments
flag. When set, previous plan comments will be marked as outdated in GitHub's UI.
This collapses them making a PR with lots of plan comments easier to read. (#994 by @goodspark) - GitHub: Ignore draft PRs until they're changed to "ready for review". (#977 by @cket)
- Upgrade default Terraform version in Docker image to 0.12.24.
- Set
as_user
param when sending slack notifications so the message is decorated appropriately (#907 by @tmcevoy14) - Add Git LFS support (#872 by @remilapeyre)
- Add
--silence-vcs-status-no-plans
flag that silences VCS commit status when autoplan finds no projects to plan.
When set, Atlantis won't create any VCS statuses if there no projects to plan. (#959 by @cket) - Add
--disable-markdown-folding
flag that disables folding for long plan/apply outputs. (#960 by @mhumeSF) - Ignore casing when setting log levels, e.g.
--log-level=INFO
now works. (#976 by @jpreese) - Azure DevOps: Add policy checking. (#984 by @jpreese)
- Upgrade boltdb to latest maintained version. (#992 by @amasover)
Bugfixes
- Azure DevOps: Prevent pull request updated events from triggering autoplan when the event was caused by a change in approvals. (Fixes #946 by @mcdafydd)
Backwards Incompatibilities / Notes:
- GitHub draft PRs are now ignored until they're marked "ready for review" and opened as regular PRs.
- 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.24. Simply set the above
flag to your desired default version to avoid any issues.