Alex Dadgar
|
5730528712
|
Merge branch 'master' of https://github.com/hashicorp/nomad
|
2015-10-23 16:23:54 -07:00 |
|
Alex Dadgar
|
7c9926c3c7
|
Format rkt_test
|
2015-10-23 16:23:43 -07:00 |
|
Abhishek Chanda
|
c8443fbe3c
|
Cleanup tests
- Consolidate checking if non-windows and if qemu is installed
- Fix non-windows check
|
2015-10-23 14:19:22 -07:00 |
|
Abhishek Chanda
|
9f21fc5288
|
Just put the version as string
|
2015-10-21 21:09:04 -07:00 |
|
Alex Dadgar
|
bacb89a620
|
Merge pull request #291 from hashicorp/d-rkt-volume-mounts-blocked
Document that Rkt doesn't support task directory mounting
|
2015-10-16 17:07:53 -07:00 |
|
Abhishek Chanda
|
1a3f79c755
|
Actually append jvm opts to the CLI
- Also adds a test
|
2015-10-16 22:45:16 +00:00 |
|
Abhishek Chanda
|
707f10adb3
|
No need to pass jvm_options initially
|
2015-10-16 12:44:43 -07:00 |
|
Abhishek Chanda
|
1bd5e12cce
|
Some minor style cleanups
|
2015-10-16 12:44:33 -07:00 |
|
Abhishek Chanda
|
9995584039
|
Support passing options to the JVM in java driver
Closes #292
|
2015-10-16 12:44:33 -07:00 |
|
Alex Dadgar
|
f914c47661
|
Fix broken test
|
2015-10-16 10:11:31 -07:00 |
|
Alex Dadgar
|
6814c476b1
|
Rkt driver clears task environment variables
|
2015-10-15 18:19:13 -07:00 |
|
Alex Dadgar
|
fc9a148639
|
Add clearing to environment variables
|
2015-10-15 18:13:05 -07:00 |
|
Alex Dadgar
|
70f4fc5b15
|
Change two helper functions to be methods
|
2015-10-15 17:47:14 -07:00 |
|
Alex Dadgar
|
87ae6c6be6
|
Remove debug lines
|
2015-10-15 17:30:40 -07:00 |
|
Alex Dadgar
|
5bf2ad0261
|
Docker alloc dir tests and test fixes
|
2015-10-15 16:59:08 -07:00 |
|
Alex Dadgar
|
db88c38bc7
|
Bind alloc dir and task local dir to docker containers and parse args correctly
|
2015-10-15 16:40:07 -07:00 |
|
Abhishek Chanda
|
4275f27f9f
|
Run gofmt on the docker driver
|
2015-10-13 23:21:16 +00:00 |
|
Abhishek Chanda
|
b26c11b3b4
|
Do not default to a network mode
Makes the driver error out when a wrong or un-supported
network_mode is used
|
2015-10-13 10:57:21 -07:00 |
|
Alex Dadgar
|
659e66d8f7
|
Update driver config names for consistency and make the trust_prefix optional
|
2015-10-12 14:37:56 -07:00 |
|
Alex Dadgar
|
7936102135
|
Log starting command
|
2015-10-12 14:33:19 -07:00 |
|
Alex Dadgar
|
ab75442dd2
|
Capture Rkt logs
|
2015-10-12 14:33:18 -07:00 |
|
Alex Dadgar
|
e2105f0643
|
Separate args from exec command; inject environment variables and general cleanup of Rkt driver
|
2015-10-12 14:33:18 -07:00 |
|
Alex Dadgar
|
5a0551aed9
|
Change Docker/Rkt to set driver to 1 not true for consistency
|
2015-10-12 13:15:37 -07:00 |
|
Alex Dadgar
|
75eb9e28d8
|
Fix raw exec test race condition
|
2015-10-09 20:56:28 -07:00 |
|
Alex Dadgar
|
0d02839220
|
Merge pull request #237 from hashicorp/f-raw-exec-driver
A raw fork/exec driver that provides no isolation.
|
2015-10-09 11:30:12 -07:00 |
|
Alex Dadgar
|
bbdceca358
|
Better parsing of raw_exec option and updated docs
|
2015-10-09 11:29:59 -07:00 |
|
Chris Bednarski
|
6c90314a51
|
Merge pull request #225 from hashicorp/b-docker-port
Change docker default port to support windows and boot2docker
|
2015-10-08 23:50:11 -07:00 |
|
Chris Bednarski
|
6e43a2ba33
|
Use DefaultDockerHost from fsouza upstream
|
2015-10-08 12:35:19 -07:00 |
|
Alex Dadgar
|
60346ae8ec
|
Actually add the files
|
2015-10-08 12:19:39 -07:00 |
|
Alex Dadgar
|
7caa30b859
|
Change name from pexec to raw_exec; hamming distance one seemed like a bad idea
|
2015-10-08 12:19:39 -07:00 |
|
Alex Dadgar
|
1098e562fc
|
Privileged exec driver
|
2015-10-08 12:19:39 -07:00 |
|
Alex Dadgar
|
7ab84c2862
|
Merge pull request #165 from achanda/rkt
Add a driver for rkt
|
2015-10-07 16:00:21 -07:00 |
|
Abhishek Chanda
|
9140796a49
|
Run gofmt
|
2015-10-07 22:24:16 +00:00 |
|
Abhishek Chanda
|
43a8a1af96
|
Add an optional exec parameter to task config
This overrides the default exec command in the ACI
|
2015-10-07 15:15:36 -07:00 |
|
Abhishek Chanda
|
558333dce9
|
Use Run for adding trust prefix
The trust needs to be added before anything can progress
|
2015-10-07 11:15:17 -07:00 |
|
Chris Bednarski
|
8b0c18db5f
|
Remove panic -- client is nil when there is an error
|
2015-10-06 19:09:59 -07:00 |
|
Chris Bednarski
|
d7023f8f71
|
Merge branch 'master' into b-docker-port
|
2015-10-06 17:54:32 -07:00 |
|
Chris Bednarski
|
f3b5d553ad
|
Support boot2docker or VM for dev/test
|
2015-10-06 17:53:05 -07:00 |
|
Chris Bednarski
|
2801e7d1e1
|
Fingerprint test should now behave correctly when the executor is not installed; fix some go vet issues
|
2015-10-06 16:33:02 -07:00 |
|
Chris Bednarski
|
127dc127b2
|
Use docker.NewClient; move dockerClient before it's used
|
2015-10-06 16:26:31 -07:00 |
|
Abhishek Chanda
|
4b216736ab
|
Use Start to run commands
Run blocks
|
2015-10-06 15:56:39 -07:00 |
|
Abhishek Chanda
|
5c76624f2e
|
Add prefix to all message logs for rkt driver
|
2015-10-06 15:56:39 -07:00 |
|
Abhishek Chanda
|
97c2172108
|
Register rkt as a built in driver
|
2015-10-06 15:56:39 -07:00 |
|
Abhishek Chanda
|
00556d4b3b
|
Add missing import and remove unsued one
|
2015-10-06 15:56:39 -07:00 |
|
Abhishek Chanda
|
740187e669
|
Do not run containers interactively
|
2015-10-06 15:56:39 -07:00 |
|
Abhishek Chanda
|
0bc00223ed
|
Do not register to the metadata service
|
2015-10-06 15:56:39 -07:00 |
|
Abhishek Chanda
|
61b4be2389
|
Remove a stray comment
|
2015-10-06 15:56:39 -07:00 |
|
Abhishek Chanda
|
0e659aefe7
|
Fix constructing the handle
|
2015-10-06 15:56:39 -07:00 |
|
Abhishek Chanda
|
481ba6ecb6
|
Add a test fort he rkt driver
|
2015-10-06 15:56:39 -07:00 |
|
Abhishek Chanda
|
f893fb7c35
|
Fix name of prefix
|
2015-10-06 15:56:39 -07:00 |
|