Commit Graph

349 Commits

Author SHA1 Message Date
Luke Kysow
7709f3625a Remember to re-run the master build on release. 2018-03-02 12:13:23 -08:00
Luke Kysow
215544e6cb Merge pull request #18 from runatlantis/release-0.3.0
Release 0.3.0
v0.3.0
2018-02-28 11:26:59 -08:00
Luke Kysow
7dfcbaaf0c Release 0.3.0 2018-02-28 11:25:48 -08:00
Luke Kysow
efe736e125 Merge pull request #16 from runatlantis/new-comments
Faster comment feedback. Fix security issue.
2018-02-28 11:09:52 -08:00
Luke Kysow
a24d940f5d Rename DetermineCommand to Parse 2018-02-28 11:04:28 -08:00
Luke Kysow
2af2f10cbc Ensure quotes are escaped for extra args. 2018-02-28 10:52:53 -08:00
Luke Kysow
a09ad79405 Refactor comment parsing into own class. 2018-02-28 10:42:21 -08:00
Luke Kysow
ab1d36d2c8 Comment back on pull request sooner on error.
- Refactor EventParser so it returns a comment we can send to the pull
request when a bad command or help command is commented.
- Remove now unneeded HelpExecutor because we comment right from the
EventsController now
- Use pflag package to parse commands instead of doing it manually
- Comment back when user types terraform instead of atlantis
2018-02-27 17:45:05 -08:00
Luke Kysow
9586c87246 Use pullNum instead of pull model in CreateComment
This will enable us to use the CreateComment function
without having the full pull request model.
2018-02-27 14:49:26 -08:00
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