Commit Graph

604 Commits

Author SHA1 Message Date
tammert
856170821c Changed default log level for web requests from INFO to DEBUG 2020-05-26 19:52:13 +02:00
Luke Kysow
df21016f81 Merge pull request #1049 from runatlantis/auto-generate-commit
Update go-github, empty automerge commit
2020-05-25 16:56:05 -07:00
Luke Kysow
7b2a0efc82 Merge pull request #1048 from runatlantis/update-pegomock
Update pegomock
2020-05-25 16:55:45 -07:00
CJ Ketchum
d7ce63742e Add test for plan-draft behavior 2020-05-25 16:45:38 -07:00
Christopher Ketchum
c300dee745 Add flag to toggle autoplanning on draft PRs 2020-05-25 16:28:55 -07:00
Luke Kysow
aa01df6f7d Merge pull request #1052 from runatlantis/draining
Draining cleanup
2020-05-25 15:45:54 -07:00
Luke Kysow
43ebee3175 Draining cleanup 2020-05-25 15:09:51 -07:00
Luke Kysow
909723f22e Merge pull request #1051 from runatlantis/draining
Support graceful shutdown
2020-05-25 15:09:25 -07:00
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
Luke Kysow
6418b57f55 Merge pull request #926 from segmentio/parallel-plans-upstream
Add support for parallel plans
2020-05-25 12:25:43 -07:00
Luke Kysow
3eaa67e1ef Update go-github, empty automerge commit
Using an empty auto-merge commit will cause GitHub to autogenerate its
own commit message like would happen when using the UI.
2020-05-25 12:07:52 -07:00
Luke Kysow
8979a5fd09 Update pegomock 2020-05-25 11:58:50 -07:00
Andrew Ring
3c87af9996 Release locks when closing draft PRs
If plan is run manually in a draft PR, the PR may hold locks. If
the draft PR is then closed, without first marking it Ready For
Review, the locks are left in place. To resolve this, we can
process closing draft PRs in the same way as non-draft PRs.
2020-05-13 10:35:22 -07:00
Marc Barlo
0e22d2baab gofmt -s 2020-05-08 10:01:47 -07:00
Marc Barlo
bebfdcaeef Add back the parallel_plan repo cfg option
+ Default parallel plans breaks in a lot of autoplan scenarios i.e. with shared workspaces
+ Added a set of e2e tests to check parallel plans and applies
+ Also added an option to the Terraform client to turn off the plugin cache. This was breaking the e2e test suite (never seen this error in practice)
2020-05-07 22:14:04 -07:00
Marc Barlo
7452d6aa13 Make parallel plans the default. Add flag for parallel apply 2020-05-05 18:15:10 -07:00
Marc Barlo
4d1899f032 Remove pool size option, set default to 15 2020-05-05 17:33:52 -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
Marc Barlo
d078357d65 Merge branch 'master' of github.com:runatlantis/atlantis into parallel-plans-upstream 2020-05-04 17:19:34 -07:00
Luke Kysow
3c0c59764e Refactor tests 2020-04-28 12:51:39 -07:00
mcdafydd
86cf4d31c6 Update server/events/project_locker_test.go
Co-Authored-By: Luke Kysow <1034429+lkysow@users.noreply.github.com>
2020-04-27 18:56:01 -05:00
David McPike
a3099f3af8 Change test to use NewClientProxy 2020-04-26 21:59:03 -05:00
David McPike
c8b2252704 Add VCSClient to server ProjectLocker and tests 2020-04-24 22:59:24 -05:00
David McPike
4651e39fe1 Update mock_client 2020-04-22 00:08:54 -05:00
David McPike
bc069d4b0c Add MarkdownPullLink function to VCS clients 2020-04-21 09:19:55 -05:00
David McPike
1ec57b855e Fixes #957 2020-04-21 09:19:55 -05: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