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
Alex Dadgar
c86af4d9e9
Add watcher to server
2017-07-07 12:03:11 -07:00
Alex Dadgar
aeeb0a656d
comments
2017-07-07 12:03:11 -07:00
Alex Dadgar
3615ffdfac
batch test
2017-07-07 12:03:11 -07:00
Alex Dadgar
5d5e2879d2
Fix unnecessary evals
2017-07-07 12:03:11 -07:00
Alex Dadgar
bd02a845c8
more tests
2017-07-07 12:03:11 -07:00
Alex Dadgar
7e43ed746f
Deployment watcher tests
2017-07-07 12:03:11 -07:00
Alex Dadgar
05c710ddfb
Watcher
2017-07-07 12:03:11 -07:00
Alex Dadgar
7d9d85b4e5
Deployments list
2017-07-07 12:03:11 -07:00
Alex Dadgar
9213bb4f62
FSM Tests
2017-07-07 12:03:11 -07:00
Alex Dadgar
b6277af259
state store tests
2017-07-07 12:03:11 -07:00
Alex Dadgar
53f4952c56
initial impl
2017-07-07 12:03:11 -07:00
Alex Dadgar
0ec6d74338
update description of the alloc update factory function
2017-07-07 12:03:11 -07:00
Alex Dadgar
0d29972c8c
cleanup limit detection
2017-07-07 12:03:11 -07:00
Alex Dadgar
ff8c057cef
SpecChanged doesn't mutate passed job
2017-07-07 12:03:11 -07:00
Alex Dadgar
af7f93b56b
Fix canary handling
2017-07-07 12:03:11 -07:00