Commit Graph

340 Commits

Author SHA1 Message Date
Luke Kysow
75e90c1917 Quote extra comment args.
To avoid an attacker prepending something like
atlantis plan -- ; cat /etc/passwd
2018-02-27 12:55:26 -08:00
Luke Kysow
165e432c85 Merge pull request #15 from runatlantis/new-blog
Use new blog on medium.com: medium.com/runatlantis
2018-02-26 16:55:49 -08:00
Luke Kysow
bfce959202 Use new blog on medium.com: medium.com/runatlantis 2018-02-26 16:48:03 -08:00
Luke Kysow
7a920c729f Update README.md 2018-02-26 16:26:00 -08:00
Luke Kysow
6ad7d1d140 Update README.md 2018-02-26 16:24:41 -08:00
Luke Kysow
6f8dadfa3a Update README.md 2018-02-26 16:23:49 -08:00
Luke Kysow
ee48039742 Merge pull request #14 from runatlantis/comment-syntax
Add -w workspace and -d directory flags to plan/apply comments
2018-02-26 15:15:37 -08:00
Luke Kysow
3ec956ea0a Update README.md 2018-02-26 15:15:17 -08:00
Luke Kysow
0fd503da8a Update README for new flags. 2018-02-26 15:10:04 -08:00
Luke Kysow
6dd82c6de1 Validate directory flag. Unlock on preexecute err.
Ensure -d flag uses relative dirs and doesn't allow for
directory traversal.

Fix bug where if there was an error in PreExecute, we
wouldn't unlock, leaving a possibly abandoned lock.
2018-02-26 14:32:06 -08:00
Luke Kysow
0d1f50a7a8 Implement parsing for -w and -d flags. 2018-02-22 17:31:24 -08:00
Luke Kysow
cf4fd37158 Merge pull request #13 from runatlantis/modules
Fix bug with top-level modules/ directory.
2018-02-20 17:32:49 -08:00
Luke Kysow
6b0eece5c9 Fix bug with top-level modules/ directory.
Fixes #12. Previously we would assume that if there was a change
in any modules/ directory, we should run plan in the parent. Now
we first check whether the parent has a main.tf file. If it doesn't
then we assume it's not actually the root of a project.
2018-02-20 12:54:10 -08:00
Luke Kysow
486d3615de Merge pull request #10 from runatlantis/data-dir
Convert relative --data-dir paths to absolute.
2018-02-18 21:34:51 -08:00
Luke Kysow
2156022a0a Merge pull request #11 from runatlantis/runatlantis
Rename to runatlantis from atlantisnorth.
2018-02-18 21:34:28 -08:00
Luke Kysow
6c159feff4 Rename to runatlantis from atlantisnorth. 2018-02-18 21:28:18 -08:00
Luke Kysow
e2a02fd991 Convert relative --data-dir paths to absolute.
Fixes https://github.com/hootsuite/atlantis/issues/245
2018-02-16 10:06:46 -08:00
Luke Kysow
477cc797b6 Merge pull request #5 from atlantisnorth/atlantis-blog
Fix FAQ link and title on mobile
2018-02-10 16:47:16 -08:00
Luke Kysow
e63fd415ec Fix FAQ link and title on mobile 2018-02-10 16:46:17 -08:00
Luke Kysow
9cb7a3a826 Merge pull request #3 from atlantisnorth/atlantis-blog
Write blog post about moving to atlantisnorth
2018-02-08 12:07:49 -08:00
Luke Kysow
90db6642f2 Remove 'owls at hootsuite' from footer 2018-02-08 12:05:43 -08:00
Luke Kysow
73590820c2 Write blog post about moving to atlantisnorth 2018-02-08 12:05:43 -08:00
Luke Kysow
8709055a83 Merge pull request #2 from atlantisnorth/atlantisnorth
Use correct repo
2018-02-06 17:38:14 -08:00
Luke Kysow
e4d7ebf3d7 Use correct repo 2018-02-06 17:37:47 -08:00
Luke Kysow
3fe6aa34bc Merge pull request #1 from atlantisnorth/atlantisnorth
Move to new atlantisnorth repo
2018-02-06 13:30:23 -08:00
Luke Kysow
0299d3ee12 Move to new atlantisnorth repo 2018-02-06 13:29:36 -08:00
Josh Kodroff
0ed4b04bc2 Fix Pull/Merge request anchor link in README 2018-02-06 12:20:22 -08:00
Luke Kysow
2c0d9548ef Update Dockerfile docs (#242)
Don't recommend adding secrets to the Docker image (obviously!).
Instead use an example for adding a custom Terraform version.
2018-02-05 15:58:12 -05:00
Luke Kysow
77b28bf08b Update Docker image to TF 0.11.3 (#240) 2018-02-02 12:12:28 -08:00
so0k
f43cbc7f46 Update README to for pre/post exec (#237)
Fix incorrect environment variables in README.
2018-01-29 14:11:57 -08:00
Luke Kysow
036b4c8632 Release 0.2.3 (#234) v0.2.4 2018-01-23 11:45:43 -08:00
Luke Kysow
c54dd589c6 Native SSL Support (#233)
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
2018-01-23 11:32:22 -08:00
Luke Kysow
dd766b8ca8 Use 'SetBaseURL' to correctly set GitLab URL (#231)
This change updates server/server.go to set the GitLab URL using
the `Client.SetBaseURL` to set the base URL off of the configured
param. Previously even if a user set the `--gitlab-hostname` the
default URL for GitLab would not overriden to match this.
Work done by @jrasell

Closes #227
2018-01-15 21:53:51 -08:00
Luke Kysow
2b26dbbed3 Merge pull request #230 from hootsuite/website-upload
Use specific profile when updating website
2018-01-13 22:25:23 -08:00
Luke Kysow
a39329548b Use specific profile when updating website 2018-01-13 22:25:22 -08:00
Luke Kysow
5abc367944 Merge pull request #224 from hootsuite/env-fix
Env fix. Release 0.2.3
v0.2.3
2017-12-21 16:40:40 -08:00
Luke Kysow
3ce64bcd24 Update to 0.2.3 2017-12-21 16:36:02 -08:00
Luke Kysow
002980e423 Use env instead of workspace in 0.9 2017-12-21 16:34:49 -08:00
Luke Kysow
8581e84e0c Merge pull request #222 from hootsuite/changelog
Update changelog. Fix release instructions
2017-12-17 17:32:36 -08:00
Luke Kysow
818594a94a Update CONTRIBUTING.md 2017-12-17 17:32:20 -08:00
Luke Kysow
2493313db7 Update changelog. Fix release instructions 2017-12-17 17:30:03 -08:00
Luke Kysow
b655afa33e Merge pull request #221 from hootsuite/release-0.2.2
Release version 0.2.2
v0.2.2
2017-12-17 17:24:05 -08:00
Luke Kysow
9c11841b12 Release version 0.2.2 2017-12-17 17:23:13 -08:00
Luke Kysow
a9ada64599 Merge pull request #220 from hootsuite/terraform0.11
Rename Workspace to AtlantisWorkspace to avoid confusion
2017-12-17 17:19:44 -08:00
Luke Kysow
f72b674bd8 Rename Workspace to AtlantisWorkspace to avoid confusion 2017-12-17 17:16:04 -08:00
Luke Kysow
df05f8b79c Merge pull request #219 from hootsuite/terraform0.11
Use workspace instead of env for tf >=0.10
2017-12-17 17:12:50 -08:00
Luke Kysow
7c1220a655 Rename from environment to workspace 2017-12-17 16:46:49 -08:00
Luke Kysow
741295067a Use workspace instead of env for tf >=0.10 2017-12-17 15:40:39 -08:00
Luke Kysow
0109bcfcac Merge pull request #215 from hootsuite/safe-shutdown
Shut down server safely on SIGINT/TERM. Fixes #21
2017-12-17 14:45:20 -08:00
Luke Kysow
03481b54f5 Merge pull request #216 from hootsuite/golangversion
Use golang 1.9.2 for circleci. Hopefully fix metalint errors
2017-12-03 23:38:26 -08:00