Commit Graph

259 Commits

Author SHA1 Message Date
Anubhav Mishra
2bb3ad3d1a Merge branch 'master' into e2e-tests 2017-06-17 14:44:35 -07:00
Luke Kysow
55c16a64cc Move ExecutionPath into apply_executor 2017-06-17 14:42:40 -07:00
Luke Kysow
99427d68e6 Make methods public 2017-06-17 14:37:12 -07:00
Anubhav Mishra
0522d4663c Removing rebase mess 2017-06-17 14:24:11 -07:00
Anubhav Mishra
8dd1d6cf46 Adding ci for atlantis 2017-06-17 14:20:51 -07:00
Luke Kysow
d425de95fa Refactoring
* set version in one place
* rename ExecutionContext to CommandContext
* delete unneeded PullRequestContext since it just duplicated what is in CommandContext
* split fields inside CommandContext into Repo, PullRequest, and User models
* clean up unused fields
* remove base_executor stuff which was trying to do inheritance in go and didn't get us anywhere
* clean up unused code and assets
* created a locking.Client that creates the Keys that are used on the front-end. This allows the backends to store the locks any way they like as long as they support the interface
2017-06-17 14:14:21 -07:00
Luke Kysow
57f188f95f Unlock locks when pull request merged (#19)
* Add new FindLocksForPull method to locking backends
* Listen for pull request closed events and delete locks
* DynamoDB handling its own serialization. Implement LocksByPull
* Fix routing to work with encoded lockID
* Move locking backends to individual packages
* Change flag from locking-table to locking-dynamodb-table
2017-06-13 22:48:34 -07:00
Anubhav Mishra
0d296be2dd fix github api url path for api.github.com 2017-06-10 19:44:44 -07:00
Luke Kysow
d1bda5ff28 Use cobra and viper for cli/config (#20)
* #15 Use cobra and viper for cli/config

* Run gofmt
2017-06-07 21:20:37 -07:00