Commit Graph

199 Commits

Author SHA1 Message Date
Ivo Verberk
e7efe615fd Docker labels configuration should be of type "array" in schema 2016-04-25 23:58:31 +02:00
Alex Dadgar
98aa9e6306 Timeout docker connections after 1 minute 2016-04-22 11:11:38 -07:00
Alex Dadgar
6b94f6b2b5 Remove unused field 2016-04-14 11:05:20 -07:00
Alex Dadgar
6e609fc60e changelog + docker GC cleanup 2016-04-14 10:52:38 -07:00
Alex Dadgar
3703ff4327 Merge pull request #1071 from hashicorp/b-docker-fix-gc
GC Docker containers and images after the container exits
2016-04-14 10:26:37 -07:00
Diptanu Choudhury
5bc6d3f3bd Fixing the API call of stopping container 2016-04-12 02:29:28 -07:00
Diptanu Choudhury
4d6a2dcda7 Removing container and image once the wait from docker api returns 2016-04-12 00:52:45 -04:00
Ivo Verberk
f68a57d272 Add interactive option to the Docker driver configuration schema 2016-04-10 12:20:01 +02:00
Ivo Verberk
51755c513f Implement configuration validation for all task drivers 2016-04-10 00:42:57 +02:00
Ivo Verberk
92bf6f1ad0 Add helper to validate raw configuration data 2016-04-10 00:42:43 +02:00
Paul Hinze
401b04529e client/docker: add interactive option
Equivalent to `docker run --interactive` - keeps STDIN open.

Also adds docs for both `tty` and `interactive` docker config.
2016-04-08 12:51:07 -05:00
Diptanu Choudhury
7a8c92cec6 Added the tty flag to the driverconfig 2016-04-06 09:54:45 -07:00
Diptanu Choudhury
d203d62684 Logging in fingerprinters only when state changes 2016-04-01 02:22:17 -07:00
Diptanu Choudhury
621ae065d9 Making driver fingerprinters run periodically and unblocking evals when node registration happens 2016-03-31 18:11:27 -07:00
Diptanu Choudhury
8760643621 Making the load a list of strings and added website docs 2016-03-30 17:23:29 -07:00
Diptanu Choudhury
3c8c789268 Simplified the logic of deciding how to create image 2016-03-30 15:45:17 -07:00
Diptanu Choudhury
be1482b553 Added docs 2016-03-30 15:26:51 -07:00
Diptanu Choudhury
b83c8da6b3 Added a test 2016-03-30 13:42:17 -07:00
Diptanu Choudhury
906bb77d9d Added ability to create image from archive 2016-03-30 13:09:32 -07:00
Diptanu Choudhury
1471f747f3 Added version to executor 2016-03-29 22:24:22 -07:00
Diptanu Choudhury
323975d500 Added the Version method to executor 2016-03-29 22:23:03 -07:00
Diptanu Choudhury
588666d0df Introducing ConsulContext 2016-03-24 15:57:16 -07:00
Diptanu Choudhury
e8995be723 Fixed merge conflicts 2016-03-24 15:09:50 -07:00
Diptanu Choudhury
42dc8bea16 Added a check type for consul service to delegate certain checks 2016-03-24 14:54:26 -07:00
Diptanu Choudhury
3c7d3cdca5 Changing the log line 2016-03-24 14:53:53 -07:00
Diptanu Choudhury
6c5f546e86 Fixing check registration in perform sync 2016-03-24 14:12:09 -07:00
Alex Dadgar
324a11003f Merge pull request #950 from mssola/raw-exec-user
client: added the "user" option to tasks
2016-03-24 08:57:13 -07:00
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
Miquel Sabaté Solà
939a00aca8 client/driver: added the user config value
This way Nomad allows to set which user has to run the task.

Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
2016-03-23 12:57:31 +01: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