Commit Graph

1044 Commits

Author SHA1 Message Date
Alex Dadgar
3906dc1afc Fix client init logging and test 2015-09-25 18:12:11 -07:00
Alex Dadgar
04094cfb40 Small test cleanup 2015-09-25 17:55:29 -07:00
Alex Dadgar
57ade13fc8 Fix comments 2015-09-25 16:49:19 -07:00
Alex Dadgar
df8103dfe9 Log the alloc and state directory on Client Init() 2015-09-25 16:49:19 -07:00
Alex Dadgar
2ee8b22ddb Use host file/dir permissions when embedding 2015-09-25 16:49:19 -07:00
Alex Dadgar
0dd0bf39fa Destroy allocdirs in task runner tests 2015-09-25 16:49:19 -07:00
Alex Dadgar
6d7afcd1ff Skip non-regular files in embedding and comment on the chrootEnv map 2015-09-25 16:49:19 -07:00
Alex Dadgar
66fd821af5 Change allocdir variable name for clarity 2015-09-25 16:49:19 -07:00
Alex Dadgar
23c726a055 Windows shouldn't do anything on unmount 2015-09-25 16:49:19 -07:00
Alex Dadgar
84e6601db8 Update CPU limit to be an int 2015-09-25 16:49:18 -07:00
Alex Dadgar
e5eb55c805 Only unmount once 2015-09-25 16:49:18 -07:00
Alex Dadgar
099e9de211 Fix cgroup isolation 2015-09-25 16:49:18 -07:00
Alex Dadgar
e8bd1a3df4 Fix embed non-existent test 2015-09-25 16:49:18 -07:00
Chris Bednarski
5c4bb5d53e Added errNoResources to executor package; return this when Limit is called with nil argument 2015-09-25 16:49:18 -07:00
Chris Bednarski
559462b49f Added basic resources to exec/java tests so each test has cpu, ram, and network 2015-09-25 16:49:18 -07:00
Alex Dadgar
8a5e65e27a Merge qemu test 2015-09-25 16:49:14 -07:00
Alex Dadgar
9caa7ac077 Mount shared alloc dir, modified API and tests 2015-09-25 16:46:41 -07:00
Alex Dadgar
aba801d68e Linux Embed and AllocDir unit tests 2015-09-25 16:46:41 -07:00
Alex Dadgar
7a5f6ea8e8 Fix function header 2015-09-25 16:46:41 -07:00
Alex Dadgar
a934701857 Embed interface 2015-09-25 16:46:41 -07:00
Alex Dadgar
dfd0efbacd Client init rebase 2015-09-25 16:46:41 -07:00
Alex Dadgar
66fe1294da Changed file names so it builds correctly 2015-09-25 16:46:41 -07:00
Alex Dadgar
38460ca653 AllocDirBuilder that creates the alloc directory structure 2015-09-25 16:46:41 -07:00
Armon Dadgar
122c14965a Merge pull request #101 from hashicorp/f-qemu-network-update
driver/qemu: Use Restricted Ports, additional port forwarding
2015-09-25 16:36:46 -07:00
Ryan Uber
bfb5d524b4 nomad: fix test race 2015-09-25 16:07:37 -07:00
Clint Shryock
0b967f16fe fix typo in docs 2015-09-25 15:19:38 -05:00
Ryan Uber
06e0a04a48 nomad: data centers -> datacenters 2015-09-25 12:27:31 -07:00
Ryan Uber
80d940d920 agent: all dynamic ports for tests 2015-09-25 12:19:13 -07:00
Ryan Uber
26e31edf1c Merge pull request #114 from hashicorp/f-clients
Make servers list configurable on clients
2015-09-25 12:03:21 -07:00
Ryan Uber
87c58e37cc website: update docs for command rename 2015-09-25 12:00:14 -07:00
Ryan Uber
d8994032e7 command: rename client-servers -> client-config 2015-09-25 11:49:31 -07:00
Chris Bednarski
b80ec89b4a Added group add command for docker to the docker docs 2015-09-25 11:29:38 -07:00
Armon Dadgar
88ef0f188e Merge pull request #112 from hashicorp/f-validate
command/validate: Adding new command
2015-09-25 11:17:18 -07:00
Armon Dadgar
f9c16391e8 website: fix wording 2015-09-25 11:17:06 -07:00
Ryan Uber
8913c8155e website: fix copy 2015-09-25 10:14:30 -07:00
Clint Shryock
ce732cede4 Fix bad copy-paste from refactoring 2015-09-25 08:36:46 -05:00
Chris Bednarski
ff72fa8c5e Merge pull request #113 from hashicorp/docs-docker
Added docker docs; updated isolation notes for QEMU
2015-09-24 23:41:01 -07:00
Chris Bednarski
784cef5523 Add note on configuring the agent; fix some typos 2015-09-24 23:40:30 -07:00
Ryan Uber
4aba50b7fe Merge pull request #109 from hashicorp/f-examples
DigitalOcean Demo
2015-09-24 22:22:42 -07:00
Ryan Uber
5c9378b273 command: fix help 2015-09-24 22:01:41 -07:00
Ryan Uber
39c85f99e4 website: document the client-servers command 2015-09-24 21:59:04 -07:00
Ryan Uber
e210ebd661 website: document /v1/agent/servers 2015-09-24 21:47:14 -07:00
Ryan Uber
812e125349 command: adding client-servers command 2015-09-24 21:32:12 -07:00
Ryan Uber
e6a3b4ec4f api: add client server methods 2015-09-24 21:17:33 -07:00
Ryan Uber
7a6e633028 testutil: fix boostrap mode after flag change 2015-09-24 21:16:52 -07:00
Ryan Uber
13613e4100 agent: add HTTP endpoint for querying/modifying the server list 2015-09-24 20:39:03 -07:00
Ryan Uber
929de526b9 client: support modifying the servers list 2015-09-24 20:16:47 -07:00
Chris Bednarski
02a0d01fca Lowercase some cases of docker 2015-09-24 19:35:52 -07:00
Chris Bednarski
199e895004 Merge pull request #111 from hashicorp/b-h3-size
Change h3 to 24px so it's midway between h2 and h4
2015-09-24 19:34:37 -07:00
Chris Bednarski
ee6c3c3593 Added docker docs; updated isolation notes for QEMU 2015-09-24 19:33:06 -07:00