Chris Bednarski
198159c5be
Put that back!
2015-09-25 18:38:41 -07:00
Chris Bednarski
a8c8fc2f96
Merge branch 'master' into b-docker-fixes
...
Conflicts:
client/driver/docker_test.go
client/driver/java_test.go
client/driver/qemu_test.go
2015-09-25 18:35:23 -07:00
Chris Bednarski
efb7c409bb
Improve handling of tagged docker images
...
- Converted Start() to use docker native client throughout
- Better handling of latest vs. tagged images
- We can now support multiple versions of an image
- We will now not download a tag if we already have it
2015-09-25 18:22:10 -07:00
Alex Dadgar
70d4490730
Merge pull request #107 from hashicorp/f-disk-isolation
...
Chroot isolation of processes running on linux
2015-09-25 18:12:40 -07:00
Alex Dadgar
6ca7c6680d
Fix client init logging and test
2015-09-25 18:12:11 -07:00
Alex Dadgar
70a1a37f84
Small test cleanup
2015-09-25 17:55:29 -07:00
Chris Bednarski
d8e492d950
Added a failing test case for multiple docker tags
2015-09-25 17:38:07 -07:00
Chris Bednarski
aa3019780d
Added docker test to spin up 3 containers at the same time
2015-09-25 17:35:33 -07:00
Armon Dadgar
f47dae26ba
website: missing links and copy
2015-09-25 17:09:35 -07:00
Chris Bednarski
32d260281f
Added guards to tests so we can more gracefully degrade the test suite when thing are not installed
2015-09-25 16:49:26 -07:00
Alex Dadgar
5a76693bc6
Fix comments
2015-09-25 16:49:19 -07:00
Alex Dadgar
3cf6d014ef
Log the alloc and state directory on Client Init()
2015-09-25 16:49:19 -07:00
Alex Dadgar
998a817a29
Use host file/dir permissions when embedding
2015-09-25 16:49:19 -07:00
Alex Dadgar
3534839367
Destroy allocdirs in task runner tests
2015-09-25 16:49:19 -07:00
Alex Dadgar
5928b950c5
Skip non-regular files in embedding and comment on the chrootEnv map
2015-09-25 16:49:19 -07:00
Alex Dadgar
530e2d3c6d
Change allocdir variable name for clarity
2015-09-25 16:49:19 -07:00
Alex Dadgar
8d7ededad7
Windows shouldn't do anything on unmount
2015-09-25 16:49:19 -07:00
Alex Dadgar
eb2f01fd94
Update CPU limit to be an int
2015-09-25 16:49:18 -07:00
Alex Dadgar
fc2e9754a3
Only unmount once
2015-09-25 16:49:18 -07:00
Alex Dadgar
0f855e2088
Fix cgroup isolation
2015-09-25 16:49:18 -07:00
Alex Dadgar
e594e6081b
Fix embed non-existent test
2015-09-25 16:49:18 -07:00
Chris Bednarski
ac70832eb3
Added errNoResources to executor package; return this when Limit is called with nil argument
2015-09-25 16:49:18 -07:00
Chris Bednarski
b9dd4c40c5
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
3cea4288b9
Merge qemu test
2015-09-25 16:49:14 -07:00
Alex Dadgar
6725cbb3f5
Mount shared alloc dir, modified API and tests
2015-09-25 16:46:41 -07:00
Alex Dadgar
81ade0f5d3
Linux Embed and AllocDir unit tests
2015-09-25 16:46:41 -07:00
Alex Dadgar
6879e59494
Fix function header
2015-09-25 16:46:41 -07:00
Alex Dadgar
c9cffb93f6
Embed interface
2015-09-25 16:46:41 -07:00
Alex Dadgar
72d892a518
Client init rebase
2015-09-25 16:46:41 -07:00
Alex Dadgar
2e8395c458
Changed file names so it builds correctly
2015-09-25 16:46:41 -07:00
Alex Dadgar
9d3e3c0704
AllocDirBuilder that creates the alloc directory structure
2015-09-25 16:46:41 -07:00
Armon Dadgar
5bc26c3f9d
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
747991dc61
nomad: fix test race
2015-09-25 16:07:37 -07:00
Clint Shryock
e24c1c5eb4
fix typo in docs
2015-09-25 15:19:38 -05:00
Ryan Uber
f7f943cf6f
nomad: data centers -> datacenters
2015-09-25 12:27:31 -07:00
Ryan Uber
cc7c1cc808
agent: all dynamic ports for tests
2015-09-25 12:19:13 -07:00
Ryan Uber
a7757436c9
Merge pull request #114 from hashicorp/f-clients
...
Make servers list configurable on clients
2015-09-25 12:03:21 -07:00
Ryan Uber
dfdda4335d
website: update docs for command rename
2015-09-25 12:00:14 -07:00
Ryan Uber
65a89dffae
command: rename client-servers -> client-config
2015-09-25 11:49:31 -07:00
Chris Bednarski
ac9b7e7a31
Added group add command for docker to the docker docs
2015-09-25 11:29:38 -07:00
Armon Dadgar
ba4ab66312
Merge pull request #112 from hashicorp/f-validate
...
command/validate: Adding new command
2015-09-25 11:17:18 -07:00
Armon Dadgar
83886c9f54
website: fix wording
2015-09-25 11:17:06 -07:00
Ryan Uber
62d1da4cc8
website: fix copy
2015-09-25 10:14:30 -07:00
Clint Shryock
f1ede2f555
Fix bad copy-paste from refactoring
2015-09-25 08:36:46 -05:00
Chris Bednarski
ee00969c1c
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
ac0f07cd20
Add note on configuring the agent; fix some typos
2015-09-24 23:40:30 -07:00
Ryan Uber
779081970e
Merge pull request #109 from hashicorp/f-examples
...
DigitalOcean Demo
2015-09-24 22:22:42 -07:00
Ryan Uber
052aa8b56e
command: fix help
2015-09-24 22:01:41 -07:00
Ryan Uber
3452e3a2fa
website: document the client-servers command
2015-09-24 21:59:04 -07:00
Ryan Uber
75612c46e7
website: document /v1/agent/servers
2015-09-24 21:47:14 -07:00