Commit Graph

1828 Commits

Author SHA1 Message Date
Diptanu Choudhury
2ce78767a8 Autogenerating names of service 2015-11-17 16:05:03 -08:00
Diptanu Choudhury
7ba5117a86 Adding some sanity checks to checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
3a250a179b Exctacted a method for parsing checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
acc8ca73f7 Added some docs for the service and servicecheck type 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
fb3d2be6b6 Added the protocol field for check 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
50086cc60e Added validation to the checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
acf673f111 Exctracted the logic of parsing services in a method 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
f0ab1fcfae Added the fields for http and script checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
53e9d21ac0 Added the service definitions in api structs too 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
5a0777fccb Added tests for service block parsing 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
fce0031c9a Added comments 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
01ef4469d9 Added the parsling logic for service blocks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
c9f10f75c4 Added the example for service block 2015-11-17 15:13:25 -08:00
Alex Dadgar
dc0501e589 Merge pull request #389 from achanda/name
Set a name for the container
2015-11-17 15:07:23 -08:00
Chris Bednarski
cfbaaea011 Move core block to the top 2015-11-17 14:17:58 -08:00
Chris Bednarski
6ddf7366f3 Reformatted and sorted changelog enties 2015-11-17 14:16:20 -08:00
Alex Dadgar
3f38736c69 Merge pull request #432 from hashicorp/d-changelog-update
Update Changelog
2015-11-17 14:11:59 -08:00
Alex Dadgar
fb82e21c55 Add components 2015-11-17 14:11:31 -08:00
Alex Dadgar
b98515e772 Move backwards incompatibilities section to top 2015-11-17 13:32:02 -08:00
Alex Dadgar
29e381e856 Remove extra space 2015-11-17 13:29:47 -08:00
Alex Dadgar
d9d2e05fe1 Delimit angle brackets 2015-11-17 13:25:24 -08:00
Alex Dadgar
0adce4ff82 Update changelog 2015-11-17 13:24:17 -08:00
Diptanu Choudhury
4f7e2d2d78 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
68fbe09664 Merge branch 'master' of https://github.com/hashicorp/nomad 2015-11-17 12:04:10 -08:00
Alex Dadgar
baeea15aa2 Avoid calling destroy twice 2015-11-17 12:03:59 -08:00
Alex Dadgar
6f6696f19e Merge pull request #426 from carlosdp/hostname-docker
Add hostname parameter to Docker driver
2015-11-17 10:46:42 -08:00
Diptanu Choudhury
a16fafabb0 Fixed validation logic for restart policy when interval is zero 2015-11-17 02:56:11 -05:00
Carlos Diaz-Padron
c4ab2fa296 Add note to Docker hostname to explain hostname duplication 2015-11-16 23:14:28 -08:00
Carlos Diaz-Padron
c5304c3e6a Add hostname parameter to Docker driver 2015-11-16 22:44:44 -08:00
Diptanu Choudhury
a17ce1ee7b 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
b8d468f5ad Addressed some review comments 2015-11-16 22:29:06 -05:00
Alex Dadgar
aef7396826 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
57cc352610 fix arg check 2015-11-16 18:44:37 -08:00
Alex Dadgar
08d8ae3541 Review fixes 2015-11-16 18:37:38 -08:00
Alex Dadgar
5f34ae9ae8 Add docs 2015-11-16 18:36:13 -08:00
Alex Dadgar
d53aa72251 Get rid of incorrect length check 2015-11-16 18:21:51 -08:00
Alex Dadgar
1806c7ce22 Display task information 2015-11-16 18:09:00 -08:00
Chris Bednarski
640337547a go fmt 2015-11-16 16:23:03 -08:00
Chris Bednarski
28757ca175 Change logging port as %d to logging port.Value 2015-11-16 16:05:28 -08:00
Chris Bednarski
1d1e4bdd08 Merge branch 'master' into f-port-labels 2015-11-16 16:02:38 -08:00
Alex Dadgar
c5315d1dbf Merge pull request #416 from hashicorp/f-task-state
Track Tasks State
2015-11-16 15:14:46 -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
fa68fb62d3 Change event type to string 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
Alex Dadgar
9681d09d56 Initialize task state in allocation sent by scheduler 2015-11-16 15:14:21 -08:00
Alex Dadgar
2afcbbe082 Add TaskState to alloc 2015-11-16 15:14:21 -08:00
Alex Dadgar
3d4fdbba8a Avoid map[interface{}]interface{} conversions in the msgpack codec 2015-11-16 14:25:19 -08:00
Mitchell Hashimoto
bc2efb7824 jobspec: add test for types of nested configs 2015-11-16 13:10:57 -08:00