Commit Graph

47 Commits

Author SHA1 Message Date
Alex Dadgar
7357979089 Revert "Revert "Make drivers take arguments as a list and not as a string"" 2015-11-18 15:16:42 -08:00
Alex Dadgar
d666f5bde1 Revert "Make drivers take arguments as a list and not as a string" 2015-11-18 13:46:43 -08:00
Alex Dadgar
62a0c5d14c Rebase 2015-11-18 12:30:35 -08:00
Alex Dadgar
ee1887e609 Rebase 2015-11-18 12:29:04 -08:00
Diptanu Choudhury
b8d468f5ad Addressed some review comments 2015-11-16 22:29:06 -05:00
Chris Bednarski
640337547a go fmt 2015-11-16 16:23:03 -08:00
Chris Bednarski
1d1e4bdd08 Merge branch 'master' into f-port-labels 2015-11-16 16:02:38 -08:00
Alex Dadgar
f4b461f97a Track Task State in the client and capture Wait results 2015-11-16 15:14:21 -08:00
Diptanu Choudhury
c01f2a38f5 Made the code more DRY 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
7ebe23519a Fixed the java driver config 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
4186e70320 Making the config for drivers public 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
7f6e940946 Implemented port labeling and driver configs 2015-11-16 13:10:57 -08:00
Alex Dadgar
5b067a3e4f Merge fix 2015-11-05 13:46:02 -08:00
Clint Shryock
add12a6a00 refactor drivers to use new getter 2015-11-05 08:55:30 -06:00
Alex Dadgar
0f1050b1bf Move the executor and spawn package into driver 2015-11-04 16:53:27 -08:00
Alex Dadgar
13ea9bc9ff Make a basic executor that can be shared and fix some fingerprinting/tests 2015-11-03 12:47:48 -08:00
Clint Shryock
1e07daa680 drivers: Add/Use go-getter to fetch remote binaries
Updates Qemu, Java drivers to use go-getter to fetch binaries
Adds remote artifact support for Exec, Raw Exec drivers
2015-10-26 09:40:06 -05:00
Abhishek Chanda
1a3f79c755 Actually append jvm opts to the CLI
- Also adds a test
2015-10-16 22:45:16 +00:00
Abhishek Chanda
707f10adb3 No need to pass jvm_options initially 2015-10-16 12:44:43 -07:00
Abhishek Chanda
1bd5e12cce Some minor style cleanups 2015-10-16 12:44:33 -07:00
Abhishek Chanda
9995584039 Support passing options to the JVM in java driver
Closes #292
2015-10-16 12:44:33 -07:00
Alex Dadgar
6d8a913242 ParseAndReplace args at the executor level 2015-09-27 17:37:24 -07:00
Alex Dadgar
75f93ce9fb Pull task environments into their own type to be reusable across drivers and executors 2015-09-27 17:37:24 -07:00
Alex Dadgar
c555c70eeb merge fixes 2015-09-27 17:37:24 -07:00
Alex Dadgar
04094cfb40 Small test cleanup 2015-09-25 17:55:29 -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
38460ca653 AllocDirBuilder that creates the alloc directory structure 2015-09-25 16:46:41 -07:00
Chris Bednarski
07ab1d853d Merge branch 'master' into f-port-configs 2015-09-23 15:31:00 -07:00
Clint Shryock
9fb704e686 Update Java docs on how Java is detected 2015-09-23 14:16:43 -05:00
Chris Bednarski
e3cd0ad21a Merge branch 'master' into f-port-configs 2015-09-23 11:57:12 -07:00
Chris Bednarski
2c352e3ff8 Added environment variables to Java 2015-09-22 22:36:10 -07:00
Alex Dadgar
3c12f4bd20 Fix qemu check and add debug lines when a driver is disabled 2015-09-22 17:36:44 -07:00
Alex Dadgar
b43e262923 Disable exec/java/qemu when non-root on non-windows OSes 2015-09-22 16:32:05 -07:00
Alex Dadgar
5ac6c3b73d Linux executor with cgroup isolation support 2015-09-21 09:08:57 -07:00
Chris Bednarski
a5512c22e9 Rename exec package to executor so it works better with goimports; fixes for Java driver 2015-09-15 14:03:03 -07:00
Chris Bednarski
5eb3354678 Update Java driver to use Executor 2015-09-15 13:45:48 -07:00
Chris Bednarski
7b517d83fa Merge branch 'master' into f-driver-config
Conflicts:
	client/driver/driver.go
2015-09-09 18:19:19 -07:00
Chris Bednarski
8d4d9645d8 Replace logging and config with DriverContext, which allows us to expand the dependency injection without changing the interface 2015-09-09 18:06:23 -07:00
Chris Bednarski
e227e15c1e Merge pull request #24 from hashicorp/qemu-driver
Basic Qemu driver implementation
2015-09-09 17:43:13 -07:00
Clint Shryock
12903f768a driver/qemu+java: Code cleanups 2015-09-09 14:38:42 -05:00
Chris Bednarski
ea988a02f0 Change SIGINT to SIGTERM 2015-09-09 01:52:58 -07:00
Chris Bednarski
f911a24837 Added config to drivers; needed for docker driver to get the socket endpoint 2015-09-08 12:43:02 -07:00
Clint Shryock
852edf2984 driver/java: use filepath.Join instead of simple + 2015-09-03 10:25:09 -05:00
Clint Shryock
02ebe5cc17 driver/java: Don't error if Java isn't found; log if error parsing 2015-09-03 10:02:48 -05:00
Clint Shryock
a337df435e driver/java: update Fingerprint for Java driver 2015-09-02 11:41:25 -05:00
Clint Shryock
a83560270b Spike at a Java driver, runs Java jars 2015-09-01 17:07:41 -05:00