Commit Graph

577 Commits

Author SHA1 Message Date
Luke Kysow
78b1ea25d5 Refactor draining feature
- trigger on SIGTERM/INT rather than HTTP POST
- remove atlantis drain command
- refactor into generic status controller
2020-05-25 15:03:08 -07:00
Benoit BERAUD
fa6477984c Fix failing test 2020-05-05 16:36:34 +02:00
Benoit BERAUD
c8bbad6de7 Add even more tests 2020-05-05 16:17:43 +02:00
Benoit BERAUD
46a1fe0595 small fixes 2020-05-05 16:15:24 +02:00
Benoit BERAUD
6d42a56747 Move drainage checks to the async command runner 2020-05-05 16:15:24 +02:00
Benoit BERAUD
e64fbad5a3 Add drain operation + endpoint to clean properly the server before shutdown 2020-05-05 16:15:24 +02:00
Christopher Ketchum
9ce981fc6c Ignore Github draft PRs (#977)
* Ignore Github draft PRs
2020-04-20 21:04:19 -07:00
Luke Kysow
80347f4c1d Merge remote-tracking branch 'origin/master' into hide-comments 2020-04-15 21:47:58 -07:00
Luke Kysow
6e8b4eed16 Small refactor 2020-04-15 21:44:34 -07:00
John Reese
26467c7b66 Update approved requirement documentation to be consistent 2020-04-15 20:44:32 -07:00
Luke Kysow
418791868a Merge remote-tracking branch 'origin/master' into bolt-upgrade 2020-04-15 20:25:35 -07:00
Luke Kysow
cad1242b3e Merge remote-tracking branch 'origin/master' into bolt-upgrade 2020-04-15 20:18:59 -07:00
John Reese
9d97faf617 trigger test 2020-04-13 13:54:54 -04:00
John Reese
259db6d30c golint 2020-04-13 13:33:32 -04:00
John Reese
fd1f61a578 update status check 2020-04-13 13:30:49 -04:00
John Reese
23de79a36b update wrap 2020-04-13 13:27:28 -04:00
John Reese
f133db6570 merge conflicts 2020-04-13 13:25:07 -04:00
John Reese
68c2f1fc42 review fixes 2020-04-13 13:23:37 -04:00
Luke Kysow
82afe0b061 Fix lint issues 2020-04-13 10:04:37 -07:00
John Reese
3c0de2f81f Use latest azuredevops package 2020-04-11 17:36:26 -04:00
John Reese
39cd5b2df1 Use PullActive const 2020-04-10 21:38:09 -04:00
CJ Ketchum
611ed55c8c Fix parse URL tests 2020-04-10 14:36:53 -07:00
John Reese
ca3567d32c Update policy tests 2020-04-10 16:52:07 -04:00
John Reese
3efcd8feee Add merge policy 2020-04-10 16:27:04 -04:00
John Reese
01aae5e9e4 Implement checks for IsApproved 2020-04-10 15:14:40 -04:00
Aaron Masover
9980adaa3a Depend on bbolt 2020-04-06 16:58:32 -06:00
Mike Hume
35b6a1bdb2 Merge branch 'wrapped-default' into long-folding 2020-03-29 15:36:53 -07:00
CJ Ketchum
bc545844d3 Update autoplan so commit status is set only after finding projects (resolves #954) 2020-03-29 15:12:12 -07:00
Luke Kysow
b69336e477 Refactor cmd tests
- Remove config/env/flag override tests since we know that the overrides
work
- We'll no longer need to edit the tests now when we add new flags
2020-03-29 14:51:03 -07:00
David McPike
3da442d053 Fixes #946 2020-03-21 13:10:04 -05:00
Nathan Tindall
9972d8f1ae Implement marshal functions for Step (#913) 2020-03-13 08:16:33 -04:00
Mike Hume
62d3522d33 Adding --fold-long-output flag to toggle wrapped default 2020-02-18 01:48:28 -08:00
Sam Park
6a4236b24d Fix lints 2020-01-24 22:59:39 -08:00
Sam Park
3af4eb393e Mocks 2020-01-24 22:53:54 -08:00
Sam Park
782501b8e9 Add a flag to control hiding behavior 2020-01-24 22:09:29 -08:00
Sam Park
dcd43bead1 Add pagination 2020-01-24 21:51:01 -08:00
Sam Park
fd93af8a55 Fix body string check 2020-01-24 21:51:01 -08:00
Sam Park
041c45d4c1 Move hide comments call up sooner 2020-01-24 21:51:01 -08:00
Sam Park
68d2bd9ff0 Update server/events/vcs/proxy.go
Co-Authored-By: Luke Kysow <1034429+lkysow@users.noreply.github.com>
2020-01-24 21:51:01 -08:00
Sam Park
815e91be36 Add tests 2020-01-24 21:51:01 -08:00
Sam Park
b4af6bc53b Integ hide old comments to updatePull command runner
So that every pull update will auto clean older comments
2020-01-24 21:51:01 -08:00
Sam Park
610c9b2c37 Add hide old comments VCS interface function
And implement the Github version.

The Golang Github client recommends using shurcooL/githubv4.
2020-01-24 21:51:01 -08:00
Tracey McEvoy
82bc26db19 Set Slack parameter AsUser to true 2020-01-22 16:35:28 +00:00
Luke Kysow
87cc4fb594 Undo change to bindata 2020-01-20 12:46:48 -06:00
Josh Soref
2cf5b0a42a Spelling (#902)
Spelling fixes
2020-01-20 12:46:00 -06:00
Luke Kysow
16687bae3b Update tests 2020-01-20 10:32:01 -06:00
Luke Jolly
18208abdfc Added flag --silence-fork-pr-errors 2020-01-20 10:30:14 -06:00
Luke Kysow
0df4d924b3 Update test name 2020-01-20 10:24:54 -06:00
Josh Sinfield
e78cdd9524 Update defaultwhenmodified to include **/terragrunt.hcl (#858)
Update defaultwhenmodified to include **/terragrunt.hcl

This allows a pre-existing TG 0.19+ project to autoplan if no when_modified is set

Closes #803
2020-01-20 10:24:26 -06:00
Luke Kysow
ec92e43d4b Refactor --vcs-status-name flag. 2020-01-20 10:16:59 -06:00