This changeset has two features:
1. We now automatically download the version of terraform specified in
atlantis.yaml configs if we don't already have that version available
locally.
2. Add a new --default-tf-version flag that allows users to set a
default version of Terraform that we will also download if it's not on
disk.
These mean that users don't need to build custom Docker images to just
add terraform versions. It also means that upgrading the version of
terraform that is packaged with the Atlantis Docker image won't cause
issues for existing users because as long as they're running with
--default-tf-version, Atlantis will always use that version.
Features:
- remote plans and applies will set a commit status with a link to the
Terraform Enterpise UI where the streaming output can be viewed.
- because remote plans don't support the -out flag, we diff the plan
output between plan and apply phases to ensure users are applying the
plan they expected
How:
We add a new capability to execute a terraform command while
concurrently reading its real-time output and performing actions
accordingly.
Operating on forked pull requests is dangerous if it's a public repo
because anyone can make a pull request to a public repo. We default to
false like CircleCI and TravisCI who don't allow credentials to be
available on fork PRs.
* Adding docker image and release scripts
* Using circleci version 2
* now building dumb-init and gosu from source
* trying to fix e2e tests
* fixing working directory for circleci version 2
* start atlantis server and ngrok in the background
* Adding terraform to path and removing old decryption method for circleci
* adding terraform binary to the correct path
* ATLANTIS_URL is now being exported
* using circleci version 2 syntax to export variable
* using circleci version 2 syntax to export variable
* ngrok isnt working now
* Updating CHANGELOG
* Fixes after review and updated README.md