Commit Graph

2135 Commits

Author SHA1 Message Date
Luke Kysow
822ac114aa Merge pull request #137 from nickwu241/update-developing-docs
Update CONTRIBUTING.md atlantis command example, pluralize Webhook boxes
2018-05-30 15:10:45 +02:00
Luke Kysow
a708a59a1d Merge pull request #139 from runatlantis/rename-bootstrap
Rename bootstrap to testdrive.
2018-05-30 15:09:41 +02:00
nickwu241
b7e0aa1edf Update README.md to set Webhook secret 2018-05-30 08:22:48 -04:00
nickwu241
c26abe8906 Update CONTRIBUTING.md run example with --gh-webhook-secret 2018-05-30 08:22:04 -04:00
Luke Kysow
b4993b60ea Rename bootstrap to testdrive.
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.
2018-05-30 13:35:05 +02:00
Luke Kysow
1da0c39d3e Merge pull request #138 from runatlantis/wait-for-text
Wait for ngrok/atlantis output during bootstrap
2018-05-30 13:29:51 +02:00
Luke Kysow
f6fb11ecfb Wait for ngrok/atlantis output during bootstrap
Previously, we started ngrok/atlantis server in the background and then
did a sleep to ensure the processes were running or just assumed they
were up. Now, we wait for a specific output to ensure those processes
are running before continuing on with the rest of the script.

Fixes #92.
2018-05-30 13:22:38 +02:00
nickwu241
b4aebfb8e4 Add --repo-whitelist flag to CONTRIBUTING.md setup 2018-05-29 20:33:36 -04:00
nickwu241
1669c1b405 Delete trailing whitespace in README.md 2018-05-29 20:30:30 -04:00
nickwu241
2d89712c2e Change 'Add GitHub Webhook' check boxes section with plural nouns 2018-05-29 20:30:10 -04:00
Luke Kysow
2c06898d2a Merge pull request #135 from antonbabenko/patch-1
Added a note about terraform-aws-atlantis project
2018-05-28 10:40:34 +02:00
Anton Babenko
7c3117d731 Update README.md 2018-05-27 21:48:05 +02:00
Anton Babenko
b1e3689ad9 Added a note about terraform-aws-atlantis project 2018-05-26 23:23:36 +02:00
Luke Kysow
373f5fa0e5 Merge pull request #130 from johananl/bugfix/mv_terraform_error
Improve error handling
2018-05-26 18:43:49 +02:00
Johanan Liebermann
27f9b3a112 Handle fast errors in background tasks 2018-05-26 16:18:19 +02:00
Johanan Liebermann
7bb8a5b1e3 Terminate child processes properly
- Wait for cancel functions to complete before main function returns.
- Make executeCmd and executeBackgroundCmd variadic.
2018-05-26 15:06:58 +02:00
Luke Kysow
6ef52534a8 Merge pull request #134 from runatlantis/k8s-fix
Set ATLANTIS_PORT.
2018-05-26 12:55:42 +02:00
Luke Kysow
a2d1d3e11d Set ATLANTIS_PORT.
Kubernetes sets ATLANTIS_PORT to a tcp://... address which Atlantis then
tries to parse so we need to set it ourselves.

Also add "v" to the version to make it obvious that the Docker images
all start with v.
2018-05-26 12:54:03 +02:00
Luke Kysow
472b613c25 Merge pull request #133 from runatlantis/k8s-rebased
Kubernetes Manifests
2018-05-26 12:38:26 +02:00
Luke Kysow
ba8267dda0 Move Kube manifests into README.
Since the manifests need to be edited before they're applied to the
cluster I thought it best to list them in the README rather than as
files so it's more obvious that you can't just kubectl apply them.

I also removed the dns-ssl manifest because it was using
tazjin/kubernetes-letsencrypt which is no longer maintained and because
there are so many ways to do SSL and routing within Kubernetes that I
don't have a specific recommendation.
2018-05-26 12:36:23 +02:00
Paul Salaberria
0a26c963ce Add Kubernetes examples 2018-05-26 12:36:23 +02:00
Johanan Liebermann
daf0270480 Include command output in error 2018-05-25 18:13:50 +02:00
Johanan Liebermann
a2de603379 Begin doc comments with function's name 2018-05-25 00:01:31 +02:00
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
f802732990 Merge pull request #119 from runatlantis/workflows
Fix Docker images not building.
2018-04-29 12:22:53 -06:00
Luke Kysow
788159bafb Fix Docker images not building. 2018-04-29 12:08:22 -06:00
Luke Kysow
0ee7ea30f5 Merge pull request #118 from runatlantis/workflows
Test out new CircleCI workflows.
2018-04-29 12:01:09 -06:00
Luke Kysow
337ecb8a47 Test out new CircleCI workflows. 2018-04-29 11:57:09 -06:00
Luke Kysow
81a5a35e15 Merge pull request #116 from runatlantis/release-0.3.9
Release 0.3.9
v0.3.9
2018-04-26 10:07:15 -07:00
Luke Kysow
a31701bf7f Release 0.3.9 2018-04-26 11:06:52 -06:00
Luke Kysow
3138842b98 Merge pull request #115 from runatlantis/gitlab-approvals
Fix bug with GitLab approvals not being required
2018-04-26 10:04:09 -07:00
Luke Kysow
64ebc8dd2f Fix bug with GitLab approvals not being required
Updated to a patched version of go-gitlab with the correct fields set.
2018-04-26 10:54:27 -06:00
Luke Kysow
a89e2a111b Merge pull request #109 from clburlison/patch-1
docs: Minor correction with regards to `-var-file`
2018-04-18 18:56:10 -07:00
Clayton Burlison
5b5ccc391f docs: Minor correction with regards to -var-file
`-tfvars=` isn't a valid terraform argument.
2018-04-18 10:19:37 -05:00
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