Commit Graph

15 Commits

Author SHA1 Message Date
Alex Dadgar
07f7e19578 Fix vet script and fix vet problems
This PR fixes our vet script and fixes all the missed vet changes.

It also fixes pointers being printed in `nomad stop <job>` and `nomad
node-status <node>`.
2017-02-27 16:00:19 -08:00
Alex Dadgar
c920d3cbb0 Fix unreachable function in tests 2017-01-25 20:58:24 -08:00
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
Alex Dadgar
358c43333d Send Executor Ctx separately 2016-10-12 11:35:29 -07:00
Diptanu Choudhury
8174671c7c Fixed the docker script check 2016-08-17 13:23:48 -07:00
vrenjith
b686be0c9b Update checks_test.go
Remove docker volumes while exiting container
2016-08-04 11:42:47 +05:30
Diptanu Choudhury
59e91e1cb2 Using latest busybox 2016-03-25 18:21:43 -07:00
Diptanu Choudhury
6ee99af452 Fixing the exec script check to run within the chroot 2016-03-25 17:53:22 -07:00
Diptanu Choudhury
d4a5f075dd Moved the dockerIsConnected to testutils 2016-03-25 17:15:51 -07:00
Diptanu Choudhury
f1d9b2cb65 Removing the container after running script check 2016-03-25 17:02:53 -07:00
Diptanu Choudhury
644710a739 Added more tests for the checks 2016-03-25 16:56:40 -07:00
Diptanu Choudhury
62249fe79f Added an impl for Nomad Checks 2016-03-24 19:00:24 -07:00
Diptanu Choudhury
52d4b01b44 Added a test for the exec script check 2016-03-24 16:33:04 -07:00
Diptanu Choudhury
42dc8bea16 Added a check type for consul service to delegate certain checks 2016-03-24 14:54:26 -07:00
Diptanu Choudhury
4faf16b5c0 Added implementation to run checks for docker, exec and raw_exec 2016-03-24 14:54:26 -07:00