Luke Kysow
c8fa9fc2d0
Merge pull request #107 from 247Sports/task/upgrade-to-tf-0.11.7
...
Add checksum verification for Terraform binaries, upgrade Terraform to 0.11.7
v0.3.8
2018-04-15 20:31:09 -07:00
Luke Kysow
3f7253eb37
Update CHANGELOG.md
2018-04-15 20:30:32 -07:00
Tim O'Guin
c47b6df350
Bump Atlantis version to 0.3.8
2018-04-12 19:34:45 -05:00
Tim O'Guin
9a91e2c39e
Upgrade Terraform to 0.11.7 in Docker image, add checksum verification
2018-04-12 19:34:45 -05:00
Chase Coney
3dcabc4d5b
Upgrade Terraform Version to Latest Stable
2018-04-12 11:40:41 -05:00
Luke Kysow
68596c376b
Merge pull request #105 from runatlantis/release-0.3.7
...
Release 0.3.7
v0.3.7
2018-04-09 08:28:31 -07:00
Luke Kysow
0cf4836222
Release 0.3.7
2018-04-09 08:09:57 -07:00
Luke Kysow
eb7d6c6a0b
Merge pull request #101 from runatlantis/readme-update
...
Document Atlantis user requirements.
2018-03-30 13:38:05 -07:00
Luke Kysow
6c86d13bf8
Merge pull request #100 from runatlantis/whitelist-case
...
Make repo whitelist case insensitive.
2018-03-30 13:36:52 -07:00
Luke Kysow
497850a1c4
Document Atlantis user requirements.
...
Atlantis must be a collaborator to set commit statuses.
2018-03-30 13:35:36 -07:00
Luke Kysow
3f5ad53af6
Make repo whitelist case insensitive.
...
This is okay to do because it's a better user experience and because
GitLab and GitHub project names are case insensitive as well.
2018-03-30 12:59:22 -07:00
Luke Kysow
f016d642ae
Merge pull request #98 from 247Sports/task/tf-0-11-5
...
Upgrade latest TF to 0.11.5 in Dockerfile
2018-03-30 12:38:04 -07:00
Tim O'Guin
8989526360
Upgrade latest TF to 0.11.5 in Dockerfile
2018-03-30 09:16:14 -05:00
Luke Kysow
7d181d27a6
Merge pull request #94 from runatlantis/release-0.3.6
...
Release 0.3.6.
v0.3.6
2018-03-29 15:42:41 -07:00
Luke Kysow
3824e3c2e8
Release 0.3.6.
2018-03-29 15:27:37 -07:00
Luke Kysow
e84ce0b394
Merge pull request #93 from runatlantis/bootstrap
...
Use custom ngrok config so we can specify api url.
2018-03-29 15:23:23 -07: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
9e47d11bbe
Merge pull request #91 from runatlantis/newline-flags
...
Add newlines between flags in help output.
2018-03-28 12:26:21 -07:00
Luke Kysow
74d4cc6cef
Add newlines between flags in help output.
...
- 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.
2018-03-28 12:19:48 -07:00
Luke Kysow
5d1722be70
Merge pull request #87 from runatlantis/repo-host-refactor
...
Move vcs host type (github or gitlab) into `models` package
2018-03-28 12:18:54 -07:00
Luke Kysow
f21cf09417
Refactor to use VCS Host in Repo model.
2018-03-27 12:43:20 -07:00
Luke Kysow
7117586bc6
Move VCSHost into models.
...
This will enable using the VCS type in other packages and avoid circular
dependencies. It also makes sense that this is part of the Repo model.
2018-03-27 12:00:52 -07:00
Luke Kysow
2058acf5d2
Merge pull request #85 from runatlantis/release-0.3.5
...
Release 0.3.5.
v0.3.5
2018-03-23 13:13:05 -07:00
Luke Kysow
823cc7c5cf
Release 0.3.5.
2018-03-23 13:09:28 -07:00
Luke Kysow
9615702287
Merge pull request #84 from runatlantis/log-status
...
Log if err updating commit status.
2018-03-23 12:38:08 -07:00
Luke Kysow
102d3f60c2
Log if err updating commit status.
2018-03-23 11:06:51 -07:00
Luke Kysow
0ad25e68f1
Merge pull request #83 from runatlantis/release-0.3.4
...
Release 0.3.4.
v0.3.4
2018-03-20 15:31:57 -07:00
Luke Kysow
eb5f731d91
Release 0.3.4.
2018-03-20 15:19:30 -07:00
Luke Kysow
6bf86df046
Merge pull request #82 from runatlantis/speedup
...
Add plugin cache. Don't run workspace if unneeded.
2018-03-20 15:08:47 -07:00
Luke Kysow
b507bd0712
Add plugin cache. Don't run workspace if unneeded.
...
- run terraform with TF_PLUGIN_CACHE_DIR set so that terraform init will
be faster.
- check which workspace we're in and don't switch unless we need to.
- run terraform with TF_IN_AUTOMATION set so the plan output doesn't
have instructions that don't make sense. Ex.
```
This plan was saved to: /tmp/atlantis/data/repos/lkysow/atlantis-example/3/default/default.tfplan
To perform exactly these actions, run the following command to apply:
terraform apply "/tmp/atlantis/data/repos/lkysow/atlantis-example/3/default/default.tfplan"
```
2018-03-20 15:05:12 -07:00
Luke Kysow
2dbb894a67
Merge pull request #81 from runatlantis/bootstrap
...
Error during atlantis bootstrap if ngrok running
2018-03-20 14:05:28 -07:00
Luke Kysow
9ce2704cd8
Merge pull request #78 from runatlantis/workspace-validation
...
Validate workspace the same way as Terraform.
2018-03-20 12:55:22 -07:00
Luke Kysow
dcb73d2f31
Error during atlantis bootstrap if ngrok running
2018-03-20 12:46:22 -07:00
Luke Kysow
9b80b0f66f
Merge pull request #80 from runatlantis/envvars
...
Allow specifying config values as environment variables
2018-03-20 12:19:52 -07:00
Luke Kysow
c8f68e2297
Refactor env var work and add tests.
...
- 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.
2018-03-20 12:13:45 -07:00
Luke Kysow
85ab7475f8
Validate workspace the same way as Terraform.
...
Saw in the TF code how they were validating workspace names
and decided to do the same. '..' is actually a valid TF workspace but we
don't support that.
2018-03-19 20:27:02 -07:00
Paul Salaberria
8c2e02519e
Get configs from environment variables
2018-03-17 00:28:10 +01:00
Luke Kysow
c7c582cec4
Merge pull request #76 from runatlantis/builds
...
Fix Dockerfile build failures.
2018-03-16 13:55:47 -07:00
Luke Kysow
2ead2fd800
Fix Dockerfile build failures.
...
Following advice from https://github.com/tianon/gosu/issues/35
2018-03-16 13:52:37 -07:00
Luke Kysow
b39cdd74d8
Merge pull request #75 from runatlantis/builds
...
Workaround for gometalint randomly failing.
2018-03-16 13:29:57 -07:00
Luke Kysow
64dcd781f8
Workaround for gometalint randomly failing.
2018-03-16 13:26:50 -07:00
Luke Kysow
e72e29e792
Merge pull request #74 from runatlantis/fork-pr-building
...
Don't run e2e tests on fork PRs.
2018-03-16 13:22:20 -07:00
Luke Kysow
48763e7345
Don't run e2e tests on fork PRs.
2018-03-16 13:18:43 -07:00
Luke Kysow
7684d948ec
Merge pull request #73 from runatlantis/go-report
...
Add goreport card badge.
2018-03-16 13:15:31 -07:00
Michael Simo
fc947004eb
Update extra_arguments schema example ( #70 )
...
* Removed reference to tfvars as this was misleading when used in
conjuntion with preplan.
* updated the terraform_version example that's referenced
when doing a mock run of the schema.
* Updated varfile name to recommended name
2018-03-16 13:09:39 -07:00
Luke Kysow
20ba1f59f7
Add go report card badge to README.
2018-03-16 13:05:32 -07:00
Luke Kysow
566febeec4
Merge pull request #69 from runatlantis/license
...
Add Apache 2 license and copyright.
2018-03-15 17:51:19 -07:00
Luke Kysow
df13cb6ff3
Merge branch 'master' into license
2018-03-15 17:51:05 -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
59bed85a51
Merge pull request #63 from runatlantis/readme
...
Update README to repo-whitelist clearer.
2018-03-14 20:44:04 -07:00