Commit Graph

1073 Commits

Author SHA1 Message Date
Ryan Uber
1a25c23eaa demo/digitalocean: realistic redis requirements 2015-09-26 11:17:24 -07:00
Ryan Uber
6c49ee74a3 demo/digitalocean: tighten bench output 2015-09-26 10:50:21 -07:00
Ryan Uber
8c5679619b demo/digitalocean: fix after docker repo change 2015-09-26 10:30:08 -07:00
Ryan Uber
20e298fce8 demo/digitalocean: easier tuning for demo 2015-09-26 09:57:48 -07:00
Ryan Uber
2d6c244483 demo/digitalocean: use redis 2015-09-26 09:48:46 -07:00
Ryan Uber
aa6d9cd31b demo/digitalocean: move bench.go 2015-09-26 09:44:15 -07:00
Ryan Uber
f9864b175d demo/digitalocean: add a demo job 2015-09-26 09:43:40 -07:00
Ryan Uber
e9970b68f7 demo/digitalocean: better benchmark 2015-09-26 09:39:19 -07:00
Ryan Uber
3894db2809 demo/digitalocean: add bench app 2015-09-26 09:29:07 -07:00
Chris Bednarski
517e11d797 Merge pull request #121 from hashicorp/f-docker-native
Docker is now native go
2015-09-26 00:36:26 -07:00
Chris Bednarski
b0c1b04264 Log an info when an image can't be removed because it's still in use 2015-09-26 00:34:57 -07:00
Chris Bednarski
30fd526766 Use env.Get, remove sha256 checks, and change from regexp to strconv to test for int 2015-09-25 23:55:01 -07:00
Chris Bednarski
5d4d044a6f Add docker 'command' to docs; cleanup some comments 2015-09-25 23:28:23 -07:00
Chris Bednarski
928fe86553 Replace docker version and docker ps with native calls; no more exec! 2015-09-25 23:13:40 -07:00
Ryan Uber
8464a4ba99 demo/digitalocean: disable hostname in metrics 2015-09-25 22:44:57 -07:00
Chris Bednarski
6c5ddb3076 Docker kill now exits with an error, as expected 2015-09-25 22:43:19 -07:00
Chris Bednarski
8490a1bac6 Merge pull request #120 from hashicorp/b-docker-fixes
Improve handling of tagged docker images
2015-09-25 22:29:44 -07:00
Chris Bednarski
784d0e9e15 Go native for docker API calls 2015-09-25 20:01:03 -07:00
Chris Bednarski
e2737bc643 Actually add the fixture 2015-09-25 19:01:29 -07:00
Chris Bednarski
a2f8d59368 Fix case sensitivity issue; also verify we don't get collisions 2015-09-25 18:59:17 -07:00
Chris Bednarski
bcba5db0f7 Put that back too. 2015-09-25 18:45:39 -07:00
Chris Bednarski
6882f20b9f Put that back! 2015-09-25 18:38:41 -07:00
Chris Bednarski
723b55c049 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
cf0440dbe3 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
c3970f2b57 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
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
Chris Bednarski
0f6e60c7aa Added a failing test case for multiple docker tags 2015-09-25 17:38:07 -07:00
Chris Bednarski
6b59a8235e Added docker test to spin up 3 containers at the same time 2015-09-25 17:35:33 -07:00
Armon Dadgar
c125a92396 website: missing links and copy 2015-09-25 17:09:35 -07:00
Chris Bednarski
f2dd5cac18 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
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