Commit Graph

1827 Commits

Author SHA1 Message Date
Diptanu Choudhury c73e17ae18 Adding some sanity checks to checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury 04d2d6921d Exctacted a method for parsing checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury 7eba8be4ff Added some docs for the service and servicecheck type 2015-11-17 15:13:25 -08:00
Diptanu Choudhury aabd27d901 Added the protocol field for check 2015-11-17 15:13:25 -08:00
Diptanu Choudhury 4c8dd666dc Added validation to the checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury cd7a974a7f Exctracted the logic of parsing services in a method 2015-11-17 15:13:25 -08:00
Diptanu Choudhury a367314127 Added the fields for http and script checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury 0d9e34bea4 Added the service definitions in api structs too 2015-11-17 15:13:25 -08:00
Diptanu Choudhury 36520a90b3 Added tests for service block parsing 2015-11-17 15:13:25 -08:00
Diptanu Choudhury ead6e09a79 Added comments 2015-11-17 15:13:25 -08:00
Diptanu Choudhury eb19967ce4 Added the parsling logic for service blocks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury f8ce6fb901 Added the example for service block 2015-11-17 15:13:25 -08:00
Alex Dadgar 7551a263c5 Merge pull request #389 from achanda/name
Set a name for the container
2015-11-17 15:07:23 -08:00
Chris Bednarski f14d6685d7 Move core block to the top 2015-11-17 14:17:58 -08:00
Chris Bednarski 5db884d2d0 Reformatted and sorted changelog enties 2015-11-17 14:16:20 -08:00
Alex Dadgar 67ee3af36a Merge pull request #432 from hashicorp/d-changelog-update
Update Changelog
2015-11-17 14:11:59 -08:00
Alex Dadgar 9a2a4a11b4 Add components 2015-11-17 14:11:31 -08:00
Alex Dadgar 9d845ecdcb Move backwards incompatibilities section to top 2015-11-17 13:32:02 -08:00
Alex Dadgar 06de031026 Remove extra space 2015-11-17 13:29:47 -08:00
Alex Dadgar c85157fed0 Delimit angle brackets 2015-11-17 13:25:24 -08:00
Alex Dadgar dfc2c03c85 Update changelog 2015-11-17 13:24:17 -08:00
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