Commit Graph

1805 Commits

Author SHA1 Message Date
Diptanu Choudhury b31efbfac3 Merge pull request #429 from hashicorp/b-batch-restart-policy
Fixed validation logic for restart policy when interval is zero
2015-11-17 12:09:30 -08:00
Alex Dadgar 171a23cb74 Merge branch 'master' of https://github.com/hashicorp/nomad 2015-11-17 12:04:10 -08:00
Alex Dadgar 11b43f8e1f Avoid calling destroy twice 2015-11-17 12:03:59 -08:00
Alex Dadgar 365a3998ba Merge pull request #426 from carlosdp/hostname-docker
Add hostname parameter to Docker driver
2015-11-17 10:46:42 -08:00
Diptanu Choudhury a9acc52b4e Fixed validation logic for restart policy when interval is zero 2015-11-17 02:56:11 -05:00
Carlos Diaz-Padron 3fabe47229 Add note to Docker hostname to explain hostname duplication 2015-11-16 23:14:28 -08:00
Carlos Diaz-Padron 77923255b4 Add hostname parameter to Docker driver 2015-11-16 22:44:44 -08:00
Diptanu Choudhury 03ec9e980c Merge pull request #415 from hashicorp/f-port-labels
Implemented Port Labeling and Driver Configurations
2015-11-16 22:37:21 -05:00
Diptanu Choudhury 03847dd65a Addressed some review comments 2015-11-16 22:29:06 -05:00
Alex Dadgar 0838292c60 Merge pull request #424 from hashicorp/f-alloc-status-cli
alloc-status displays individual task state
2015-11-16 18:49:21 -08:00
Alex Dadgar fcdca39c5e fix arg check 2015-11-16 18:44:37 -08:00
Alex Dadgar 1f0022ce75 Review fixes 2015-11-16 18:37:38 -08:00
Alex Dadgar 907d3c2bb6 Add docs 2015-11-16 18:36:13 -08:00
Alex Dadgar 5b41f0bbf0 Get rid of incorrect length check 2015-11-16 18:21:51 -08:00
Alex Dadgar 86f30492ec Display task information 2015-11-16 18:09:00 -08:00
Chris Bednarski d00c700318 go fmt 2015-11-16 16:23:03 -08:00
Chris Bednarski 714e1b52d1 Change logging port as %d to logging port.Value 2015-11-16 16:05:28 -08:00
Chris Bednarski 9f40143684 Merge branch 'master' into f-port-labels 2015-11-16 16:02:38 -08:00
Alex Dadgar b9b12db2de Merge pull request #416 from hashicorp/f-task-state
Track Tasks State
2015-11-16 15:14:46 -08:00
Alex Dadgar ea0edd8c2f Change SetExitMessage from taking a string to an error 2015-11-16 15:14:21 -08:00
Alex Dadgar e76a613974 Use loop not recursion 2015-11-16 15:14:21 -08:00
Alex Dadgar b649039448 Fix the capacity 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
Mitchell Hashimoto f9e7e974d7 jobspec: add test for types of nested configs 2015-11-16 13:10:57 -08:00
Diptanu Choudhury c5102975e3 Made the code more DRY 2015-11-16 13:10:57 -08:00
Diptanu Choudhury e40229aed6 Fixed the docker auth config 2015-11-16 13:10:57 -08:00
Diptanu Choudhury 7d44725370 Adding comments to fields in the docker driver config 2015-11-16 13:10:57 -08:00
Alex Dadgar fa60d86fe5 mapstructure close quotes 2015-11-16 13:10:57 -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 5e876e9c86 Fixed the java driver config 2015-11-16 13:10:57 -08:00
Diptanu Choudhury 9d76572831 Making sure that there is only one port_map block in the docker driver config 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 3b3907e367 Fixed the exec driver config 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 ad4248e087 Fixed the allocdir tests 2015-11-16 13:10:57 -08:00
Diptanu Choudhury 0673b832fb Fixed compilation issues with driver tests 2015-11-16 13:10:57 -08:00
Diptanu Choudhury 6c0b3264c8 Fixed the tests for jobspec 2015-11-16 13:10:57 -08:00
Diptanu Choudhury babc68adfb Fixing the scheduler tests 2015-11-16 13:10:57 -08:00
Diptanu Choudhury 69efc89436 Fixed the client tests 2015-11-16 13:10:57 -08:00
Diptanu Choudhury 33fc6b88d3 Fixed the api tests 2015-11-16 13:10:57 -08:00
Diptanu Choudhury b083a3f307 Fixed the parsing and encoding logic 2015-11-16 13:10:57 -08:00
Diptanu Choudhury 78a0f82bc5 Making the config for drivers public 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
Diptanu Choudhury 0126c80961 Adding the port hcl object to example 2015-11-16 13:10:57 -08:00
Alex Dadgar 677b18ca52 Merge pull request #420 from hashicorp/f-rpc-codecs
Update Nomad Client/Server RPC codecs to use custom msgpackHandle
2015-11-15 18:49:50 -08:00