Commit Graph

338 Commits

Author SHA1 Message Date
Alex Dadgar
dccbc0320b Fix tests 2016-01-11 09:58:31 -08:00
Alex Dadgar
8cc513d16c Add folder 2016-01-11 09:58:31 -08:00
Alex Dadgar
b8a42786f3 merge 2016-01-11 09:58:26 -08:00
Bastiaan Bakker
bf4217e4e8 Add options ipc_mode, pid_mode and uts_mode to docker driver.
May only be used if priviliged mode is enabled in driver config.
2016-01-08 23:34:49 +01:00
Alex Dadgar
09a0f40278 Use basic executor 2016-01-06 15:31:08 -08:00
Diptanu Choudhury
06e2a983c1 Adding a , between args to netdav 2016-01-05 13:17:51 -08:00
Alex Dadgar
7db04aa37f Merge pull request #645 from achanda/mount_dirs
Mount task and alloc dirs in the rkt driver
2016-01-05 10:34:03 -08:00
Abhishek Chanda
9ebc143345 Mount task and alloc dirs in the rkt driver
rkt docs herer https://coreos.com/rkt/docs/latest/subcommands/run.html#mounting-volumes
2016-01-05 10:27:44 +00:00
Alex Dadgar
7cc5714dc9 Merge pull request #624 from hashicorp/f-adjustable-timeout
User specifiable kill timeout and operator configurable max
2016-01-04 11:44:22 -08:00
Alex Dadgar
428806a5f1 Merge pull request #633 from achanda/opts_change
Update the insecure flag
2015-12-28 13:35:36 -08:00
Kenneth Feng
b03d94da1e linux/exec: add /usr/share to ChrootEnv 2015-12-28 13:39:34 -05:00
Abhishek Chanda
62d879d317 Update the insecure flag
The current call has been deprecated in
https://github.com/coreos/rkt/pull/1738
2015-12-25 15:59:54 +00:00
Alex Dadgar
9f44780f89 User specifiable kill timeout and operator configurable max 2015-12-22 16:10:30 -08:00
Abhishek Chanda
b9a8aa2250 Consolidate if else conditions 2015-12-22 18:23:29 +00:00
Alex Dadgar
e7570976b2 Rkt comment and variable name update 2015-12-22 10:11:22 -08:00
Abhishek Chanda
84acb2590b Move constants to the top 2015-12-22 05:15:37 +00:00
Abhishek Chanda
f5e2ac06aa Do not allow rkt version less than 0.14.0 2015-12-21 17:48:21 +00:00
Abhishek Chanda
c3c8146042 Use camelCase for variable names 2015-12-21 16:37:21 +00:00
Abhishek Chanda
19bcf4fce3 Run gofmt 2015-12-21 06:09:11 +00:00
Abhishek Chanda
6f3210e3d7 Support CPU and meory isolators for the rkt driver
The rkt community added supprt for these isolators recently
2015-12-21 06:06:45 +00:00
Clint Shryock
dd6cc455fe Executors/Linux: Update Executor config struct 2015-12-17 10:25:42 -06:00
Diptanu Choudhury
06443a6629 Using cgo dependencies to look up users 2015-12-15 11:12:13 -08:00
Alex Dadgar
d536fe9027 Remove all calls to the default logger 2015-12-11 15:02:13 -08:00
Chris Hines
2bcab7cc0c Avoid leaking a time.Ticker. 2015-12-11 15:30:53 -05:00
Alex Dadgar
8be637b93f Merge pull request #556 from hashicorp/b-cache-docker-client
Do.Once docker client initialization
2015-12-10 16:19:06 -08:00
Chris Bednarski
5bf8a1fff6 Move raw_exec enabled into the DevMode config block 2015-12-10 15:24:21 -08:00
Chris Bednarski
1821db757b Use ReadBoolDefault 2015-12-10 15:03:25 -08:00
Chris Bednarski
462a721edb Enable raw exec in dev mode 2015-12-10 14:48:06 -08:00
Alex Dadgar
25e47465c1 Do Once docker client initialization 2015-12-10 13:49:29 -08:00
Diptanu Choudhury
d53591052e Sending the user process sigint during shutdown on linux 2015-12-08 08:14:13 -08:00
Chris Bednarski
8267ffe8a6 Merge branch 'user-lookup-nocgo' of https://github.com/carlosdp/nomad into b-user-lookup 2015-12-01 13:44:56 -08:00
Carlos Diaz-Padron
eeaa84d52e Refactor out userLookup to helper package
Also replaces user.Lookup in exec driver
2015-12-01 11:59:55 -08:00
Diptanu Choudhury
0c499f78b3 Moving the args to helper 2015-11-26 14:13:19 -08:00
Chris Hines
ffda9d71d4 Speed up tests by allowing parallel execution. 2015-11-25 15:56:55 -05:00
Chris Hines
d707adc3ed Use package testtask and httptest.Server to make client/driver tests OS independent. 2015-11-25 15:56:20 -05:00
Chris Hines
551104cafe Use package testtask in client/driver/spawn tests. 2015-11-25 15:34:55 -05:00
Chris Hines
ef7388549d Eliminate special case in production code for embedding test binary into chroot. 2015-11-25 15:31:29 -05:00
Chris Hines
fd4ec821f9 Factor portable test task out of client/driver/executor. 2015-11-24 20:59:42 -05:00
Alex Dadgar
8afce68bf0 Inject the current binary into the chroot in test mode 2015-11-24 16:30:53 -08:00
Chris Hines
376e192867 Fix Executor_Open_Invalid test for Windows. 2015-11-24 16:30:53 -08:00
Chris Hines
ded2aeab2e Include Executor_Open_Invalid in test suite. 2015-11-24 16:30:53 -08:00
Chris Hines
43f3c43ec0 Improve names and documentation in test code. 2015-11-24 16:30:53 -08:00
Chris Hines
3f6c115440 Use TestMain to provide portable echo, sleep, and write commands. 2015-11-24 16:30:53 -08:00
Alex Dadgar
ef1937cd53 Standardize log messages in fingerprinters to DEBUG 2015-11-24 11:06:51 -08:00
Chris Bednarski
9e418fcaf5 Merge pull request #481 from hashicorp/b-vet
Fix some issues caught by go vet
2015-11-20 16:31:47 -08:00
Chris Bednarski
5f719161de Merge pull request #480 from hashicorp/f-docker-tls-config
Added docker.tls config file options and docs
2015-11-20 16:31:41 -08:00
Chris Bednarski
fc95a3c9dc Fix some issues caught by go vet 2015-11-20 16:01:27 -08:00
Chris Bednarski
2970006488 Change println to printf 2015-11-20 16:00:58 -08:00
Chris Bednarski
30e7ef3eb9 Don't show endpoint when we're not using it 2015-11-20 15:53:38 -08:00
Chris Bednarski
2563480ddf Added docker.tls config file options and docs 2015-11-20 15:47:03 -08:00