Commit Graph

3163 Commits

Author SHA1 Message Date
Diptanu Choudhury
3d8cb63c4f Merge pull request #446 from hashicorp/f-consul-client
Register services with Consul
2015-11-18 10:39:58 -08:00
Diptanu Choudhury
32d9d9f4bf Added a log line to indicate we are registering a service with Consul 2015-11-18 10:32:31 -08:00
Chris Bednarski
03ba061ce3 Merge pull request #443 from hashicorp/f-docker-dns-config
Change docker DNS configuration to lists
2015-11-18 10:31:27 -08:00
Chris Bednarski
20b42864be Merge branch 'master' into f-docker-dns-config 2015-11-18 10:31:06 -08:00
Diptanu Choudhury
10c0e7f3ec Removing support for scrpt checks 2015-11-18 10:26:24 -08:00
Chris Bednarski
2e43ebf08b Merge pull request #445 from carlosdp/fix-docker-auth
De-nest docker registry auth and reformat related doc
2015-11-18 10:23:17 -08:00
Diptanu Choudhury
61b3b706f0 Added a lock around modification of tracked services map 2015-11-18 09:36:37 -08:00
Diptanu Choudhury
90f589fdc4 Added some docs 2015-11-18 05:49:40 -08:00
Diptanu Choudhury
112e385066 Removed a debug log 2015-11-18 05:20:57 -08:00
Diptanu Choudhury
6d81111995 Added the option to configure consul address 2015-11-18 05:15:52 -08:00
Diptanu Choudhury
3866d4ed4f Shutting down consul an not trying to de-register the consul service 2015-11-18 04:59:57 -08:00
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
028ad505cf Fixed the test errors 2015-11-18 02:07:07 -08:00
Carlos Diaz-Padron
270631a006 Nest Docker driver auth under object 2015-11-18 01:37:42 -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
Carlos Diaz-Padron
fba3c573f1 De-nest docker registry auth and reformat related doc 2015-11-17 23:32:57 -08:00
Alex Dadgar
fe3087ba2a Merge branch 'master' of https://github.com/hashicorp/nomad 2015-11-17 22:36:09 -08:00
Alex Dadgar
0cc1b2ae91 Add page describing scheduler types 2015-11-17 22:35:58 -08:00
Chris Bednarski
2ca7adf098 Updated changelog to include DNS and auth explicitly 2015-11-17 22:10:51 -08:00
Chris Bednarski
aa264dcb23 Updated docs to indicate you should use a list 2015-11-17 22:05:56 -08:00
Chris Bednarski
2024cb8f94 Change DNS and DNSSearch to use lists; added a test 2015-11-17 22:02:23 -08:00
Chris Bednarski
673ce8ad70 Merge branch 'master' into f-docker-dns-config 2015-11-17 21:43:04 -08:00
Chris Bednarski
bd06a84cc9 Change dns_servers and dns_search_domains from comma-delimited strings to lists 2015-11-17 21:41:00 -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
Alex Dadgar
68bb7eba8e Fix docker config option name in docs 2015-11-17 21:30:15 -08:00
Alex Dadgar
091899d000 Update qemu docs 2015-11-17 21:19:45 -08:00
Chris Bednarski
d80c024627 Remove \n since this is added by the logger 2015-11-17 21:17:51 -08:00
Alex Dadgar
f284665b38 Merge pull request #441 from hashicorp/f-qemu-port-map
Qemu driver takes a port_map to configure host to guest port forwarding
2015-11-17 21:13:37 -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 Hines
21285ba9cb Speed up tests by allowing parallel execution. 2015-11-17 23:43:20 -05:00
Chris Hines
1451cc6441 Move defer f.Close after error check. 2015-11-17 23:43:20 -05:00
Chris Hines
230080d028 Use TestMain to provide portable echo and sleep commands. 2015-11-17 23:43:19 -05:00
Chris Hines
ea29a15cf0 Extract code to acquire temp file name and make sure the file is closed so os.Remove works on Windows. 2015-11-17 23:43:18 -05:00
Alex Dadgar
9db262f161 fix kernel/os attributes 2015-11-17 20:06:00 -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
Alex Dadgar
c140fa3d01 Update environment docs regarding ports 2015-11-17 19:36:05 -08:00
Chris Bednarski
a0944b6cec Merge branch 'master' into b-docker-ports-len 2015-11-17 19:23:47 -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
3db185807d Fix guard for port maps not being specified 2015-11-17 18:16:01 -08:00
Chris Bednarski
a37caa7be8 Merge branch 'master' of https://github.com/hashicorp/nomad 2015-11-17 17:48:50 -08:00