Commit Graph

527 Commits

Author SHA1 Message Date
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
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
e0224b8a35 Refactor task runner to include driver starting into restart policy and add recoverable errors 2016-02-28 16:56:05 -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
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
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
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
e9e3a23e89 Closing the messages channel 2016-02-23 10:14:54 -08:00
Diptanu Choudhury
23cc7820d5 Stoping go-routines in the syslog collector 2016-02-23 09:43:14 -08:00
Diptanu Choudhury
0d9697d955 Buffering writes to a rotated file 2016-02-23 08:52:06 -08:00
Diptanu Choudhury
2a042ff625 Made the syslog server use a buffered chan 2016-02-22 16:10:23 -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
15082976ed Added more comments 2016-02-19 21:58:44 -08:00
Diptanu Choudhury
657d6a4ff6 Fixed tests 2016-02-19 15:15:59 -08:00
Diptanu Choudhury
56937f6629 Added some docs to the syslog server 2016-02-19 14:20:21 -08:00
Diptanu Choudhury
dfdf22ea4f Added some docs to the FileRotator 2016-02-19 14:11:31 -08:00
Diptanu Choudhury
387fcc36c8 Making the log rotator a writer 2016-02-19 14:01:07 -08:00
Diptanu Choudhury
3ba626df72 Renamed packages 2016-02-19 13:08:25 -08:00
Diptanu Choudhury
dc3f50da27 Implemented file rotator 2016-02-19 12:55:34 -08:00
Diptanu Choudhury
10c3685a83 Fixed the fingerprinter test 2016-02-18 11:34:17 -08:00
Diptanu Choudhury
e92d0a65f8 Enabling cgroups and chroot on linux 2016-02-18 09:49:11 -08:00
Diptanu Choudhury
6f085b51ca Implemented a custom syslog server 2016-02-17 14:48:25 -08:00
Alex Dadgar
48a97e0a9e fix java test 2016-02-17 10:04:19 -08:00
Alex Dadgar
f1c80afcf3 Killing a driver handle is retried with an exponential backoff 2016-02-16 21:00:49 -08:00
Abhishek Chanda
7f1ed162c0 Separate arguments with a space while writing 2016-02-16 17:13:19 -08:00
Diptanu Choudhury
45c0770e54 Merge branch 'master' of github.com:hashicorp/nomad 2016-02-12 16:20:41 -08:00
Diptanu Choudhury
de723b7004 Added stubs for windows 2016-02-12 16:20:04 -08:00
Alex Dadgar
c3a2bf267a go vet 2016-02-12 16:08:58 -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
ef8032e626 Fixed tests 2016-02-11 17:34:46 -08:00
Diptanu Choudhury
79de9d1618 Merge pull request #763 from hashicorp/f-logrotator
Implemented log rotation for drivers
2016-02-11 15:02:39 -08:00