Diptanu Choudhury
|
7efac5dae8
|
Added the logic to retry services which needs to be tracked if consul doesn't respond
|
2015-11-18 04:34:23 -08:00 |
|
Diptanu Choudhury
|
992b6709e2
|
Registering the checks with consul
|
2015-11-18 03:08:53 -08:00 |
|
Diptanu Choudhury
|
929882426c
|
Defering calling the de-register from consul call when a service is not running
|
2015-11-18 02:37:34 -08:00 |
|
Diptanu Choudhury
|
4221cda6f7
|
Added a logger to consul client
|
2015-11-18 02:14:07 -08:00 |
|
Diptanu Choudhury
|
df074a54e3
|
DRYed the code
|
2015-11-18 01:20:53 -08:00 |
|
Diptanu Choudhury
|
392a807305
|
Moving the logic to find port and host inside consul client
|
2015-11-18 01:18:29 -08:00 |
|
Diptanu Choudhury
|
9a578c5c0d
|
Added the implementation of consul client
|
2015-11-18 00:50:45 -08:00 |
|
Chris Bednarski
|
f3c204546f
|
Merge pull request #439 from hashicorp/b-docker-ports-len
Fix docker port tests and empty port_map
|
2015-11-17 21:37:48 -08:00 |
|
Chris Bednarski
|
a52c3df0bf
|
Change error check to contains instead of ==
|
2015-11-17 21:36:23 -08:00 |
|
Chris Bednarski
|
e252a84310
|
Renamed some things so it's more apparent that reserved and dynamic port mapping have very similar code
|
2015-11-17 21:34:07 -08:00 |
|
Chris Bednarski
|
d80c024627
|
Remove \n since this is added by the logger
|
2015-11-17 21:17:51 -08:00 |
|
Alex Dadgar
|
c6c896bbea
|
Qemu driver takes a port_map to configure host to guest port forwarding
|
2015-11-17 20:54:53 -08:00 |
|
Chris Bednarski
|
9277027e50
|
Purge existing container during Start()
|
2015-11-17 20:50:14 -08:00 |
|
Chris Bednarski
|
e994453abd
|
Log container name and labels
|
2015-11-17 20:04:10 -08:00 |
|
Chris Bednarski
|
0e7ee06708
|
Added a randomized alloc id for tests so container names don't collide
|
2015-11-17 19:45:33 -08:00 |
|
Chris Bednarski
|
02e59fe622
|
Fix guards for docker port mapping and change dummy dynamic ports to real ports (0 is not a valid port)
|
2015-11-17 19:21:36 -08:00 |
|
Alex Dadgar
|
c3a37668dc
|
Update API docs
|
2015-11-17 19:12:19 -08:00 |
|
Chris Bednarski
|
588e5f7df4
|
Merge branch 'master' into f-docker-any-network
|
2015-11-17 17:22:13 -08:00 |
|
Chris Bednarski
|
0caf44204d
|
Merge pull request #436 from hashicorp/f-docker-cleanup
Cleanup docker driver
|
2015-11-17 17:13:17 -08:00 |
|
Chris Bednarski
|
aa997e5559
|
Inline err assignment
|
2015-11-17 17:12:45 -08:00 |
|
Chris Bednarski
|
4dfe67631e
|
Streamline reading boolean values from the driver / job config
|
2015-11-17 16:58:23 -08:00 |
|
Chris Bednarski
|
0251545f2b
|
Added missing linebreaks for log.Printf calls
|
2015-11-17 16:49:01 -08:00 |
|
Chris Bednarski
|
0934de75a9
|
Do Itoa once so line items are simpler
|
2015-11-17 16:31:47 -08:00 |
|
Chris Bednarski
|
57a47eca73
|
Merge branch 'docker-allow-to-add-labels' of https://github.com/fernandezvara/nomad into f-docker-labels
|
2015-11-17 16:02:42 -08:00 |
|
Chris Bednarski
|
6b9682f795
|
Improve phrasing in log messages
|
2015-11-17 15:17:44 -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
|
bbcee39789
|
Clean up extraneous variables
|
2015-11-17 14:51:38 -08:00 |
|
Chris Bednarski
|
f9ee85c669
|
That's not a declaration
|
2015-11-17 14:27:58 -08:00 |
|
Chris Bednarski
|
0e0d96cec9
|
Remove restrictions from docker networking mode; we assume users know what they are doing
|
2015-11-17 14:25:10 -08:00 |
|
Chris Bednarski
|
bebf2b0689
|
Merge branch 'master' into f-docker-cleanup
|
2015-11-17 14:20:29 -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 |
|
Antonio Fernández
|
1e1be3c082
|
allow to set labels on docker containers
|
2015-11-17 14:12:49 +01:00 |
|
Carlos Diaz-Padron
|
c5304c3e6a
|
Add hostname parameter to Docker driver
|
2015-11-16 22:44:44 -08: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 |
|
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 |
|
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
|
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
|
f4b461f97a
|
Track Task State in the client and capture Wait results
|
2015-11-16 15:14:21 -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 |
|
Diptanu Choudhury
|
7ebe23519a
|
Fixed the java driver config
|
2015-11-16 13:10:57 -08:00 |
|