Commit Graph

3163 Commits

Author SHA1 Message Date
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
Antonio Fernández
e42f0831f8 updating website: docker driver configuration 2015-11-17 14:14:35 +01:00
Antonio Fernández
1e1be3c082 allow to set labels on docker containers 2015-11-17 14:12:49 +01: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
Antonio Fernández
bd0dd8ba67 Merge branch 'master' of github.com:hashicorp/nomad into docker-allow-to-add-labels 2015-11-17 07:05:24 +01:00
Antonio Fernández
f0da375e7c revert previous commit 2015-11-17 07:05:11 +01:00
Chris Bednarski
5a29279cec Improve logging and DRY some of the port mapping code 2015-11-16 19:55:49 -08:00
Chris Bednarski
efa52ba42b Add missing param and error in the missing case so default will work as expected 2015-11-16 19:55:08 -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
Chris Bednarski
f7784209f4 Added config reader for booleans 2015-11-16 19:30:37 -08: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
Diptanu Choudhury
c01f2a38f5 Made the code more DRY 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
041f48dc71 Fixed the docker auth config 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
174ac10a8a Adding comments to fields in the docker driver config 2015-11-16 13:10:57 -08:00
Alex Dadgar
363fced30b mapstructure close quotes 2015-11-16 13:10:57 -08:00
Alex Dadgar
042532f561 RawToSting true for structs codec. Needed for encoding strings in nil interfaces 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
7ebe23519a Fixed the java driver config 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
7b2e3ee55c 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
b6e3b8d151 Fixed the structs test 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
76a005b0f1 Fixed the exec driver config 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
72f82a7056 Fixed the test related to setting env variables in tasks 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
05d21c52e4 Fixed the allocdir tests 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
0d69778873 Fixed compilation issues with driver tests 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
87f49c4f7f Fixed the tests for jobspec 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
51e3c9928b Fixing the scheduler tests 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
5c95e7f0dc Fixed the client tests 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
a52bff862d Fixed the api tests 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
e8236c0081 Fixed the parsing and encoding logic 2015-11-16 13:10:57 -08:00