Commit Graph

402 Commits

Author SHA1 Message Date
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
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
Luke Kysow
fa4cc85453 Update README to repo-whitelist clearer. 2018-03-14 20:25:00 -07:00
Luke Kysow
2b63abba06 Merge pull request #67 from runatlantis/release-0.3.3
Release 0.3.3
v0.3.3
2018-03-14 15:44:30 -07:00
Luke Kysow
599886b57b Release 0.3.3 2018-03-14 15:40:54 -07:00
Luke Kysow
28a9a1b220 Merge pull request #66 from runatlantis/comment-size
Split GitHub comments into multiple if over max.
2018-03-14 15:36:56 -07:00
Luke Kysow
b7e58e2378 Split GitHub comments into multiple if over max.
Fixes #55. GitHub will throw an error if the comment is over
65535 characters. Now we will split up a comment into multiple
comments if it's over that size.
2018-03-14 15:28:22 -07:00
Luke Kysow
792df5c0f9 Merge pull request #64 from runatlantis/website-version
Atlantis version in footer
2018-03-14 13:18:45 -07:00
Luke Kysow
5ba6be893a Merge pull request #65 from psalaberria002/patch-1
Add psalaberria002 to credits
2018-03-14 13:17:51 -07:00
psalaberria002
c8960fa49a Add psalaberria002 to credits 2018-03-14 19:46:35 +01:00
Luke Kysow
359dd43f27 Put Atlantis version in footer. 2018-03-14 10:16:48 -07:00
Luke Kysow
a0f05f7001 Use const for version. Fix tests, format. 2018-03-14 10:04:09 -07:00
Luke Kysow
d8569d366a Merge pull request #57 from psalaberria002/version
Show atlantis version in index page
2018-03-14 09:57:52 -07:00
Luke Kysow
1b00e5a0bb Update web_templates.go 2018-03-14 09:57:21 -07:00
Luke Kysow
d9ff7cff7b Don't rename some comments 2018-03-12 09:40:46 -07:00
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