Michael Schurter
de7351b959
Move chroot building into TaskRunner
...
* Refactor AllocDir to have a TaskDir struct per task.
* Drivers expose filesystem isolation preference
* Fix lxc mounting of `secrets/`
2017-01-05 16:31:49 -08:00
Michal Wieczorek
78eaeafc15
Enable syslog server and universal collector for windows
2016-09-05 00:26:36 +02:00
Alex Dadgar
ddfae93941
Wrap file rotator tests in wait for
2016-08-11 19:23:03 -07:00
Kenjiro Nakayama
be177a0a3e
Add Syslog server start shutdown test
2016-08-06 02:01:33 +09:00
Cameron Davison
c7817127c0
remove the expected leading space, after the colon in syslog
2016-07-06 11:08:24 -05:00
Cameron Davison
df8bd16133
get into the hour minute second part of the time before looking for spaces, and then looking for the : seperator
2016-07-06 11:08:24 -05:00
Alex Dadgar
7cd4866c89
Make line copy to avoid being overriden by subsequent scans
2016-06-20 13:14:43 -07:00
Sean Chittenden
9cb16b5b9e
Explicitly enumaret the build targets in _unix
...
`!windows` was being used as the synonym for `darwin dragonfly freebsd linux netbsd openbsd solaris`. While I don't imagine `android` will be a prime target for Nomad in the near term, favor explicit build targets.
List of build targets generated by Go 1.7's dist command: `go tool dist list | sort | cut -d '/' -f 1 | sort | uniq`
2016-05-07 10:42:01 -07:00
Sean Chittenden
146c4e8fd6
Rename from posix to unix to parallel x/sys/unix
...
Use the `_unix` file suffix to denote *NIX-like semantics in order to parallel the designation given by the package `golang.org/x/sys/unix`.
2016-05-07 10:33:43 -07:00
Alex Dadgar
c3c3b66fbf
protect writing to closed channel
2016-04-18 11:46:57 -07:00
Diptanu Choudhury
eccebeca9e
Fixing race issues in the log rotator
2016-04-06 18:58:34 -07:00
Diptanu Choudhury
fdea9d7905
Logging errors in the file rotator
2016-04-06 12:06:49 -07:00
Diptanu Choudhury
0c9a5dcb8b
Fixing comments
2016-03-29 17:30:43 -07:00
Diptanu Choudhury
c0c78f6b36
Not deleting files if the number of files is less than max files
2016-03-29 16:42:18 -07:00
Diptanu Choudhury
c86d38360a
Making the calls to exit idempotent
2016-03-22 11:49:56 -07:00
Diptanu Choudhury
0f355e8f87
Introduced a method in executor to launch syslog server
2016-03-18 11:49:10 -07:00
Diptanu Choudhury
8e13eaa522
Using unix domain sockets for docker syslog collector
2016-03-09 23:28:26 -08:00
Diptanu Choudhury
54d7057912
Writing logs to alloc dir
2016-02-24 20:06:43 -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
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
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