Preetha Appan
|
c7edbd5f41
|
newlines in test
|
2018-05-07 14:55:01 -05:00 |
|
Preetha Appan
|
4e75456beb
|
Fix deadlock in deadline timer logic when progress deadline is passed and the deployment is updated.
|
2018-05-07 14:55:01 -05:00 |
|
Preetha Appan
|
19b096d203
|
Set modify time for allocs in unit test, and define current time in one spot
|
2018-05-07 14:55:01 -05:00 |
|
Preetha Appan
|
4c377b112e
|
Fix panic in deployment watcher when deployment is not in the state store due to a gc
|
2018-05-07 14:55:01 -05:00 |
|
Alex Dadgar
|
768fec8505
|
Allow healthy canary deployment to skip progress deadline
|
2018-05-07 14:55:01 -05:00 |
|
Michael Schurter
|
a3038cefb4
|
typo: transistion -> transition
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
bd38675365
|
Fix tests
|
2018-05-07 14:50:01 -05:00 |
|
Preetha Appan
|
b2b773e696
|
better comments and remove commented code
|
2018-05-07 14:50:01 -05:00 |
|
Preetha Appan
|
90a2311cef
|
Fix deadlock in deployment watcher when deployment starts with no allocations and eventually has failed allocations
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
8d50955054
|
Fix typos
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
641ef81cbf
|
Test fixes
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
8a81038cdb
|
Set Reschedule from deployment watcher
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
a510774451
|
Use UpdateAllocDesiredTransistion instead of UpsertEval but no transistions yet
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
fcf4f582d0
|
small review feedback fixes
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
9bff9024b3
|
add latest eval back
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
99e00fb774
|
Pass through timestamp
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
c49b5f9949
|
Handle progressed deployments and tests
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
9e75ea0a11
|
Deployment watcher based on deployment having progress deadline
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
1336002255
|
Progress deadline in deployment state
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
55b483709f
|
Fix tests
|
2018-05-07 14:50:01 -05:00 |
|
Alex Dadgar
|
ee50789c22
|
Initial implementation
|
2018-05-07 14:50:01 -05:00 |
|
Michael Schurter
|
0a17076ad2
|
refactor drainer into a subpkg
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
4844317cc2
|
Merge pull request #3890 from hashicorp/b-heartbeat
Heartbeat improvements and handling failures during establishing leadership
|
2018-03-12 14:41:59 -07:00 |
|
Josh Soref
|
173ce63fe9
|
spelling: transition
|
2018-03-11 19:06:05 +00:00 |
|
Josh Soref
|
88537de497
|
spelling: passed
|
2018-03-11 18:36:49 +00:00 |
|
Josh Soref
|
0869d9c4ee
|
spelling: deployments
|
2018-03-11 17:53:43 +00:00 |
|
Alex Dadgar
|
040599dae9
|
Fix leaking time.After function
|
2018-02-20 12:47:43 -08:00 |
|
Alex Dadgar
|
601177c250
|
Add escape hatches when non-leader
|
2018-02-20 10:22:15 -08:00 |
|
Preetha Appan
|
6468883cd1
|
Adds comment to handleRollbackValidity method and other small test readability fixes.
|
2017-11-03 17:05:15 -05:00 |
|
Preetha Appan
|
7526853b4b
|
Added more unit tests for testing rollback when job has identical spec to AllocHealth and DeploymentStatus endpoints.
|
2017-11-03 16:07:06 -05:00 |
|
Preetha Appan
|
b9f44c0ae0
|
Check that job version doesn't change when rollback does not occur due to identical spec
|
2017-11-03 15:46:37 -05:00 |
|
Preetha Appan
|
317fbf04b1
|
Adds SpecChanged check to alloc health and fail deployment end points, and other code review comments.
|
2017-11-03 15:33:34 -05:00 |
|
Preetha Appan
|
97474a1521
|
Clarify comment about infinite revert cycles
|
2017-11-03 14:25:14 -05:00 |
|
Preetha Appan
|
b5e7985461
|
Remove extra newline
|
2017-11-03 08:15:11 -05:00 |
|
Preetha Appan
|
abbe4103d1
|
Update rollback test to add a spec change, and add new test for rollback failed status
|
2017-11-02 19:53:27 -05:00 |
|
Preetha Appan
|
5505391663
|
Fixes auto revert to check if the job's spec has changed before reverting. This prevents infinite reverting when reverting to a job version that was previously stable, but not so after attempting a revert.
|
2017-11-02 19:53:27 -05:00 |
|
Alex Dadgar
|
c1cc51dbee
|
sync
|
2017-10-13 14:36:02 -07:00 |
|
Michael Schurter
|
a66c53d45a
|
Remove structs import from api
Goes a step further and removes structs import from api's tests as well
by moving GenerateUUID to its own package.
|
2017-09-29 10:36:08 -07:00 |
|
Alex Dadgar
|
84d06f6abe
|
Sync namespace changes
|
2017-09-07 17:04:21 -07:00 |
|
Alex Dadgar
|
abfc56a871
|
WatchCtx propogates context error
|
2017-09-06 17:37:40 -07:00 |
|
Alex Dadgar
|
8c69dd3fd3
|
Remove panic from testing
|
2017-08-31 10:42:58 -07:00 |
|
Alex Dadgar
|
590ff91bf3
|
Deployment watcher takes state store
|
2017-08-30 18:51:59 -07:00 |
|
Alex Dadgar
|
782abf4098
|
Fix race creating EvalFuture
This PR fixes https://github.com/hashicorp/nomad/issues/3044
|
2017-08-17 13:23:58 -07:00 |
|
Alex Dadgar
|
f64b05a001
|
Deployment desc when no stable job and autorevert
This PR adds a specialized description when the job has autorevert set
and there is no job to revert to.
|
2017-08-12 15:50:51 -07:00 |
|
Luke Farnell
|
f0ced87b95
|
fixed all spelling mistakes for goreport
|
2017-08-07 17:13:05 -04:00 |
|
Alex Dadgar
|
219ef8a640
|
parallel deploymentwatcher tests
|
2017-07-21 19:23:24 -07:00 |
|
Alex Dadgar
|
d3409d10c4
|
Remove comment
|
2017-07-21 15:55:43 -07:00 |
|
Alex Dadgar
|
0eaea964ed
|
Improve shutdown code
|
2017-07-21 15:44:51 -07:00 |
|
Alex Dadgar
|
30efd5a27a
|
Skip error log on shutdown
This PR fixes the detection of a shutdown scenario and squelches the
error log.
|
2017-07-19 11:15:53 -07:00 |
|
Alex Dadgar
|
cb966e550d
|
fix blocking queries in deployment watcher
|
2017-07-18 13:02:40 -07:00 |
|