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
Seth Vargo
54fa6d76a2
Add Travis testing
2015-10-08 21:24:00 -04: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
c25b6b9317
TestRPC_forwardRegion waits for test servers to join
2015-10-08 16:32:42 -07:00
Alex Dadgar
0681acbf69
Fix race condition in server endpoint tests in which workers would process evals before there status could be asserted
2015-10-08 15:36:42 -07:00
Chris Bednarski
f6a16f5a5c
Use 2 cpus and 1024 ram by default
2015-10-08 14:24:47 -07:00
Chris Bednarski
7c68153b0a
Add more CPUs to the vagrant VM, disable gui, and make ram consistent across providers
2015-10-08 14:21:02 -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
c4e4861889
Documentation
2015-10-08 12:19:39 -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
Armon Dadgar
e5191197f7
Merge pull request #234 from charlieok/patch-1
...
Remove redundant 'contains'
2015-10-08 14:33:27 -04:00
Seth Vargo
c31e1aad0e
Add shopt globs to include hidden files
2015-10-08 13:48:17 -04:00
Charlie O'Keefe
a9a7ebec4e
Remove redundant 'contains'
2015-10-08 08:39:27 -06: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
dc1d845e2c
Added documentation for DOCKER_HOST and docker.endpoint; also filled in docs for docker.cleanup
2015-10-08 00:08:54 -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
Alex Dadgar
12545fc70a
Merge pull request #229 from iverberk/fix_vet_warnings
...
Fix vet warnings
2015-10-07 10:14:56 -07: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
Abhishek Chanda
64cedc1b27
Print coverage info while running tests
2015-10-06 19:13:04 -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
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
Alex Dadgar
f6f2276dbc
Bump version to 0.1.2
2015-10-06 16:56:25 -07:00
Alex Dadgar
8ae65cf743
CHANGELOG for 0.1.2
2015-10-06 16:44:00 -07:00
Alex Dadgar
5942c8c272
Update demo Vagrantfile
2015-10-06 16:43:27 -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