Clint
eccc117b78
Merge pull request #288 from hashicorp/f-go-getter
...
Drivers: Use go-getter for artifact retrieval, add artifact support to Exec, Raw Exec drivers
2015-10-26 10:00:29 -05:00
Clint Shryock
1e07daa680
drivers: Add/Use go-getter to fetch remote binaries
...
Updates Qemu, Java drivers to use go-getter to fetch binaries
Adds remote artifact support for Exec, Raw Exec drivers
2015-10-26 09:40:06 -05:00
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
Jeff Mitchell
b13df73ee8
Update the location of cleanhttp
2015-10-22 14:21:07 -04:00
Alex Dadgar
ffaacc3fa6
Merge pull request #319 from hashicorp/cleanhttp
...
Use cleanhttp for truly clean clients and transports.
2015-10-22 09:52:54 -07:00
Jeff Mitchell
b0aac09da8
Use cleanhttp for truly clean clients and transports.
2015-10-22 10:58:23 -04:00
Abhishek Chanda
9f21fc5288
Just put the version as string
2015-10-21 21:09:04 -07:00
Alex Dadgar
5bee60ba93
Update cgroup CPU to use int comparison not float
2015-10-19 13:33:22 -07:00
Alex Dadgar
6e01e1c8ae
Check for invalid CPU limit for cgroups
2015-10-19 11:28:05 -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
6df3a21ee7
Trim extra newline from kernel version
2015-10-15 00:54:21 -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
10fe21cf52
Merge pull request #215 from Carevoyance/gce_fingerprint
...
Add GCE fingerprinting functionality
2015-10-12 16:14:32 -07:00
Daniel Imfeld
263c5f5727
More syntax cleanup
2015-10-12 17:57:45 -05:00
Daniel Imfeld
c43978bc4b
Fix old comments and other syntax cleanup
2015-10-12 16:56:33 -05: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
Daniel Imfeld
203906b94a
GCE fingerprinter no longer updates network resources
...
It has nothing to add that the generic fingerprinters aren't
finding on their own already.
2015-10-09 18:34:57 -05: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
Daniel Imfeld
6acdd9da08
Add a few more GCE-specific attributes:
...
* cpu-platform
* scheduling.automatic-restart
* scheduling.on-host-maintenance
* network.NETWORKNAME=true
2015-10-09 09:10:40 -05: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
Alex Dadgar
2e4f1ae805
Merge pull request #240 from crosbymichael/wait
...
Reap process after sending kill signal
2015-10-08 17:10:23 -07:00
Michael Crosby
9b6e1b4daf
Reap process after sending kill signal
...
Without waiting on the process after sending a kill will cause zombies
and we all know what happens when we have a zombies outbreak.
There are other calls to kill in this file but they are done on the main
process for the task so they should have the wait method called at
sometime in their lifecycle.
2015-10-08 16:54:41 -07:00
Alex Dadgar
f58407d02a
Fix go vet format errors in exec_linux
2015-10-08 16:47:29 -07:00
Alex Dadgar
ae6829c4f6
Fix AWS Networking Fingerprint tests failing when actually on AWS
2015-10-08 12:49:43 -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
Chris Bednarski
ae87aafaea
Merge pull request #233 from hashicorp/docs-executor
...
Clarified package documentation for executor
2015-10-08 11:36:11 -07:00
Chris Bednarski
7063c71461
Insert missing 'may be' and clean up some other formatting / phrasing
2015-10-08 01:38:39 -07:00