Diptanu Choudhury
|
a9acc52b4e
|
Fixed validation logic for restart policy when interval is zero
|
2015-11-17 02:56:11 -05:00 |
|
Chris Bednarski
|
9f40143684
|
Merge branch 'master' into f-port-labels
|
2015-11-16 16:02:38 -08:00 |
|
Alex Dadgar
|
ea0edd8c2f
|
Change SetExitMessage from taking a string to an error
|
2015-11-16 15:14:21 -08:00 |
|
Alex Dadgar
|
6133917e33
|
Change event type to string
|
2015-11-16 15:14:21 -08:00 |
|
Alex Dadgar
|
82f51601db
|
Track Task State in the client and capture Wait results
|
2015-11-16 15:14:21 -08:00 |
|
Alex Dadgar
|
bdf7497f1b
|
Initialize task state in allocation sent by scheduler
|
2015-11-16 15:14:21 -08:00 |
|
Alex Dadgar
|
359251744f
|
Add TaskState to alloc
|
2015-11-16 15:14:21 -08:00 |
|
Alex Dadgar
|
ef417120a5
|
Avoid map[interface{}]interface{} conversions in the msgpack codec
|
2015-11-16 14:25:19 -08:00 |
|
Alex Dadgar
|
0b70879554
|
RawToSting true for structs codec. Needed for encoding strings in nil interfaces
|
2015-11-16 13:10:57 -08:00 |
|
Diptanu Choudhury
|
0238e27d5d
|
Fixed the structs test
|
2015-11-16 13:10:57 -08:00 |
|
Diptanu Choudhury
|
ba9f101660
|
Fixed the test related to setting env variables in tasks
|
2015-11-16 13:10:57 -08:00 |
|
Diptanu Choudhury
|
aae6047edc
|
DRYed the code
|
2015-11-16 13:10:57 -08:00 |
|
Diptanu Choudhury
|
4e05b27111
|
Implemented port labeling and driver configs
|
2015-11-16 13:10:57 -08:00 |
|
Alex Dadgar
|
a56c808ff8
|
Update Nomad Client/Server RPC codecs to use custom msgpackHandle
|
2015-11-15 18:27:02 -08:00 |
|
Diptanu Choudhury
|
dac4a036e4
|
Making sure a Task Group has a restart policy
|
2015-11-11 15:10:39 -08:00 |
|
Alex Dadgar
|
81420277fd
|
System jobs use Service restart policy
|
2015-11-06 12:38:25 -08:00 |
|
Ryan Uber
|
38b812178b
|
Merge pull request #366 from hashicorp/f-blocking
Support blocking queries
|
2015-11-04 11:18:50 -08:00 |
|
Ryan Uber
|
691b260cbe
|
nomad/watch: add a note about the Item struct
|
2015-11-04 11:18:17 -08:00 |
|
Clint Shryock
|
afc49a57da
|
go fmt this file
|
2015-11-03 15:54:29 -06:00 |
|
Diptanu Choudhury
|
b9eb12e5f9
|
Introducing vars to create default batch and service restart policies
|
2015-11-02 17:00:17 -08:00 |
|
Diptanu Choudhury
|
02d70eb5be
|
Fixed the tests
|
2015-11-02 15:04:04 -08:00 |
|
Diptanu Choudhury
|
7d301fb8b3
|
Declaring Batch and Service default restart policies
|
2015-11-02 13:35:51 -08:00 |
|
Diptanu Choudhury
|
52eb6c77af
|
Fixing tests to not create a TG without restart policies
|
2015-11-02 13:24:59 -08:00 |
|
Diptanu Choudhury
|
9139777ab7
|
Not validating task groups if it's nil in a job
|
2015-10-30 21:43:00 -07:00 |
|
Diptanu Choudhury
|
8133aa413a
|
Fixed grammer of comment
|
2015-10-30 21:06:56 -07:00 |
|
Diptanu Choudhury
|
bf105430ea
|
Added the restart policies to mocks
|
2015-10-30 18:34:23 -07:00 |
|
Diptanu Choudhury
|
c883f9496a
|
Added support for parsing restart blocks
|
2015-10-30 15:51:39 -07:00 |
|
Ryan Uber
|
b54309282f
|
nomad/state: subscribe/unsubscribe all watch items while holding the lock
|
2015-10-30 08:46:03 -07:00 |
|
Ryan Uber
|
d21c49dedd
|
nomad: cleanup and more tests
|
2015-10-30 08:27:47 -07:00 |
|
Ryan Uber
|
1322b844ca
|
nomad/state: add watch trigger tests
|
2015-10-29 21:42:41 -07:00 |
|
Ryan Uber
|
ff37110deb
|
nomad: more tests
|
2015-10-29 19:14:21 -07:00 |
|
Ryan Uber
|
55cb559eae
|
nomad: support blocking queries on eval-specific allocations
|
2015-10-29 16:20:57 -07:00 |
|
Ryan Uber
|
1469d0e7c4
|
nomad: support blocking queries for single evals
|
2015-10-29 16:12:25 -07:00 |
|
Ryan Uber
|
e1ecd11f63
|
nomad: support blocking queries on single allocations
|
2015-10-29 16:04:53 -07:00 |
|
Ryan Uber
|
09c74acc36
|
nomad: support blocking queries on single nodes
|
2015-10-29 15:48:44 -07:00 |
|
Ryan Uber
|
a0e54d6f62
|
nomad: support blocking queries on job allocations
|
2015-10-29 15:32:05 -07:00 |
|
Ryan Uber
|
c8c3ded1d7
|
nomad: support blocking queries on single jobs
|
2015-10-29 15:01:29 -07:00 |
|
Ryan Uber
|
6b7ca19a76
|
nomad: export watcher to share between rpc and state store
|
2015-10-29 14:47:39 -07:00 |
|
Ryan Uber
|
f5f01e6cd2
|
nomad: add triggering for more types of events
|
2015-10-29 13:52:15 -07:00 |
|
Ryan Uber
|
526c1c959b
|
nomad: move state watcher into its own file, add tests
|
2015-10-29 13:21:25 -07:00 |
|
Ryan Uber
|
eaeec03e1e
|
nomad: deduplicate watch items with a helper
|
2015-10-29 12:09:09 -07:00 |
|
Ryan Uber
|
a4ee8929e3
|
nomad: unify watcher inputs for reusability
|
2015-10-29 11:59:15 -07:00 |
|
Ryan Uber
|
692e4e371a
|
nomad: support full table watches for allocations
|
2015-10-28 19:25:39 -07:00 |
|
Ryan Uber
|
6b76a3fc62
|
nomad: fix node test output
|
2015-10-28 18:35:48 -07:00 |
|
Ryan Uber
|
4e70d52e29
|
nomad: support blocking queries on eval list
|
2015-10-28 18:34:56 -07:00 |
|
Ryan Uber
|
07b6597353
|
nomad/state: move methods so we can sanely find them
|
2015-10-28 18:11:55 -07:00 |
|
Ryan Uber
|
1fdbd54611
|
nomad: job watches return correct response, add tests
|
2015-10-28 12:43:00 -07:00 |
|
Ryan Uber
|
faab2495ee
|
nomad: test all node watch triggers
|
2015-10-28 12:29:06 -07:00 |
|
Ryan Uber
|
2c4735fbcf
|
nomad: support blocking queries on nodes
|
2015-10-28 11:25:35 -07:00 |
|
Ryan Uber
|
04dcd3f440
|
nomad: use a generic full-table watcher
|
2015-10-28 11:15:54 -07:00 |
|