Diptanu Choudhury
|
9a71225b9e
|
Removing references to old consul services and adding consul config to executor context
|
2016-03-23 12:19:19 -07:00 |
|
Alex Dadgar
|
55509e9f1b
|
Validate the artifact client side as well
|
2016-03-19 13:28:37 -07:00 |
|
Alex Dadgar
|
dc6531cee7
|
Test task runner downloading artifacts
|
2016-03-15 14:34:25 -07:00 |
|
Alex Dadgar
|
4c1be8e637
|
Get tests to pass
|
2016-03-15 13:28:57 -07:00 |
|
Alex Dadgar
|
bdc7fdebe1
|
Download artifacts and remove old code for drivers
|
2016-03-15 13:28:57 -07:00 |
|
Alex Dadgar
|
76856961af
|
Killing a docker container that is dead is not an error
|
2016-03-02 16:27:01 -08:00 |
|
Alex Dadgar
|
e0b1d7a963
|
Add Alloc ID/Name and Task Name to environment variables
|
2016-03-01 16:08:21 -08:00 |
|
Alex Dadgar
|
343fddb403
|
Acquire lock around handle
|
2016-02-29 10:45:08 -08:00 |
|
Alex Dadgar
|
e0224b8a35
|
Refactor task runner to include driver starting into restart policy and add recoverable errors
|
2016-02-28 16:56:05 -08:00 |
|
Diptanu Choudhury
|
7f8f6712c5
|
Adding version information to snapshots
|
2016-02-24 19:06:30 -08:00 |
|
Alex Dadgar
|
6d927a7525
|
Make updating alloc status async
|
2016-02-19 21:44:23 -08:00 |
|
Alex Dadgar
|
eb76d6d623
|
Client stores when it receives a task
|
2016-02-19 14:49:43 -08:00 |
|
Alex Dadgar
|
f1c80afcf3
|
Killing a driver handle is retried with an exponential backoff
|
2016-02-16 21:00:49 -08:00 |
|
Alex Dadgar
|
c3a2bf267a
|
go vet
|
2016-02-12 16:08:58 -08:00 |
|
Alex Dadgar
|
48de53aed1
|
Strip as much copystructure as possible
|
2016-02-10 17:54:43 -08:00 |
|
Alex Dadgar
|
5b3792a509
|
safe but slow
|
2016-02-10 13:44:53 -08:00 |
|
Alex Dadgar
|
e8f88d332a
|
Precise registration
|
2016-02-06 17:08:20 -08:00 |
|
Alex Dadgar
|
b290b8ef79
|
Update the consul service when the task/alloc changes
|
2016-02-06 17:08:20 -08:00 |
|
Alex Dadgar
|
03aca9887b
|
Client handles updates to KillTimeout and Restart Policy
|
2016-02-03 19:43:44 -08:00 |
|
Alex Dadgar
|
5d297a446f
|
Move restart tracker creation into task runner
|
2016-02-03 16:16:48 -08:00 |
|
Alex Dadgar
|
019883c5b1
|
Clean interaction between alloc-runner and task-runner
|
2016-02-02 11:09:29 -08:00 |
|
Alex Dadgar
|
c0ab75a7f9
|
Don't share task state with the alloc in the task runner
|
2016-02-01 17:47:53 -08:00 |
|
Alex Dadgar
|
b8a42786f3
|
merge
|
2016-01-11 09:58:26 -08:00 |
|
Alex Dadgar
|
3122433b47
|
merge
|
2015-12-18 12:17:13 -08:00 |
|
Diptanu Choudhury
|
042612d854
|
Moving the de-register once a task moves to DEAD state
|
2015-12-17 16:41:29 -08:00 |
|
Diptanu Choudhury
|
d4d7572604
|
Making the allocs hold service ids
|
2015-12-14 15:08:35 -08:00 |
|
Diptanu Choudhury
|
78555b509a
|
Tracking the tasks too
|
2015-11-24 17:26:30 -08:00 |
|
Diptanu Choudhury
|
b0c8cf6e36
|
Renamed consul client to service
|
2015-11-24 12:34:26 -08:00 |
|
Diptanu Choudhury
|
448ac3efd6
|
Registering Checks independently
|
2015-11-24 10:02:33 -08:00 |
|
Diptanu Choudhury
|
27ad0ad253
|
Making the restart tracker aware of the exit codes
|
2015-11-23 10:56:38 -08:00 |
|
Diptanu Choudhury
|
29491ad47a
|
Not restarting if a task exited properly
|
2015-11-22 23:47:15 -08:00 |
|
Diptanu Choudhury
|
1aff29bc52
|
Updating checks and services when allocs are refreshed
|
2015-11-18 17:33:29 -08:00 |
|
Diptanu Choudhury
|
929882426c
|
Defering calling the de-register from consul call when a service is not running
|
2015-11-18 02:37:34 -08:00 |
|
Diptanu Choudhury
|
392a807305
|
Moving the logic to find port and host inside consul client
|
2015-11-18 01:18:29 -08:00 |
|
Diptanu Choudhury
|
9a578c5c0d
|
Added the implementation of consul client
|
2015-11-18 00:50:45 -08:00 |
|
Alex Dadgar
|
baeea15aa2
|
Avoid calling destroy twice
|
2015-11-17 12:03:59 -08:00 |
|
Alex Dadgar
|
95222f6860
|
Change SetExitMessage from taking a string to an error
|
2015-11-16 15:14:21 -08:00 |
|
Alex Dadgar
|
9aa9a2244b
|
Use loop not recursion
|
2015-11-16 15:14:21 -08:00 |
|
Alex Dadgar
|
b692bcd0b4
|
Fix the capacity
|
2015-11-16 15:14:21 -08:00 |
|
Alex Dadgar
|
f4b461f97a
|
Track Task State in the client and capture Wait results
|
2015-11-16 15:14:21 -08:00 |
|
Diptanu Choudhury
|
007fc74fc1
|
Saving state of the Task Runner while it's trying to update it
|
2015-11-12 15:53:42 -08:00 |
|
Alex Dadgar
|
aec33179e5
|
Merge pull request #408 from hashicorp/f-client-restore
Client Restore State Fixes
|
2015-11-11 12:32:11 -08:00 |
|
Alex Dadgar
|
d885c6807a
|
Client restores state properly
|
2015-11-09 15:55:31 -08:00 |
|
Diptanu Choudhury
|
17cab6ebd7
|
Updating snapshots of a TaskRunner when status of Task changes
|
2015-11-09 12:36:07 -08:00 |
|
Alex Dadgar
|
7e996cf4a2
|
Don't set the alloc status twice when not restarting
|
2015-11-06 15:26:01 -08:00 |
|
Diptanu Choudhury
|
64c1a0b18c
|
Fixed some tests and refactored logic
|
2015-11-05 17:30:41 -08:00 |
|
Diptanu Choudhury
|
ad44e4eeb5
|
Added some comments to code
|
2015-11-05 16:48:15 -08:00 |
|
Diptanu Choudhury
|
af39146b03
|
Added the client word to log lines
|
2015-11-05 16:39:57 -08:00 |
|
Diptanu Choudhury
|
cf76e3a456
|
Passing restart tracker in the task runner
|
2015-11-05 16:38:19 -08:00 |
|
Diptanu Choudhury
|
2e168af9d3
|
Cleaned up the logic to calculate restart duration
|
2015-11-05 15:16:29 -08:00 |
|