Commit Graph

591 Commits

Author SHA1 Message Date
Diptanu Choudhury
1e1f5b00f0 Merge pull request #464 from hashicorp/f-consul-check
Changing the code comment
2015-11-18 19:35:15 -08:00
Diptanu Choudhury
e0d42e48b9 Changing the code comment 2015-11-18 19:34:50 -08:00
Alex Dadgar
cc93553c02 Merge pull request #463 from hashicorp/f-consul-check
Nuking the service and registering it so that checks are cleaned up
2015-11-18 19:34:20 -08:00
Diptanu Choudhury
016a9d5c05 Nuking the service and registering it so that checks are cleaned up 2015-11-18 19:31:29 -08:00
Alex Dadgar
77be23c038 Merge pull request #460 from hashicorp/f-consul-check
Making sure we sync the real state of services of a Task with Consul
2015-11-18 19:03:53 -08:00
Alex Dadgar
5e1f7c41a9 Allow no interfaces in network fingerprinter 2015-11-18 19:01:39 -08:00
Diptanu Choudhury
aded72d95d Triggering the next sync after we have finished the current one 2015-11-18 18:47:12 -08:00
Diptanu Choudhury
27819a8b33 Making sure we sync the real state of services of a Task with Consul 2015-11-18 18:35:22 -08:00
Chris Hines
3fe4d85c81 Handle additional edge cases when parsing environment variables. 2015-11-18 21:21:07 -05:00
Diptanu Choudhury
1aff29bc52 Updating checks and services when allocs are refreshed 2015-11-18 17:33:29 -08:00
Diptanu Choudhury
6c399ac5b9 Added a test to ensure invalid services are not registered 2015-11-18 17:29:12 -08:00
Alex Dadgar
7357979089 Revert "Revert "Make drivers take arguments as a list and not as a string"" 2015-11-18 15:16:42 -08:00
Diptanu Choudhury
ba8e3fcbae Merge pull request #455 from hashicorp/f-consul-check
Refactor consul check
2015-11-18 14:33:34 -08:00
Diptanu Choudhury
bcfda2687e Added a check for accpeting protocol information in consul check 2015-11-18 14:29:55 -08:00
Diptanu Choudhury
d4b1b9240e Added a test to check check creation 2015-11-18 14:29:55 -08:00
Diptanu Choudhury
0c5ddfae6b Added a test to check check creation 2015-11-18 14:29:55 -08:00
Diptanu Choudhury
197e755506 Changed the http field to path 2015-11-18 14:29:55 -08:00
Alex Dadgar
d666f5bde1 Revert "Make drivers take arguments as a list and not as a string" 2015-11-18 13:46:43 -08:00
Alex Dadgar
5aaa0553cf Remove returning the error 2015-11-18 12:40:34 -08:00
Alex Dadgar
d0ebac1513 More test fixes 2015-11-18 12:30:42 -08:00
Alex Dadgar
62a0c5d14c Rebase 2015-11-18 12:30:35 -08:00
Alex Dadgar
c6a895aff7 Fix executor tests 2015-11-18 12:29:04 -08:00
Alex Dadgar
ee1887e609 Rebase 2015-11-18 12:29:04 -08:00
Alex Dadgar
d20be7b58c Update ParseAndReplace to take a list of args and remove shell style parsing 2015-11-18 12:29:04 -08:00
Chris Hines
9666f450e7 Move test code to *_test.go file. 2015-11-18 14:46:56 -05:00
Chris Bednarski
c375000f08 Added missing %s to error format string 2015-11-18 11:29:49 -08:00
Chris Bednarski
85d07e72bf Revert "Added missing %s to error format string"
This reverts commit f4acdfd035.
2015-11-18 11:28:38 -08:00
Chris Bednarski
f4acdfd035 Added missing %s to error format string 2015-11-18 11:28:07 -08:00
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
20b42864be Merge branch 'master' into f-docker-dns-config 2015-11-18 10:31:06 -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
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
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