Commit Graph

1091 Commits

Author SHA1 Message Date
Alex Dadgar
f51a95994b Merge pull request #874 from hashicorp/b-consul-concurrent-map-access
Remove a concurrent map access
2016-03-02 16:30:42 -08:00
Alex Dadgar
76856961af Killing a docker container that is dead is not an error 2016-03-02 16:27:01 -08:00
Abhishek Chanda
d8d62aaddf Fix location of volume mount
Also add a test for mounting alloc dirs
2016-03-02 14:04:14 -08:00
Abhishek Chanda
253f32e541 Use NewWaitResult in the wait channel 2016-03-02 14:04:14 -08:00
Abhishek Chanda
54b9727317 Set allocDir in handle 2016-03-02 14:04:14 -08:00
Abhishek Chanda
b92546a9c5 Run rkt interactively 2016-03-02 14:04:14 -08:00
Abhishek Chanda
5419603bb4 Cleanup if the plugin executor crashes. 2016-03-02 14:04:14 -08:00
Abhishek Chanda
aa288c91d0 A number of cleanups
- Removed some unused variables.
2016-03-02 14:04:14 -08:00
Abhishek Chanda
0f4472d94f Change name of the stdout file 2016-03-02 14:04:14 -08:00
Abhishek Chanda
65524d90e5 Do not hard-code binary location 2016-03-02 14:04:14 -08:00
Abhishek Chanda
fb2607bcec Use the plugin mechanism in the rkt driver 2016-03-02 14:04:14 -08:00
Abhishek Chanda
877dd7de61 Defer cleanup 2016-03-02 14:04:14 -08:00
Abhishek Chanda
07d4152017 Change how a result is returned form wait 2016-03-02 14:04:14 -08:00
Abhishek Chanda
1a9438cdd1 Use less resources for containers 2016-03-02 14:04:14 -08:00
Abhishek Chanda
adf0c0677f A number of rkt fixes
- Reorder rkt arguments to make it work
- Change a few things in test
2016-03-02 14:04:14 -08:00
Abhishek Chanda
848404a48d Use a host volume to mount alloc and task dirs
host volumes are the preferred way to share data.
2016-03-02 14:04:14 -08:00
Abhishek Chanda
8a9f5c26c8 Create the task and alloc dirs before proceeding 2016-03-02 14:04:14 -08:00
Alex Dadgar
652bd72c5f Merge pull request #869 from hashicorp/f-alloc-id-env
Add Alloc ID/Name and Task Name to environment variables
2016-03-02 13:58:47 -08:00
Alex Dadgar
98d3a92a12 Remove a concurrent map access 2016-03-02 13:57:08 -08:00
Diptanu Choudhury
75bedf8356 Merge pull request #855 from hashicorp/cgroups-pid
Updated logic for creation of cgroup
2016-03-02 12:57:25 -08:00
Diptanu Choudhury
71fb58cea0 Added a comment 2016-03-02 12:56:56 -08:00
Diptanu Choudhury
c4b048df5e Added a test for making sure executor destroy works 2016-03-02 11:05:08 -08:00
Diptanu Choudhury
a96b25bc5b Not killing the plugin while destroying the cgroup 2016-03-01 17:51:54 -08:00
Diptanu Choudhury
f1301c9378 Fixed the logic of cgroup creation 2016-03-01 17:01:45 -08:00
Alex Dadgar
abcc50ac80 Driver tests 2016-03-01 16:22:33 -08:00
Alex Dadgar
e0b1d7a963 Add Alloc ID/Name and Task Name to environment variables 2016-03-01 16:08:21 -08:00
Alex Dadgar
ff48998942 Avoid serializes Allocation.Resources 2016-03-01 14:09:25 -08:00
Alex Dadgar
7007409cd7 Merge pull request #859 from hashicorp/f-driver-start-restarts
client: Driver starting is included in restart policy.
2016-02-29 11:05:25 -08:00
Alex Dadgar
343fddb403 Acquire lock around handle 2016-02-29 10:45:08 -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
dd2f82c4ca Merge pull request #818 from achanda/perf
Run a bunch of tests in parallel
2016-02-26 13:35:33 -08:00
Alex Dadgar
d6aa2d79cb Merge branch 'master' of github.com:hashicorp/nomad 2016-02-25 11:49:52 -08:00
Alex Dadgar
9c45f36819 Drop the permissions of sub directories in the alloc dir 2016-02-25 11:49:43 -08:00
Diptanu Choudhury
ad0e70c3b2 Merge pull request #850 from hashicorp/snap-version
Adding version information to snapshots
2016-02-25 10:54:26 -08:00
Diptanu Choudhury
9458106550 Added a test for AllocDir.LogDir 2016-02-25 09:08:51 -08:00
Diptanu Choudhury
ae498c28f3 Adding version to the DockerHandle test 2016-02-25 08:51:10 -08:00
Diptanu Choudhury
be55af6d90 Fixed some java tests 2016-02-24 23:54:01 -08:00
Diptanu Choudhury
54d7057912 Writing logs to alloc dir 2016-02-24 20:06:43 -08:00
Diptanu Choudhury
7f8f6712c5 Adding version information to snapshots 2016-02-24 19:06:30 -08:00
Alex Dadgar
207d544a55 client: standardize error logging format 2016-02-24 15:57:58 -08:00
Diptanu Choudhury
a735ad155d Making the build work for windows 2016-02-23 15:17:07 -08:00
Alex Dadgar
4afa44c15e driver.test: remove redundant tests 2016-02-23 14:41:52 -08:00
Diptanu Choudhury
69a6bce98b Merge pull request #841 from hashicorp/b-local-file
Client: Only allow downloading from http/s and git
2016-02-23 13:46:55 -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
Diptanu Choudhury
3da5e5020a Closing the rotators when the process finishes 2016-02-23 13:32:17 -08:00
Alex Dadgar
5ee75e2fa5 Limit the set of downloaders 2016-02-23 10:33:58 -08:00
Alex Dadgar
c7661b1ca2 Copy local files 2016-02-23 10:27:47 -08:00