Chris Bednarski
|
e2c324d098
|
Merge branch 'master' into f-port-configs
|
2015-09-23 11:57:12 -07:00 |
Chris Bednarski
|
f4ad6e51dc
|
Replaced List with Map
|
2015-09-23 11:56:36 -07:00 |
Armon Dadgar
|
b213462cb4
|
Change CPU from float64 to int
|
2015-09-23 11:14:32 -07:00 |
Chris Bednarski
|
e26dbf4850
|
Fix some printf tokens
|
2015-09-22 23:43:05 -07:00 |
Chris Bednarski
|
9067b2594f
|
Added environment variables to docker
|
2015-09-22 23:12:24 -07:00 |
Chris Bednarski
|
8bf45688b6
|
Check for nils before accessing data
|
2015-09-22 23:11:55 -07:00 |
Chris Bednarski
|
27376dc548
|
Added environment variables to Java
|
2015-09-22 22:36:10 -07:00 |
Chris Bednarski
|
3e90379f05
|
Pass dynamic ports to the exec driver via environment variables
|
2015-09-22 22:33:29 -07:00 |
Armon Dadgar
|
fe72c8ea59
|
client: reset response struct to avoid decode errors
|
2015-09-22 22:10:28 -07:00 |
Armon Dadgar
|
b7f370ba07
|
client: create dir, handle not exist more gracefully
|
2015-09-22 22:00:24 -07:00 |
Armon Dadgar
|
ef81b29d7a
|
client: fixing stats formating
|
2015-09-22 21:48:42 -07:00 |
Chris Bednarski
|
09249d877c
|
Removed comment that's no longer relevant
|
2015-09-22 20:11:07 -07:00 |
Alex Dadgar
|
b8e7d28a06
|
Update package import name
|
2015-09-22 18:48:42 -07:00 |
Alex Dadgar
|
dd2f16123f
|
Fix qemu check and add debug lines when a driver is disabled
|
2015-09-22 17:36:44 -07:00 |
Alex Dadgar
|
bbb3853dd8
|
Update Qemu Fingerprint check
|
2015-09-22 17:12:52 -07:00 |
Alex Dadgar
|
e095664c49
|
Guard tests
|
2015-09-22 17:10:03 -07:00 |
Alex Dadgar
|
3875e8a59a
|
Update exec_linux to assume it is running as root
|
2015-09-22 16:44:11 -07:00 |
Alex Dadgar
|
dd0a76a9d7
|
Disable exec/java/qemu when non-root on non-windows OSes
|
2015-09-22 16:32:05 -07:00 |
Chris Bednarski
|
168c959497
|
Added named ports
|
2015-09-22 13:59:16 -07:00 |
Armon Dadgar
|
ed2fc3a69f
|
client: persist the node ID
|
2015-09-22 10:31:47 -07:00 |
Alex Dadgar
|
1b46cbff83
|
Fixed function comment
|
2015-09-21 09:08:57 -07:00 |
Alex Dadgar
|
8d24e5e532
|
Tests skip based on cgroups, not root
|
2015-09-21 09:08:57 -07:00 |
Alex Dadgar
|
e694688527
|
Update UniversalExecutor to have string identifiers
|
2015-09-21 09:08:57 -07:00 |
Alex Dadgar
|
0e3f21b34f
|
Linux executor with cgroup isolation support
|
2015-09-21 09:08:57 -07:00 |
Clint Shryock
|
61948802a8
|
executor/linux: Add UUID for the name, return error on failure to apply
|
2015-09-21 09:08:57 -07:00 |
Clint Shryock
|
067e65bf12
|
exec/linux: move Limit to after Start
|
2015-09-21 09:08:57 -07:00 |
Clint Shryock
|
0c526ddb8e
|
spike on adding cgroups
|
2015-09-21 09:08:57 -07:00 |
Armon Dadgar
|
807edc194d
|
Merge branch 'f-docs'
|
2015-09-20 19:25:25 -07:00 |
Armon Dadgar
|
67fc3c9b87
|
client: optimize initial heartbeat time
|
2015-09-20 17:02:12 -07:00 |
Chris Bednarski
|
d4948e2935
|
Windows does not support exec.Cmd.SysProcAttr.Credential call; this causes cross-compiltion to fail so it's behind a build flag now
|
2015-09-18 18:59:42 -07:00 |
Chris Bednarski
|
c99e368461
|
Support running Linux exec as a non-root user
|
2015-09-15 20:17:23 -07:00 |
Chris Bednarski
|
57e4f7c44f
|
Merge branch 'master' into f-executor
|
2015-09-15 19:03:52 -07:00 |
Chris Bednarski
|
e5cb8852af
|
Overhaul the executor code so we use build flags instead of dynamic loading
|
2015-09-15 18:54:55 -07:00 |
Chris Bednarski
|
d1c4abef33
|
Changed Default executor to use a factory
|
2015-09-15 16:40:40 -07:00 |
Chris Bednarski
|
4cefbc3c22
|
Rename exec package to executor so it works better with goimports; fixes for Java driver
|
2015-09-15 14:03:03 -07:00 |
Chris Bednarski
|
6a7b82f7ba
|
Update Java driver to use Executor
|
2015-09-15 13:45:48 -07:00 |
Chris Bednarski
|
9db88f6013
|
Updated exec driver to use nomad/client/exec
|
2015-09-15 13:11:56 -07:00 |
Chris Bednarski
|
06073b171d
|
Use Linux on Linux
|
2015-09-14 19:38:21 -07:00 |
Chris Bednarski
|
6eb3d86528
|
Run as nobody if no user is specified
|
2015-09-14 19:04:29 -07:00 |
Chris Bednarski
|
e4d3aad44e
|
Send signal 0 to check whether the process is alive
|
2015-09-14 16:16:56 -07:00 |
Chris Bednarski
|
0425ae941c
|
Implemented Linux driver with RunAs functionality -- added errors to RunAs and Limit
|
2015-09-14 15:57:21 -07:00 |
Armon Dadgar
|
2ff133c0e6
|
nomad: rename region1 to global. Fixes #41
|
2015-09-13 18:18:40 -07:00 |
Armon Dadgar
|
d1f829e502
|
client: Use Alloc.TaskResouces to override Task.Resources
|
2015-09-13 17:35:56 -07:00 |
Ryan Uber
|
3d31230ac1
|
client: always create alloc dir if it is non-empty
|
2015-09-13 12:14:12 -07:00 |
Ryan Uber
|
58216245ac
|
client: skip init in dev mode
|
2015-09-12 13:16:27 -07:00 |
Ryan Uber
|
823276993c
|
client: init the alloc dir
|
2015-09-12 11:47:44 -07:00 |
Ryan Uber
|
1ff724ab25
|
client: alloc dirs tolerate missing directories
|
2015-09-11 20:32:55 -07:00 |
Chris Bednarski
|
91194d9337
|
Update the interface, add UniversalExecutor, add stub for LinuxExecutor
|
2015-09-11 17:12:48 -07:00 |
Chris Bednarski
|
f511eeac0e
|
Added stub / spec for executor interface
|
2015-09-11 12:35:03 -07:00 |
Chris Bednarski
|
da93d4a30f
|
Change error to err to be consistent with other usage
|
2015-09-11 10:26:33 -07:00 |