Commit Graph

551 Commits

Author SHA1 Message Date
Evan Hazlett d0c18b6c52 Merge pull request #270 from ehazlett/allow-diff-test-interval
allow for arbitrary test interval
2015-01-13 12:17:14 -05:00
Evan Hazlett a0b3aab8b2
allow for arbitrary test interval
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-13 12:16:37 -05:00
Evan Hazlett 241a003315 Merge pull request #269 from ehazlett/integration-test-updates
integration test updates
2015-01-13 10:01:52 -05:00
Evan Hazlett 3c55011995 wip: integration test updates
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-13 10:00:06 -05:00
Evan Hazlett 8d40d8219c
fixes #229: wait for docker before adding to known_hosts
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-12 15:20:03 -05:00
Simon Thulbourn 861b16dba9 add machine name to VM name and hostname
This work sets the machine name in the Cloud API or Hypervisor. As well
as setting the hostname inside the VM.

I've added the machine name to the NewDriver func to allow for
identification by Cloud APIs and for the driver package.

Each driver will attempt to set the hostname for the VM, except for
Azure, which sets it based on the DNS name.

Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-01-12 16:46:00 +00:00
Evan Hazlett 8a0d468a49 Merge pull request #236 from nathanleclaire/docs
Add Machine docs
2015-01-12 11:45:16 -05:00
Evan Hazlett 4c285dcffa Merge pull request #258 from sthulb/unknown-command
Add unknown command help
2015-01-10 10:14:10 -08:00
Evan Hazlett e0cbae3461 Merge pull request #257 from sthulb/ssh-keygen-fix
Adds check for SSH keygen command
2015-01-10 10:08:30 -08:00
Simon Thulbourn ab9a19a85b Adds check for SSH keygen command
Adds a check to find ssh-keygen in the user's $PATH, in the event it
can't find it, return an error with a friendly message

Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-01-10 12:17:40 +00:00
Evan Hazlett 9bc60fc192 Merge pull request #259 from andyshinn/digitalocean_listen_on_socket
Listen on unix socket in addition to TCP for Digital Ocean hosts
2015-01-09 17:39:40 -08:00
Andy Shinn db5147e04f listen on unix socket on Digital Ocean hosts
Signed-off-by: Andy Shinn <andys@andyshinn.as>
2015-01-09 19:37:23 -06:00
Simon Thulbourn c8b36dfbfc Add unknown command help
Spits out "machine: '<command>' is not a machine command see 'machine
--help'" to be inline with Docker

Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-01-09 23:38:59 +00:00
Evan Hazlett e1da47b7ca Merge pull request #252 from cloudnativeapps/fix-vsphere-doc
Doc fix for vSphere driver.
2015-01-09 10:39:39 -08:00
Fabio Rapposelli 6d394e3111 Doc fix for vSphere driver.
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-01-09 10:37:12 +01:00
Nathan LeClaire 8fbc1cf476 Add Machine docs
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-08 16:19:32 -08:00
Evan Hazlett 5a251c5d1b Merge pull request #6 from cloudnativeapps/vmw-drivers
VMware host drivers for Fusion, vSphere and vCloud Air
2015-01-08 11:11:39 -08:00
Fabio Rapposelli 95e3664977 Updated README with instructions for VMware drivers.
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-01-08 11:42:26 +01:00
Fabio Rapposelli 6b31904d43 Godeps save and enable commands
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-01-08 11:00:54 +01:00
Yang Yang 1bad10773c Added vSphere machine driver
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-01-08 11:00:39 +01:00
Fabio Rapposelli 92dd8e01d1 Added vCloud Air machine driver
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-01-08 11:00:22 +01:00
Zee Yang 1e363a352a Added VMware Fusion machine driver
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-01-08 10:59:58 +01:00
Evan Hazlett 9c3624b170 Merge pull request #234 from ehazlett/graceful-cleanup-on-create-fail
add cleanup for create failure
2015-01-07 17:54:20 -08:00
Evan Hazlett df5ecadf80
logging updates from @nathanleclaire
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-07 17:37:17 -08:00
Evan Hazlett 414f94b7d1 add cleanup for create failure
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-07 17:35:33 -08:00
Evan Hazlett ce16cf4d7c Merge pull request #235 from nathanleclaire/flagsort
Fix some go vet complaints
2015-01-07 17:20:20 -08:00
Evan Hazlett 68c80b5ae6 Merge pull request #233 from nathanleclaire/funccmds
Move closures to be named functions
2015-01-07 17:17:10 -08:00
Nathan LeClaire 8e5fd7b2c3 Fix some go vet complaints
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-07 14:48:09 -08:00
Nathan LeClaire 062b7fced7 Move closures to be named functions
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-07 14:33:06 -08:00
Evan Hazlett 44e66b50ac Merge pull request #232 from nathanleclaire/cmdtest
Write test for getHostState
2015-01-07 11:46:07 -08:00
Nathan LeClaire 63bdda0645 Use temp dir instead of default dir
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-07 10:56:26 -08:00
Nathan LeClaire 80436e9b66 Add getHostState test
Also took this opportunity to move getHostState to the bottom of the
file following the existing pattern.

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-07 10:31:09 -08:00
Evan Hazlett ee9e4843b3 Merge pull request #132 from ankushagarwal/state.go-fix
Fix doc typo and add additional if condition
2015-01-06 13:38:56 -08:00
Evan Hazlett 012e4a1a38 Merge pull request #223 from nathanleclaire/cleanup_ls
Refactor ls to use a channel instead
2015-01-06 13:10:10 -08:00
Evan Hazlett 7210ad593a Merge pull request #225 from nathanleclaire/flagsort
Add test for flag order
2015-01-06 13:07:49 -08:00
Nathan LeClaire cbca38c8a2 Add test for flag order
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-06 09:20:15 -08:00
Evan Hazlett b913524ca1 Merge pull request #224 from saturnism/fix-readme
Updated Google Compute to Google Compute Engine
2015-01-06 09:10:19 -08:00
Nathan LeClaire 782f3faa89 Refactor ls to use a channel instead
This eliminates the "sync" dep and makes the code easier to read.

Share by communicating, don't communicate by sharing ;)

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-06 02:22:31 -05:00
Ray Tsang 5ff0c28c74 Updated Google Compute to Google Compute Engine
Signed-off-by: Ray Tsang <saturnism@gmail.com>
2015-01-05 20:44:58 -05:00
Evan Hazlett e5586d95e6 Merge pull request #221 from nathanleclaire/flagsort
Sort flags in create output
2015-01-05 13:34:14 -08:00
Nathan LeClaire 2d435d41f1 Sort flags in create output
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-05 13:20:51 -08:00
Ben Firshman 0b98347ed9 Merge pull request #207 from ehazlett/automatically-trust-fingerprints
automatically add host fingerprint to known hosts
2015-01-05 11:26:52 +00:00
Evan Hazlett ffd14c6b05 Merge pull request #208 from ehazlett/readme-docker-1.4.1
update readme with links to docker 1.4.1 identity build
2015-01-02 19:29:23 -05:00
Evan Hazlett e352a4c591
update readme with links to docker 1.4.1 identity build
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-02 19:29:05 -05:00
Evan Hazlett b0936b1b53 automatically add host fingerprint to known hosts
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-02 15:40:11 -05:00
Ben Firshman e32c54d0f5 Merge pull request #201 from ehazlett/gce-env-vars
add env vars for google driver; add google instructions to docs
2015-01-02 11:58:55 +00:00
Evan Hazlett 5a3b491ff8 Merge pull request #203 from ehazlett/listen-unix-ec2
listen on socket in addition to tls for amazon driver
2015-01-01 20:52:34 -05:00
Evan Hazlett a9ff2857ee
listen on socket in addition to tls for amazon driver
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-01 20:50:41 -05:00
Evan Hazlett 0ab3bfa07b
add env vars for google driver; add google instructions to docs
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-01 10:39:01 -05:00
Ben Firshman 37662736a7 Merge pull request #123 from ehazlett/integration-tests
Integration tests
2014-12-31 17:36:08 +00:00