Paul Salaberria
1154a09536
Rename config structs
...
- Config to UserConfig
- FlagNames to Config
- Use AtlantisVersion to be clear
2018-03-11 23:38:33 +01:00
Paul Salaberria
d8f5ff71f3
Show atlantis version in index page
2018-03-11 23:12:37 +01:00
Luke Kysow
10e1bf0aaf
Merge pull request #61 from runatlantis/build-issues
...
Fix gometalint errors.
2018-03-11 14:29:00 -07:00
Luke Kysow
d9595867cd
Fix gometalint errors.
2018-03-11 14:19:16 -07:00
Luke Kysow
7d38501164
Merge pull request #60 from runatlantis/build-issues
...
Use ipv4 keyservers to fix failing builds.
2018-03-11 14:13:30 -07:00
Luke Kysow
18ef0df438
Use ipv4 keyservers to fix failing builds.
...
See https://github.com/nodejs/docker-node/issues/380
2018-03-11 14:12:52 -07:00
Luke Kysow
9d93674341
Merge pull request #59 from runatlantis/release-0.3.2
...
Release v0.3.2
v0.3.2
2018-03-11 13:43:48 -07:00
Luke Kysow
8ea055e103
Release v0.3.2
2018-03-11 13:42:35 -07:00
Luke Kysow
cb9470bed3
Merge pull request #56 from runatlantis/repo-whitelist
...
Security improvements
2018-03-11 13:40:33 -07:00
Luke Kysow
32e0b4003e
Small refactor to events_controller. Final tests.
2018-03-11 13:30:01 -07:00
Luke Kysow
0e6bae7226
Output usage on error.
2018-03-11 12:51:11 -07:00
Luke Kysow
394cd52c6d
Fix bug with whitelisting.
2018-03-08 23:40:55 -08:00
Luke Kysow
8ee9333e0d
Use repo whitelist on atlantis bootstrap.
...
Fix e2e tests.
2018-03-08 23:14:21 -08:00
Luke Kysow
f91947a397
Comment with error when unused arguments.
2018-03-08 23:10:02 -08:00
Luke Kysow
c9a9c2deb3
Update README. Fix gometalint errors.
2018-03-08 22:40:00 -08:00
Luke Kysow
31dc84853a
[Draft] Add --repo-whitelist option.
...
- this option is now required which breaks BC
- will validate that an event is coming from a repo that we trust
- started refactoring event_controller tests to use less mocks
2018-03-08 17:49:47 -08:00
Luke Kysow
f5658a707c
Implement repo whitelist.
2018-03-08 17:42:29 -08:00
Luke Kysow
5e5bc60bdc
Rename pointer receiver
2018-03-08 11:51:27 -08:00
Luke Kysow
e8ad2202c7
Add hostname to Repo model.
...
- Ended up changing how we parse the json so we do the validation in the
constructor of the Repo so it's the same everywhere.
- This is a preliminary commit to finish the repo whitelisting feature
2018-03-08 11:48:11 -08:00
Luke Kysow
47b6aef5a3
Add ErrEquals assert function.
2018-03-07 22:14:15 -08:00
Luke Kysow
b45ee9c86c
Set max column width for help output.
...
Also add > to flag description so easier to differentiate between a new
flag description.
2018-03-07 13:36:24 -08:00
Luke Kysow
54a438979e
Merge pull request #53 from runatlantis/lkysow-patch-1-1
...
Add credit to Hootsuite
2018-03-07 12:45:38 -08:00
Luke Kysow
12669bbc0b
Add credit to Hootsuite
...
Had to remove the "fork" because code searches didn't work.
2018-03-07 12:45:01 -08:00
Luke Kysow
35d3e14124
Add --allow-fork-prs option. Default to false.
...
Operating on forked pull requests is dangerous if it's a public repo
because anyone can make a pull request to a public repo. We default to
false like CircleCI and TravisCI who don't allow credentials to be
available on fork PRs.
2018-03-06 20:09:55 -08:00
Luke Kysow
4941456cb1
Warn on unset webhook secrets. Document security.
2018-03-06 17:31:51 -08:00
Luke Kysow
ec0014fc72
Add email for security reports.
2018-03-06 15:28:30 -08:00
Luke Kysow
21cf798626
Add Mailgun DNS records for emails
2018-03-06 15:26:11 -08:00
Luke Kysow
71a76a284d
Merge pull request #24 from runatlantis/release-0.3.1
...
Release 0.3.1
v0.3.1
2018-03-06 08:57:20 -08:00
Luke Kysow
e645674775
Release 0.3.1
2018-03-06 08:56:40 -08:00
Luke Kysow
6ef567f560
Merge pull request #23 from runatlantis/apply-bugfix
...
Fix bug where apply -d was using parent dir.
2018-03-06 08:56:08 -08:00
Luke Kysow
e6cdf15f07
Fix bug where apply -d was using parent dir.
...
- Fixes #22 . We were running apply in the parent directory.
- Also changes error message if no plans are found to apply.
2018-03-06 08:50:28 -08:00
Luke Kysow
4bd612833d
Merge pull request #21 from runatlantis/tf-refactor
...
Use root domain instead of naked domain
2018-03-04 21:33:36 -08:00
Luke Kysow
53bb6d5c8c
Use root domain instead of naked domain
2018-03-03 21:50:39 -08:00
Luke Kysow
e56f555359
Merge pull request #20 from runatlantis/runatlantis.io
...
Host site at www.runatlantis.io
2018-03-02 12:15:11 -08:00
Luke Kysow
49403c209e
Host site at www.runatlantis.io
...
- Terraform to host the site on S3 and CloudFront
2018-03-02 12:13:37 -08:00
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