Commit Graph

7627 Commits

Author SHA1 Message Date
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
Alex Dadgar
bab25f6834 deployment status 2017-07-07 12:07:07 -07:00
Alex Dadgar
dc3d500119 deployment list 2017-07-07 12:07:07 -07:00
Alex Dadgar
3d77a58f28 small fixes 2017-07-07 12:07:07 -07:00
Alex Dadgar
fbd2b73904 job revert 2017-07-07 12:07:07 -07:00
Alex Dadgar
3935656d14 Show submit time 2017-07-07 12:07:07 -07:00
Alex Dadgar
1c425defd8 job history 2017-07-07 12:05:57 -07:00
Alex Dadgar
9220836cb4 JobVersions returns struct with optional diff 2017-07-07 12:05:57 -07:00
Alex Dadgar
24635f8b95 Deployment GC
This PR implements the garbage collector for deployments. Deployments
will by default be garbage collected after 1 hour.
2017-07-07 12:05:57 -07:00
Alex Dadgar
86e49b97d9 Add config options 2017-07-07 12:05:56 -07:00
Alex Dadgar
d0a8332140 job deployment endpoint + api 2017-07-07 12:05:56 -07:00
Alex Dadgar
89d86bc4bd Deployments HTTP docs 2017-07-07 12:03:11 -07:00
Alex Dadgar
aa5bf9b49e deployment api 2017-07-07 12:03:11 -07:00
Alex Dadgar
31daf93779 HTTP Endpoints 2017-07-07 12:03:11 -07:00
Alex Dadgar
0ba6722aed more comment fixes 2017-07-07 12:03:11 -07:00
Alex Dadgar
174e4f7780 simplify the batcher's timers 2017-07-07 12:03:11 -07:00
Alex Dadgar
e6a1266696 Remove setters 2017-07-07 12:03:11 -07:00
Alex Dadgar
1a4bd26da4 comments on watcher 2017-07-07 12:03:11 -07:00
Alex Dadgar
28e4fe7163 fix index 2017-07-07 12:03:11 -07:00
Alex Dadgar
bb0d97ab74 Fix tests 2017-07-07 12:03:11 -07:00
Alex Dadgar
d3e02c6d7c Tests 2017-07-07 12:03:11 -07:00
Alex Dadgar
6019915236 FailDeployment 2017-07-07 12:03:11 -07:00
Alex Dadgar
6aae18ec1f fix integration slightly 2017-07-07 12:03:11 -07:00