Alex Dadgar
0aad09c239
Remove todo
2016-11-10 15:20:19 -08:00
Alex Dadgar
e246167dc5
Changes the relative path from joining against the alloc dir to the
...
task's directory.
This PR changes the behavior when given a relative host path when
mounting docker containers. Prior to this, the behavior was to mount by
joining against the alloc/ directory. This PR changes it to be against
the task/ directory.
2016-11-10 14:47:54 -08:00
Alex Dadgar
3715613a47
Do not validate the command does not contain spaces.
...
This PR removes validation that the command string does not contain
spaces. This can cause issues where the path contains a folder that
includes a space ("C:\Program Files\Python35\python.exe").
Fixes #1737
2016-11-10 10:22:17 -08:00
Alex Dadgar
4c47e3553a
Merge pull request #1965 from hashicorp/b-docker-interpolate
...
Interpolate all docker driver configs that are strings
2016-11-08 15:35:27 -08:00
Alex Dadgar
ec103e1d65
Merge pull request #1966 from hashicorp/b-service-interpolate
...
Interpolate all service/check fields
2016-11-08 15:35:19 -08:00
Alex Dadgar
a90b84afd8
Rkt env var
2016-11-08 15:14:04 -08:00
Alex Dadgar
3bf19b555e
Interpolate all check related variables
2016-11-08 14:43:46 -08:00
Alex Dadgar
4e5c7efcf6
remove debug
2016-11-08 14:21:37 -08:00
Alex Dadgar
a9da2583d2
Interpolate everything that is a string
2016-11-08 14:20:51 -08:00
Alex Dadgar
17cab6e932
Fix env vars relating to secretdir
2016-11-08 12:28:43 -08:00
Alex Dadgar
38680afa0b
Merge pull request #1938 from hashicorp/b-docker-reattach
...
Fix Docker container creation and task runner updating
2016-11-04 17:14:40 -07:00
Michael Schurter
9750b8c8f7
Add userns_mode docker config option
...
Fixes #1904
2016-11-04 16:53:56 -07:00
Alex Dadgar
12c033ab81
Move the wait result to bottom of methods
2016-11-04 14:58:55 -07:00
Alex Dadgar
55e7d6f7c6
Create container much more robust
2016-11-04 14:39:56 -07:00
Alex Dadgar
6a0999c11f
More recoverable errors
2016-11-02 10:36:04 -07:00
Michael Schurter
8c31bef917
Forgot to flip a bit
2016-11-01 14:35:22 -07:00
Alex Dadgar
aa6f4b6acf
Merge pull request #1908 from hashicorp/f-vault-docs
...
Vault docs
2016-11-01 12:39:14 -07:00
Alex Dadgar
9b18008ccd
Agent
2016-11-01 10:39:15 -07:00
Michael Schurter
ba0983c35a
Add LXC docs and enable by default for lxc builds
2016-11-01 10:18:16 -07:00
Alex Dadgar
f3bd7a8a69
Add docker test
2016-10-28 17:53:25 -07:00
Alex Dadgar
d70fd7e426
Fix passing of recoverable error from docker pull
2016-10-28 17:49:46 -07:00
Diptanu Choudhury
6acfa45f2a
Making the executor lock the logger
2016-10-28 10:57:35 -07:00
Alex Dadgar
8864f6f9a5
Don't delete docker images in test
2016-10-27 12:31:53 -07:00
Michael Schurter
01d47a86f1
Merge pull request #1877 from hashicorp/b-expand-docker-vols
...
Expand env vars in docker volume paths
2016-10-27 11:32:45 -07:00
Michael Schurter
6821210a85
Merge pull request #1862 from hashicorp/f-rkt-portmap
...
driver.rkt: support network configuration [waiting]
2016-10-27 11:05:55 -07:00
Michael Schurter
98debf5320
Expand env vars in docker volume paths
...
Fixes #1876
2016-10-27 11:02:38 -07:00
Alex Dadgar
a186f7a26d
Merge pull request #1806 from hashicorp/f-docker4mac-fixes
...
A couple fixes to make Docker For Mac work
2016-10-27 09:29:40 -07:00
Michael Schurter
aeb410c07c
Put lxc support behind a flag
...
Since lxc support requires linking to a C lib at compile and runtime
I'm putting it behind a build flag to avoid forcing all nomad users to
install liblxc (lxc-dev for development).
2016-10-26 14:55:54 -07:00
Diptanu Choudhury
722433b4f9
Making the cli use TLS if the client has enabled TLS
2016-10-26 11:13:53 -07:00
Michael Schurter
7eae82191e
Fix LXC driver interface impls
2016-10-26 10:06:03 -07:00
Alex Dadgar
00ce1e50f5
Fix panic
2016-10-25 17:27:13 -07:00
Michael Schurter
294b7b306d
Fix tests for rkt port map
2016-10-25 17:06:41 -07:00
Kenjiro Nakayama
82c1e7914e
driver.rkt: add rkt drriver port mapping test
2016-10-25 15:41:49 -07:00
Kenjiro Nakayama
f59a6f7362
driver.rkt: support port mapping with net and port options
2016-10-25 15:41:49 -07:00
Diptanu Choudhury
855fe5f75a
Merge pull request #1699 from hashicorp/f-lxc-driver
...
LXC Support
2016-10-25 15:17:44 -07:00
Diptanu Choudhury
b0c665ce26
Added lxc related dependencies
2016-10-25 15:17:02 -07:00
Alex Dadgar
b0749c7bd4
Merge pull request #1839 from hashicorp/f-signal-constraints
...
Signal creates an auto-constraints
2016-10-25 11:09:33 -07:00
Michael Schurter
da7e3f318b
Fingerprint rkt volume support and make periodic
...
Fix rkt docs and custom volume mounting
2016-10-25 09:46:49 -07:00
Michael Schurter
fe7179c8ee
Allow mounting alloc-dir-relative paths in docker
2016-10-25 09:46:49 -07:00
Michael Schurter
89a1b60c1b
Enable rkt and docker volume mounting by default
2016-10-25 09:46:49 -07:00
Michael Schurter
5ed12860af
Make volume name unique
2016-10-25 09:46:49 -07:00
Michael Schurter
f23cd482c7
Bump minimum required rkt version; update docs
...
Make section names match between docker and rkt
2016-10-25 09:46:49 -07:00
Michael Schurter
da46ce29c2
Fix docker reference in rkt test
2016-10-25 09:46:49 -07:00
Michael Schurter
6af70e005e
Add arbitrary volume support to rkt
2016-10-25 09:46:49 -07:00
Michael Schurter
ec1b44e7e6
Fix standard mounts in rkt and tests
2016-10-25 09:46:49 -07:00
Alex Dadgar
7c3a2d08a3
Merge pull request #1848 from hashicorp/f-vault-error
...
Thread through whether DeriveToken error is recoverable or not
2016-10-24 15:01:18 -07:00
Alex Dadgar
ceecfbbdef
Merge pull request #1845 from hashicorp/f-remove-disk-usage-acct
...
Remove disk usage enforcement
2016-10-22 19:01:51 -07:00
Alex Dadgar
109deabf3a
Fix signal test for docker
2016-10-22 18:32:48 -07:00
Alex Dadgar
42f7bc8e81
Thread through whether DeriveToken error is recoverable or not
2016-10-22 18:08:30 -07:00
Michael Schurter
317922642f
Fix comment form
2016-10-21 16:56:33 -07:00