Commit Graph

9 Commits

Author SHA1 Message Date
Mahmood Ali
379e79ceff Vendor libcontainer/devices 2018-12-07 09:13:27 -05:00
Nick Ethier
5b14d24bf4 executor v2 (#4656)
* client/executor: refactor client to remove interpolation

* executor: POC libcontainer based executor

* vendor: use hashicorp libcontainer fork

* vendor: add libcontainer/nsenter dep

* executor: updated executor interface to simplify operations

* executor: implement logging pipe

* logmon: new logmon plugin to manage task logs

* driver/executor: use logmon for log management

* executor: fix tests and windows build

* executor: fix logging key names

* executor: fix test failures

* executor: add config field to toggle between using libcontainer and standard executors

* logmon: use discover utility to discover nomad executable

* executor: only call libcontainer-shim on main in linux

* logmon: use seperate path configs for stdout/stderr fifos

* executor: windows fixes

* executor: created reusable pid stats collection utility that can be used in an executor

* executor: update fifo.Open calls

* executor: fix build

* remove executor from docker driver

* executor: Shutdown func to kill and cleanup executor and its children

* executor: move linux specific universal executor funcs to seperate file

* move logmon initialization to a task runner hook

* client: doc fixes and renaming from code review


* taskrunner: use shared config struct for logmon fifo fields

* taskrunner: logmon only needs to be started once per task
2018-10-16 16:53:31 -07:00
Nick Ethier
e9f3f2cfee Update runc/libcontainer and friends (#4655)
* vendor: bump libcontainer and docker to remove Sirupsen imports

* vendor: fix bad vendoring of archive package

* vendor: fix api changes to cgroups in executor

* vendor: fix docker api changes

* vendor: update github.com/Azure/go-ansiterm to use non capitalized logrus import
2018-10-16 16:53:30 -07:00
Daniel Kerwin
d4dca3b02d Update to latest go-dockerclient. Fix .gitignore expression to allow
docker/pkg packages.
2016-05-28 12:01:56 +02:00
Sean Chittenden
3eb9664eca Remove unused packages
```
govendor remove +unused
git add vendor/
```
2016-05-04 19:49:43 -07:00
Diptanu Choudhury
6e991c7aec Updated libcontainer 2016-04-02 12:37:19 -07:00
Diptanu Choudhury
f1301c9378 Fixed the logic of cgroup creation 2016-03-01 17:01:45 -08:00
Diptanu Choudhury
ce071ea597 Updated libcontainer 2016-02-26 17:11:00 -08:00
Diptanu Choudhury
3acc5408b0 Using godeps to build 2016-02-12 10:02:16 -08:00