Bootstrap is meant for a system that sets itself up. This command is
more like a testing mode so I want to rename it to avoid confusion.
Fixes#129 and came out of #117.
- This will make the help output easier to read. To accomplish this, we
needed to not set defaults via cobra because then the default would be
printed on another line which looks bad. So now we set the defaults
ourselves.
- Also had to update spf13/pflag to the version that supports newlines
in flag descriptions.
- added tests
- moved AutomaticEnv() call into the init() function of the server flag
so it's set when we run the tests. Before it was in main().
- Set SetTypeByDefaultValue to true so boolean flags can be specified as
env vars.
Add Apache 2 license and Hootsuite copyright to all golang
files. Add a disclaimer that the files have been modified
hereafter by contributors to this repo in order to abide
by the Apache 2 license requirements.
- this option is now required which breaks BC
- will validate that an event is coming from a repo that we trust
- started refactoring event_controller tests to use less mocks
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.
Add two new flags ssl-key-file and ssl-cert-file to enable Atlantis to serve over SSL natively instead of going through an NGINX proxy.
This is a squashed commit containing the primary work by @natemueller
* adding atlantis bootstrap mode to support getting started with atlantis for first time users
* removed unwanted confirm variable
* vendoring dependencies
* more vendoring
* more more and more vendoring
* comment about bootstrap package
* Proposed changes (#84)
* reviewed all the comments
* removing required approval flag since we will default to false
* first incomplete draft for project config and pre run refactor
* adding prerun and terraform 0.9 and above support
* partial review
* Changes from pull review. Fix approvals
* more clean up and refactor of terraform init and environment commands to support terraform 0.9.0 and above
* making apply similar to plan for appending extra arguments
* review
* missed apply executor changes and fixing tests