Commit Graph

315 Commits

Author SHA1 Message Date
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
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
Ivo Verberk
f9be8ede8f Fix vet warnings 2015-10-07 12:26:58 +02: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
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
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
095dc9ae57 Updated Throttle Read/Write to match upstream changes in runc; now takes a list of ThrottleDevice structs instead of an int 2015-10-06 15:31:47 -07:00
Chris Bednarski
629a56ee70 This is needed for 1.4.2 compat; not sure what removed it 2015-10-06 00:32:34 -07:00
Chris Bednarski
28fef04b64 Add skip detection for all docker tests 2015-10-06 00:27:05 -07:00
Alex Dadgar
02fb48fbc1 Cleanup allocations when in dev mode 2015-10-04 13:36:03 -07:00
Alex Dadgar
7f359cfe99 update test to reflect not uppercasing passed env vars 2015-10-02 17:49:18 -07:00
Antoine POPINEAU
78f74c57ae Removed capitalization of user-defined envvars. 2015-10-02 17:46:55 -07:00
Antoine POPINEAU
962c509586 Moved the envvars logic to TaskEnvironment and TaskEnvironmentVariables(). Added tests there. 2015-10-02 17:46:55 -07:00
Antoine POPINEAU
9c17c0a1d8 Added a jobspec directive to specify envvars. Updated Docker driver to use them accordingly. 2015-10-02 17:46:55 -07:00
Alex Dadgar
3fa7c34e66 Add debug line when setting link speed to default 2015-10-02 17:32:17 -07:00
Alex Dadgar
d8f3bd26e6 Merges 2015-10-02 17:32:11 -07:00
Alex Dadgar
5294330cf7 go-fmt 2015-10-02 10:54:04 -07:00
Alex Dadgar
1c6861cf61 Merge pull request #199 from achanda/double_call
Fix two issues where settings were not taking effect
2015-10-02 10:52:41 -07:00
Abhishek Chanda
0ef12a5ef7 Make sure createHostConfig is called only once
The second call discards any mods to port binding or
network type

Fixes #185 and #196
2015-10-02 10:43:37 -07:00
Antoine POPINEAU
e3bcf4490b Merge branch 'master' into dev/net-fingerprint 2015-10-02 09:38:35 +02:00
Antoine POPINEAU
256d390789 Renamed all instances of Iface to NetworkInterface. 2015-10-02 09:29:18 +02:00
Alex Dadgar
96b6109bab Merge pull request #184 from achanda/docker_net
Enable setting networking mode for docker
2015-10-01 19:32:48 -07:00
Abhishek Chanda
ee2cd3bed0 Enable setting networking mode for docker
This patch enables setting networking mode for the docker
driver. This does not handle the `container` mode.
Closes #175
2015-10-01 18:52:41 -07:00
Antoine POPINEAU
2a08cbaeb2 Refactored code. 2015-10-01 21:16:39 +02:00
Antoine POPINEAU
f639ad10ab Comment some undocumented code. 2015-10-01 20:39:10 +02:00
Ryan Uber
8d9e54bcbb Merge pull request #153 from aldergren/master
Prevent df on linux from adding line breaks to output
2015-10-01 11:21:02 -07:00
Antoine POPINEAU
a70493f855 Forgot some error checking. 2015-10-01 17:33:40 +02:00