Commit Graph

7649 Commits

Author SHA1 Message Date
Alex Dadgar
beb01f1754 test fixes 2017-07-07 14:11:27 -07:00
Alex Dadgar
50e3178d2d vendor 2017-07-07 12:18:14 -07:00
Alex Dadgar
38e50eedb1 check id method name changed 2017-07-07 12:15:09 -07:00
Alex Dadgar
0129455876 Rolling node drains using max_parallel and stagger
This PR adds rolling node drains done at max_parallel and stagger of the
update spec. It brings it inline with old behavior.
2017-07-07 12:12:48 -07:00
Michael Schurter
02447214d5 an user -> a user 2017-07-07 12:12:48 -07:00
Alex Dadgar
9eb2c8f848 Status description shows requiring promotion 2017-07-07 12:12:48 -07:00
Alex Dadgar
27048bb7fa events 2017-07-07 12:12:48 -07:00
Alex Dadgar
e1c631064a @jippi Changed my mind! Good suggestion 2017-07-07 12:12:48 -07:00
Alex Dadgar
466702a2db deployment status in job status view 2017-07-07 12:12:48 -07:00
Alex Dadgar
e5d8c0888f alloc-status 2017-07-07 12:12:48 -07:00
Alex Dadgar
c5b1e2dcc1 alloc-list shows version 2017-07-07 12:12:48 -07:00
Alex Dadgar
f3ffc3de4d Fix JobModifyIndex changing when job is marked stable 2017-07-07 12:12:48 -07:00
Alex Dadgar
5bcf2dd1f0 deployment status indicates whether canaries were promoted 2017-07-07 12:12:48 -07:00
Alex Dadgar
09af3f98b8 Fix broken things on deployment promote 2017-07-07 12:12:48 -07:00
Alex Dadgar
fe990ca3e0 Fix some tests, eval monitor shows deployment id and deployment cancels based on version 2017-07-07 12:12:48 -07:00
Alex Dadgar
53c129493a Vendor columnize 2017-07-07 12:11:39 -07:00
Alex Dadgar
6639f31c4a Fix some commands test 2017-07-07 12:11:39 -07:00
Alex Dadgar
f0a090c6e8 Disallow update stanza on batch jobs
This PR:
* disallows update stanzas on batch jobs
* undeprecates the stagger field
* changes the way warnings are returned
2017-07-07 12:11:39 -07:00
Alex Dadgar
78d1580992 Deployment from inplace updates tracks placed properly. 2017-07-07 12:10:04 -07:00
Alex Dadgar
6925255fe4 add to docs 2017-07-07 12:10:04 -07:00
Alex Dadgar
fec6f2ef57 Return the reverted job version 2017-07-07 12:10:04 -07:00
Alex Dadgar
34679cfd36 add reverted job version to deployment update response 2017-07-07 12:10:04 -07:00
Alex Dadgar
4e4c4a0f46 feedback 2017-07-07 12:10:04 -07:00
Alex Dadgar
65abc9ae41 HTTP API docs for job 2017-07-07 12:10:04 -07:00
Alex Dadgar
aaf5ab0a21 Job stability 2017-07-07 12:10:04 -07:00
Alex Dadgar
62550c1f4a Complete deployments mark jobs as stable
This PR allows jobs to be marked as stable automatically by a successful
deployment.
2017-07-07 12:10:04 -07:00
Alex Dadgar
b3ec146685 Respond to comments 2017-07-07 12:10:04 -07:00
Alex Dadgar
989aa56304 Remove canary 2017-07-07 12:10:04 -07:00
Alex Dadgar
b7088b3d40 plan apply tests 2017-07-07 12:10:04 -07:00
Alex Dadgar
127d43db88 Test scheduler's handling of canaries/inplace updates 2017-07-07 12:10:04 -07:00
Alex Dadgar
463d20e4f3 Test marking as complete 2017-07-07 12:10:04 -07:00
Alex Dadgar
690fc78091 Plan apply handles canaries and success is set via update 2017-07-07 12:10:04 -07:00
Alex Dadgar
598748d6d5 Fix handling of failed job 2017-07-07 12:10:04 -07:00
Alex Dadgar
29e31af007 Attach eval id 2017-07-07 12:10:04 -07:00
Alex Dadgar
0c6a1c0ee8 Mark complete 2017-07-07 12:10:04 -07:00
Alex Dadgar
71c7c45cf6 Change canary handling 2017-07-07 12:10:04 -07:00
Alex Dadgar
e5b1e3171c Remove promoted bit from allocation 2017-07-07 12:10:04 -07:00
Alex Dadgar
c3626cd5ea vendor file 2017-07-07 12:10:04 -07:00
Alex Dadgar
591ef9c9f3 Rename CreateDeployments and remove cancelling behavior in state_store 2017-07-07 12:10:04 -07:00
Alex Dadgar
b8ba29bf93 Warn log 2017-07-07 12:10:04 -07:00
Alex Dadgar
f72bbaa370 Client watches for allocation health using task state and Consul checks
This PR adds watching of allocation health at the client. The client can
watch for health based on the tasks running on time and also based on
the consul checks passing.
2017-07-07 12:10:04 -07:00
Alex Dadgar
d165f65013 watcher per alloc 2017-07-07 12:07:08 -07:00
Alex Dadgar
8e58ddcceb Update index 2017-07-07 12:07:08 -07:00
Alex Dadgar
da82a6e814 initial watcher 2017-07-07 12:07:08 -07:00
Alex Dadgar
7e507719f8 Add deployment id to alloc 2017-07-07 12:07:08 -07:00
Alex Dadgar
74563518b6 Small fixes 2017-07-07 12:07:08 -07:00
Alex Dadgar
468c886282 Formatting abilities 2017-07-07 12:07:07 -07:00
Alex Dadgar
4ce7b62105 job deployments 2017-07-07 12:07:07 -07:00
Alex Dadgar
004a766171 deployment promote 2017-07-07 12:07:07 -07:00
Alex Dadgar
d18a3df789 fail,pause,resume commands 2017-07-07 12:07:07 -07:00