Commit Graph

7597 Commits

Author SHA1 Message Date
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
Alex Dadgar
369a04b135 Deployment tests 2017-07-07 12:03:11 -07:00
Alex Dadgar
f32a9a5539 Non-Canary/Deployment Tests 2017-07-07 12:03:11 -07:00
Alex Dadgar
d72b270a51 Pull out in-place updating into a passed in function; reduce inputs to reconciler 2017-07-07 12:03:11 -07:00
Alex Dadgar
85e0d6fccd assign names 2017-07-07 12:03:11 -07:00
Alex Dadgar
1dabd206bb handle batch filtering 2017-07-07 12:03:11 -07:00
Alex Dadgar
4c9e5c34fa Remove old 2017-07-07 12:03:11 -07:00
Alex Dadgar
2dc0268406 Plan reuses job where possible 2017-07-07 12:03:11 -07:00
Alex Dadgar
201ad8bf40 Populate desired state per tg 2017-07-07 12:03:11 -07:00
Alex Dadgar
66789e81f2 Show canaries on plan 2017-07-07 12:03:11 -07:00
Alex Dadgar
662bc3941b handle annotations 2017-07-07 12:03:11 -07:00
Alex Dadgar
a7df708c14 Todos 2017-07-07 12:03:11 -07:00
Alex Dadgar
3ae7abac3a Some comments and cleanup 2017-07-07 12:03:11 -07:00
Alex Dadgar
4bbf24a875 Split reconcile file 2017-07-07 12:03:11 -07:00
Alex Dadgar
0d3c836c69 Small cleanup 2017-07-07 12:03:11 -07:00
Alex Dadgar
c16195a2ea Only upsert a job if the spec changes and push deployment creation into reconciler 2017-07-07 12:03:11 -07:00