Luke Kysow
e9b7001266
Add godocs. Refactor ProjectResult. Golint errors.
2018-08-30 16:47:17 -06:00
Luke Kysow
33926a01f2
WebHook -> Webhook
2018-07-24 20:24:27 +02:00
Luke Kysow
e2930e48e5
Test bitbucket parsing
2018-07-20 13:27:25 +02:00
Luke Kysow
1fc4667c63
WIP bitbucket
2018-07-19 21:52:33 +02:00
Luke Kysow
d3ec832eff
WIP
2018-06-21 18:18:54 +01:00
Luke Kysow
d359131a29
RepoWhitelist -> RepoWhitelistChecker
2018-06-20 15:20:10 +01:00
Luke Kysow
0c966d50e9
GitlabRequestParser -> GitlabRequestParserValidator
2018-06-20 15:11:44 +01:00
Luke Kysow
8ab4857f77
Fix all tests
2018-06-15 16:16:31 +01:00
Luke Kysow
143fb82bd2
Use new mux.SetURLVars function for testing.
2018-05-30 18:48:12 +02:00
Luke Kysow
f21cf09417
Refactor to use VCS Host in Repo model.
2018-03-27 12:43:20 -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
32e0b4003e
Small refactor to events_controller. Final tests.
2018-03-11 13:30:01 -07: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
a24d940f5d
Rename DetermineCommand to Parse
2018-02-28 11:04:28 -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
6c159feff4
Rename to runatlantis from atlantisnorth.
2018-02-18 21:28:18 -08:00
Luke Kysow
0299d3ee12
Move to new atlantisnorth repo
2018-02-06 13:29:36 -08:00
Luke Kysow
acdf771ce7
Switch to newest pegomock library ( #205 )
2017-11-19 22:41:43 -08:00
Luke Kysow
fa43febf60
Gitlab ( #190 )
...
Gitlab initial implementation
2017-11-16 13:22:28 -08:00
Luke Kysow
3528ce60ca
Fix gometalint errors
2017-11-01 07:43:55 -07:00
Luke Kysow
65a07590de
Test server
2017-11-01 07:41:37 -07:00
Luke Kysow
73d04fb89a
Add gometalint. Fix errors ( #176 )
2017-10-31 20:07:41 -07:00
Luke Kysow
e8ba765e56
Refactor pull closed test
2017-10-18 08:22:06 -07:00
Luke Kysow
1caaaa03f7
Test pull request closed handling
2017-10-18 07:55:23 -07:00
Luke Kysow
aadd9ce367
Test EventsController Post()
2017-10-18 07:36:43 -07:00
Luke Kysow
fa047c5435
Refactor EventParser to not take reference to ctx
2017-10-18 06:44:44 -07:00
Luke Kysow
75a71a9bbf
Extract GHRequestValidator
2017-10-18 06:44:44 -07:00