Commit Graph

171 Commits

Author SHA1 Message Date
Diptanu Choudhury
1f6137aba5 Using the name of the task and the alloc id in the service name 2016-03-23 17:35:29 -07:00
Diptanu Choudhury
5568258d0a Making the docker driver register services and checks 2016-03-23 12:59:22 -07:00
Diptanu Choudhury
9a71225b9e Removing references to old consul services and adding consul config to executor context 2016-03-23 12:19:19 -07:00
Diptanu Choudhury
3bb4849a2d Destroying the plugin if kill wasn't successful 2016-03-18 11:53:25 -07:00
Diptanu Choudhury
0f355e8f87 Introduced a method in executor to launch syslog server 2016-03-18 11:49:10 -07:00
Diptanu Choudhury
cfc795fc3f Merge pull request #897 from hashicorp/syslog-addr
Using unix domain sockets for docker syslog collector
2016-03-10 11:49:21 -08:00
Diptanu Choudhury
8e13eaa522 Using unix domain sockets for docker syslog collector 2016-03-09 23:28:26 -08:00
Diptanu Choudhury
024033475d Merge pull request #878 from hashicorp/b-kill-timeout-update
client: Updating kill timeout adheres to operator specified maximum
2016-03-09 18:33:40 -08:00
Diptanu Choudhury
fa6707ae5c Making the docker fingerprinter periodic 2016-03-08 12:02:55 -08:00
Erik Evenson
d1f28431c4 moves transform to Init() 2016-03-06 19:00:40 -06:00
Erik Evenson
5859c95df8 Merge branch 'master' into study/aws-ecr-1 2016-03-06 18:18:20 -06:00
Alex Dadgar
6ef841bc34 Updating kill timeout adheres to operator specified maximum 2016-03-03 09:21:21 -08:00
Alex Dadgar
76856961af Killing a docker container that is dead is not an error 2016-03-02 16:27:01 -08:00
Erik Evenson
d5142c25dc adds comments and removes redundant false flag setting 2016-02-29 08:17:40 -06:00
Alex Dadgar
e0224b8a35 Refactor task runner to include driver starting into restart policy and add recoverable errors 2016-02-28 16:56:05 -08:00
Erik Evenson
2ae1f445c6 refactors 2016-02-27 12:00:17 -06:00
Erik Evenson
e2bb234044 allows AWS ECR to work 2016-02-27 11:06:40 -06:00
Diptanu Choudhury
7f8f6712c5 Adding version information to snapshots 2016-02-24 19:06:30 -08:00
Diptanu Choudhury
37e8248495 Merge pull request #842 from hashicorp/f-validate-command
drivers: validate that command contains one field
2016-02-23 13:45:10 -08:00
Alex Dadgar
704ad6ecb4 validate that command contains one field 2016-02-23 10:19:40 -08:00
Diptanu Choudhury
8f21b753ba Merge pull request #819 from hashicorp/r-syslog-collector
Refactored syslog server and log rotator
2016-02-23 10:15:14 -08:00
Diptanu Choudhury
8cbd9fe1d9 Throwing an error if Nomad can't create an docker auth object 2016-02-22 13:20:06 -08:00
Diptanu Choudhury
3e50615bac Throwing an error if Nomad can't create an docker auth object 2016-02-22 13:00:54 -08:00
Diptanu Choudhury
3ba626df72 Renamed packages 2016-02-19 13:08:25 -08:00
Diptanu Choudhury
85b2e743de Changing log messages in the docker driver 2016-02-12 13:33:09 -08:00
Alex Dadgar
2dfa22b9ca Update go-plugin 2016-02-12 12:16:56 -08:00
Diptanu Choudhury
26d308dcb8 Fixed an issue with purge 2016-02-11 14:44:35 -08:00
Diptanu Choudhury
6c27ae6b91 Renamed the syslog package to logcollector 2016-02-10 18:47:46 -08:00
Diptanu Choudhury
002dee9b3e Handling errors when client can't re-attach to syslog collector 2016-02-10 16:40:36 -08:00
Diptanu Choudhury
dc25fd42d6 Updating log configs 2016-02-10 15:04:41 -08:00
Diptanu Choudhury
045a653bb0 Adding newlines to loglines 2016-02-10 10:18:14 -08:00
Diptanu Choudhury
4963026eab Writing log lines from docker to files 2016-02-10 07:52:15 -08:00
Diptanu Choudhury
7eedcbfcf6 Starting the syslog collector along with a docker container 2016-02-09 18:24:30 -08:00
Diptanu Choudhury
9a6da514e1 Fixed merge conflicts 2016-02-08 10:24:27 -08:00
Diptanu Choudhury
c4fd236026 Updated the docker auth config 2016-02-06 05:47:56 -08:00
Diptanu Choudhury
1343e481f3 Reading dockercfg files for authenticating with private registries 2016-02-06 05:43:30 -08:00
Diptanu Choudhury
9d6b09c378 Passing the log rotation parameters to docker daemon 2016-02-05 00:22:31 -08:00
Alex Dadgar
03aca9887b Client handles updates to KillTimeout and Restart Policy 2016-02-03 19:43:44 -08:00
Ivo Verberk
b9de8704ee Rename IPPort env variable and add a mapped host port to the env. 2016-01-25 20:46:01 +01:00
Ivo Verberk
f71db5e645 Pass a combination of ip and port to the task environment.
The different labels can be on different IPs.
2016-01-24 10:31:03 +01:00
Alex Dadgar
e01cd9c293 Have docker use the task environment in the context 2016-01-22 15:00:36 -08:00
Alex Dadgar
e91abac0f6 Fix a bunch of tests
Up timeouts

trusty travis beta

Increase timeouts
2016-01-20 16:03:53 -08:00
Alex Dadgar
adf05e00bf Fix docker tests 2016-01-19 15:35:01 -08:00
Alex Dadgar
b8a42786f3 merge 2016-01-11 09:58:26 -08:00
Bastiaan Bakker
bf4217e4e8 Add options ipc_mode, pid_mode and uts_mode to docker driver.
May only be used if priviliged mode is enabled in driver config.
2016-01-08 23:34:49 +01:00
Alex Dadgar
9f44780f89 User specifiable kill timeout and operator configurable max 2015-12-22 16:10:30 -08:00
Alex Dadgar
d536fe9027 Remove all calls to the default logger 2015-12-11 15:02:13 -08:00
Alex Dadgar
25e47465c1 Do Once docker client initialization 2015-12-10 13:49:29 -08:00
Diptanu Choudhury
0c499f78b3 Moving the args to helper 2015-11-26 14:13:19 -08:00
Alex Dadgar
ef1937cd53 Standardize log messages in fingerprinters to DEBUG 2015-11-24 11:06:51 -08:00