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
Chris Bednarski
4a1ae3cd4a
Tweak phrasing to be clearer *why* that's not what we want
2015-10-08 00:07:07 -07:00
Chris Bednarski
c681ec1ba9
Removed wayward 's'
2015-10-08 00:04:45 -07:00
Chris Bednarski
ba59ebdfa9
Clarified package documentation for executor in response to #232
2015-10-08 00:02:46 -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
Daniel Imfeld
a95cedbfe7
Parse information for all GCE network interface.
...
* No longer setting Device name in the network interface since we can't
match up the info here with real device names.
* Add attributes for all external IPs if more than one exists.
2015-10-07 13:35:20 -05: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
Daniel Imfeld
79531fe17c
Compact tags and attribute reading code.
2015-10-07 12:39:23 -05:00
Ivo Verberk
f9be8ede8f
Fix vet warnings
2015-10-07 12:26:58 +02:00
Daniel Imfeld
f985ef45fa
TestNetworkFingerprint_notAWS passes even when actually on AWS
2015-10-06 21:21:42 -05:00
Daniel Imfeld
a55bdd3430
NonXXX tests should pass when actually running in their respective environments.
...
Fixes #224
2015-10-06 21:16:28 -05: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
b58fd56374
Merge pull request #221 from hashicorp/b-docker-tests-osx
...
Add skip detection for all docker tests
2015-10-06 17:53:47 -07:00
Chris Bednarski
f3b5d553ad
Support boot2docker or VM for dev/test
2015-10-06 17:53:05 -07:00
Chris Bednarski
90fbfd5de9
Merge branch 'master' into b-docker-port
2015-10-06 16:38:49 -07:00
Alex Dadgar
ceb2a5f877
Fix alloc_dir error message
2015-10-06 16:38:06 -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
bedee8cd8f
Fix function call
...
Make it skip if rkt is not installed
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
Abhishek Chanda
6a2a938b4e
Add a driver for rkt
...
rkt docs here
https://github.com/coreos/rkt
2015-10-06 15:56:39 -07:00
Alex Dadgar
50862f8e31
Switch to using BlkioWeight
2015-10-06 15:44:01 -07:00
Chris Bednarski
7017276df6
Merge branch 'docker-use-environment' of https://github.com/carlosdp/nomad into b-docker-port
2015-10-06 15:36:06 -07:00