Commit Graph

17 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
Michael Schurter
5f0f349a11 Update go-dockerclient to fix #3419
Includes this workaround:
99ba9a9ff4/container.go (L634-L637)
2017-11-14 15:57:09 -08:00
Alex Dadgar
d6bb642bc2 Clean vendored packages
This PR removes unused packages from the vendor folder.
2017-11-10 13:00:32 -08:00
Michael Schurter
1df41cffb8 Revert libcontainer to 89ab7f2ccc1 2017-03-01 10:42:31 -08:00
Michael Schurter
2b479554fd Vendor some missing deps 2017-02-28 13:38:57 -08:00
Michael Schurter
29d3c8b604 Update lots of vendored deps 2017-02-28 12:16:52 -08:00
Michael Schurter
939224ea89 Hoping updating docker deps will fix panic on Windows
🤞
2017-02-28 11:56:11 -08:00
Alex Dadgar
36725370ee vendor 2017-01-23 11:32:51 -08: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
45d1c68095 Adding vendored code in pkg directories 2016-02-12 13:32:32 -08:00
Diptanu Choudhury
3acc5408b0 Using godeps to build 2016-02-12 10:02:16 -08:00