Commit Graph

22 Commits

Author SHA1 Message Date
Johanan Liebermann
e80120ebf4 Mark exec.Command with nosec 2018-05-23 22:55:11 +02:00
Johanan Liebermann
b8998fc35c Fix error re-declaration 2018-05-23 22:51:44 +02:00
Johanan Liebermann
daa246f71d Improve error handling in bootstrap
Separate quick operations (copy a file) from long-running, background
operations (run ngrok).

Use context to cancel background tasks.
2018-05-23 18:51:11 +02:00
Johanan Liebermann
304171b718 Add missing newline 2018-05-23 18:46:38 +02:00
Johanan Liebermann
68f63f8eee Check error from terraformCmd.Wait()
Error is silently ignored at the moment, which causes the process
to continue even if the Terraform executable could not be moved
to /usr/local/bin.
2018-05-23 14:31:49 +02:00
Luke Kysow
551f895087 Use custom ngrok config so we can specify api url.
We use a config file so we can set ngrok's API port (web_addr). We use
the API to get the public URL and if there's already ngrok running, it
will just choose a random API port and we won't be able to get the right
url.
2018-03-29 15:11:16 -07:00
Luke Kysow
dcb73d2f31 Error during atlantis bootstrap if ngrok running 2018-03-20 12:46:22 -07:00
Luke Kysow
8aca81966f Add Apache 2 license and copyright.
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.
2018-03-15 17:25:02 -07:00
Luke Kysow
8ee9333e0d Use repo whitelist on atlantis bootstrap.
Fix e2e tests.
2018-03-08 23:14:21 -08:00
Luke Kysow
6c159feff4 Rename to runatlantis from atlantisnorth. 2018-02-18 21:28:18 -08:00
Luke Kysow
e4d7ebf3d7 Use correct repo 2018-02-06 17:37:47 -08:00
Luke Kysow
0299d3ee12 Move to new atlantisnorth repo 2018-02-06 13:29:36 -08:00
Luke Kysow
e5b06454ba Fix gas linter errors. Disable err checking since that's handled by errcheck 2017-11-27 21:04:14 -08:00
Luke Kysow
cc924899e5 Add documentation for server, bootstrap and server/events packages 2017-11-26 21:41:06 -08:00
Luke Kysow
73d04fb89a Add gometalint. Fix errors (#176) 2017-10-31 20:07:41 -07:00
Luke Kysow
03317b9aa4 Refactoring to enable easier command testing 2017-10-28 09:30:06 -07:00
Luke Kysow
9626b5f263 Run fmt, vet, and megacheck on builds (#164)
* Run fmt, vet, and megacheck on builds

* Fix govet and megacheck issues
2017-10-23 11:11:03 -07:00
Luke Kysow
433f8875c3 Make bootstrap re-runnable. README edits 2017-08-01 22:37:20 -07:00
Anubhav Mishra
6281704560 update link in bootstrap mode (#94)
* update link in bootstrap mode

* Adding atlantis logo to README
2017-08-01 16:41:33 -07:00
Anubhav Mishra
9efdfa998b Update bootstrap example repo (#90)
* bootstrap mode will now fork hootsuite/atlantis-example repo

* use hootsuite repo name for creating pull request
2017-07-31 13:27:44 -07:00
Luke Kysow
e728d2548b Add Getting Started instructions. Rename gh-password to gh-token 2017-07-27 13:51:48 -07:00
Anubhav Mishra
c37e8f3590 adding atlantis bootstrap mode to support getting started with atlant… (#80)
* 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
2017-07-18 22:02:49 -07:00