Commit Graph

92 Commits

Author SHA1 Message Date
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
e61d5187d1 Make template printing deterministic 2017-10-18 06:44:44 -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
Luke Kysow
c59b422949 Fmt 2017-10-18 06:44:44 -07:00
Luke Kysow
4dbe8cd0ba Move non-server packages under events 2017-10-18 06:44:44 -07:00
Luke Kysow
55dfc23754 Split Planner into two interfaces 2017-10-18 06:44:44 -07:00
Luke Kysow
1c3fb84112 Move non-server code into events package 2017-10-18 06:44:44 -07:00
Luke Kysow
27e8f53368 Workspace takes only models as arguments 2017-10-18 06:44:44 -07:00
Luke Kysow
a20a5e7474 Run fmt 2017-10-18 06:44:44 -07:00
Luke Kysow
99e4f79f60 Refactor POST /events into its own controller 2017-10-18 06:44:44 -07:00
Luke Kysow
a2b6f2b4f1 Move server code into server package 2017-10-18 06:44:44 -07:00
Luke Kysow
6eeb61d790 Merge pull request #158 from hootsuite/refactoring
Refactor executors. Testing
2017-10-18 06:42:21 -07:00
Luke Kysow
a1d8dcce87 Test additional functionality for status updating 2017-10-12 22:22:28 -07:00
Luke Kysow
1d5efb9f1c Refactor executors. Testing 2017-10-12 22:05:59 -07:00
Luke Kysow
c777ba3067 Update to latest version of go-github (#157) 2017-10-12 23:36:09 -05:00
Luke Kysow
43bad69942 Test pull_closed_executor 2017-10-07 14:38:16 -07:00
Luke Kysow
770b07160b Run fmt 2017-10-06 13:35:35 -07:00
Luke Kysow
e2443aeaf7 Regenerate event_parsing mock 2017-10-06 10:14:18 -07:00
Luke Kysow
023b7742b1 Switch to pegomock for mocking 2017-10-06 10:14:18 -07:00
Luke Kysow
2f34003317 Interfaces for locking and workspace 2017-10-06 10:14:17 -07:00
Luke Kysow
ba236b3362 Test github_comment_renderer 2017-09-29 16:29:41 -07:00
Luke Kysow
7ee8a37d50 Ensure planfile is last arg to apply. Fixes #151 2017-09-28 08:03:05 -07:00
Anubhav Mishra
464cb2f961 Extra arguments environment variables (#150)
* first draft of the populate function

* Now extra arguments can use environment variables. Fixes #146

* now using environment variables while executing terraform commands for variables subsitution

* fix order of terraform command arguments

* Adding single quote around terraform command

* please work this time :)

* fix order for the quote

* fix order for the quote

* Adding single quote around terraform command

* now creating terraform command string to address bash interpolation

* now using 'sh' instead of 'bash' to execute terraform command and added docs about v and env after review
2017-09-25 11:47:02 -07:00
Luke Kysow
cbbd59d09c Move bindata to static package. Clean up coverage script (#149) 2017-09-22 17:58:30 -07:00
Luke Kysow
442cbae540 Run goimports 2017-09-17 18:06:52 -07:00
Luke Kysow
508123041d Test command_handler 2017-09-17 18:04:03 -07:00
Luke Kysow
21bf026229 Rename recover to logPanics to avoid collision with recover builtin 2017-09-17 16:16:31 -07:00
Luke Kysow
c3080810b2 Test HelpExecutor 2017-09-17 02:00:20 -07:00
Luke Kysow
6f9b8145a1 Test ExtractPullData() 2017-09-17 01:44:04 -07:00
Luke Kysow
012b0d4aee Test event_parser 2017-09-16 16:51:39 -07:00
Luke Kysow
7dc853d570 Test github_status. Create github.Client mock 2017-09-16 15:53:46 -07:00
Luke Kysow
b53e50b39f Add interface for github.Client 2017-09-16 15:09:10 -07:00
Luke Kysow
aa99adb27c New parsing of comments. Accept all flags 2017-08-22 17:22:17 -07:00
Luke Kysow
cc95d34705 Don't quote -var 2017-08-16 17:27:45 -07:00
Luke Kysow
5d353d0b49 No need to use -var when running apply 2017-08-16 11:11:31 -07:00
Luke Kysow
6dc9de175d Remove assume role functionality. Rely on Terraform. Fixes #112 2017-08-15 09:58:41 -07:00
Luke Kysow
69957a836f Merge pull request #120 from hootsuite/webhook-secret
Add ability to verify webhook secret. Fixes #34
2017-08-14 15:22:11 -07:00
Luke Kysow
ff0f32ca01 Add ability toverify webhook secret. Fixes #34 2017-08-13 22:28:38 -07:00
Anubhav Mishra
edf82586a7 Adding support for https cloning using github username and token prov… (#117)
* Adding support for https cloning using github username and token provided instead of using ssh

* Update event_parser.go

* now using new name for CloneURL that is sanitized and has no username and password
2017-08-13 10:50:42 -07:00
Jay Wallace
6f583aae62 fixed preapply commands and added postapply/postplan (#102)
* fixed preapply commands and added postapply

* removed duplicate code and pass in stage name. Added post_plan. Updated docs
2017-08-10 10:02:44 -07:00
Luke Kysow
433f8875c3 Make bootstrap re-runnable. README edits 2017-08-01 22:37:20 -07:00
Anubhav Mishra
1120087adf Updating icons (#93) 2017-08-01 15:30:56 -07:00
Luke Kysow
e728d2548b Add Getting Started instructions. Rename gh-password to gh-token 2017-07-27 13:51:48 -07:00
Anubhav Mishra
31a48e24c1 Use environment variables for terraform init, env new and env select (#85) 2017-07-18 19:12:23 -07:00
Anubhav Mishra
efd43f3492 Run terraform init and env select and new with version (#82)
* Run terraform init and env select and new with version

* Removing RunCommand now using RunCommandWithVersion
2017-07-18 11:29:28 -07:00
Luke Kysow
6258f01e76 Fix bug with error template (#83) 2017-07-18 11:04:55 -07:00
Luke Kysow
6ce0bba798 Pass in session to be assumed each time 2017-07-18 09:07:21 -07:00
Luke Kysow
99a0f0c4df Delete dynamodb locking code since Atlantis only works with disk right now 2017-07-12 09:46:45 -07:00