Commit Graph

1242 Commits

Author SHA1 Message Date
Ben Firshman f43a0f2a9a Merge pull request #106 from nathanleclaire/modify_osarch
Allow optional override of OS and arch in build (speed up compilation)
2014-12-16 01:50:22 +00:00
Nathan LeClaire b350a99bec Allow optional override of os and arch in build
With this change machine will still cross-compile for all supported OSes
/ archs by default, but allows user to customize args to the build
script.

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2014-12-15 14:12:17 -08:00
Ben Firshman 7a425647a0 Merge pull request #97 from bfirsh/cli-regressions
Fix CLI regressions
2014-12-15 19:04:47 +00:00
Ben Firshman 4049f7ed22 Rename ~/.docker/hosts to ~/.docker/machines
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-15 10:55:40 -08:00
Ben Firshman a913c06888 Restore sorting of ls output
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-15 10:46:35 -08:00
Ben Firshman 91172449c0 Handle errors in commands
Some errors were swallowed entirely, some didn't print the error
message.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-15 10:45:55 -08:00
Ben Firshman da95ea3968 Merge pull request #103 from ggiamarchi/machine-name-optional
Make machine name optional in CLI
2014-12-15 17:53:30 +00:00
Ben Firshman e401c4464c Merge pull request #101 from ggiamarchi/fix-interactive-ssh
Fix bug SSH interactive mode
2014-12-15 17:52:53 +00:00
Guillaume Giamarchi a94dde2b54 Add a Makefile
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2014-12-14 22:49:41 +01:00
Guillaume Giamarchi d730d39c48 Avoid code duplication
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2014-12-14 02:11:24 +01:00
Guillaume Giamarchi 8613b941e8 Make machine name optional in CLI
For commands inspect, ip, kill and restart.
It is already implemented for the others.

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2014-12-14 02:09:08 +01:00
Guillaume Giamarchi 6c5da2bc0e Fix bug SSH interactive mode
Commit b44db20 introduced a bug that broke
the SSH interactive mode. If no command is
provided, Driver.GetSSHCommand is called with
an empty string instead of no parameter.

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2014-12-13 18:46:52 +01:00
Ben Firshman 477fffb1ba Merge pull request #35 from ehazlett/driver-aws
amazon ec2 driver
2014-12-13 01:15:26 +00:00
Ben Firshman 6d9e7313f5 Merge pull request #96 from bfirsh/update-version
Update version to 0.0.2
2014-12-13 00:37:47 +00:00
Evan Hazlett cb8a951bb8
added better error reporting
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-12 17:48:49 -05:00
Evan Hazlett 909e69baff initial work on aws for machine; huge thanks to @nathanleclaire for the
initial implementation

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-12 17:00:57 -05:00
Ben Firshman cdd9884de2 Merge pull request #93 from bfirsh/windows-file-path
Moving path to filepath dependency
2014-12-12 21:34:30 +00:00
Ben Firshman bd375e2c1a Update version to 0.0.2
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-12 13:31:37 -08:00
Ben Firshman 81e1503737 Merge pull request #95 from ehazlett/fix-url-error
fixes #94: url does not return active machine
2014-12-12 21:31:08 +00:00
Evan Hazlett 2435f265f2
fixes #94: url does not return active machine
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-12 15:40:30 -05:00
Damien DUPORTAL eda8bbd2bd Moving path to filepath dependency
Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>

Conflicts:
	drivers/azure/azure.go
	store.go
	store_test.go
2014-12-12 11:09:43 -08:00
Ben Firshman 5f54122dc6 Merge pull request #72 from sthulb/cli
Implement new codegangsta/cli lib
2014-12-12 18:46:02 +00:00
Simon Thulbourn b44db20335 implements a -c/--command flag for ssh
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2014-12-12 18:28:30 +00:00
Simon Thulbourn 0295e00edb makes the name optional for stop/start/ssh/upgrade
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2014-12-12 18:11:38 +00:00
Simon Thulbourn 64c73597e2 adds codegangsta/cli
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2014-12-12 18:11:17 +00:00
Ben Firshman e317d7d9f4 Merge pull request #89 from bfirsh/remove-mitchellh-homedir
Remove mitchellh/go-homedir from godeps
2014-12-12 01:14:21 +00:00
Ben Firshman e12df0cbc2 Merge pull request #87 from ggiamarchi/machine-ls-sort
Sort `machine ls` output by machine name
2014-12-12 01:14:12 +00:00
Guillaume Giamarchi d8921ee432 Move HostListItem from host.go to command.go
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2014-12-12 01:53:24 +01:00
Guillaume Giamarchi 8797ca2d50 Rename HostState struct to HostListItem
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2014-12-12 01:44:34 +01:00
Ben Firshman ee48b4ae01 Remove mitchellh/go-homedir from godeps
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-11 16:24:04 -08:00
Ben Firshman ee98043c5a Merge pull request #88 from MSOpenTech/homedir
Fix #68. Homedir is now detected same as Docker.
2014-12-12 00:22:53 +00:00
Jeff Mendoza 52019047f1 Fix #68. Homedir is now detected same as Docker.
Signed-off-by: Jeff Mendoza <jeffmendoza@live.com>
2014-12-11 16:11:23 -08:00
Guillaume Giamarchi 1547a48dde Sort `machine ls` output by machine name
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2014-12-12 00:39:08 +01:00
Ben Firshman 932779fed1 Merge pull request #64 from MSOpenTech/master
Added support for identity auth in Azure driver
2014-12-11 21:31:07 +00:00
Ben Firshman b803e2950e Merge pull request #81 from exoscale/fix/shebang-validate-gofmt
Ensure `script/validate-gofmt` is executed with bash
2014-12-11 17:53:36 +00:00
Vincent Bernat c82997e3b3 Ensure `script/validate-gofmt` is executed with bash
While Travis does that, a user just running the script will get an
error.

Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
2014-12-11 10:08:27 +01:00
Ben Firshman 0751dbf41b Merge pull request #78 from bfirsh/update-godeps
Update godeps
2014-12-11 00:01:14 +00:00
Ben Firshman e0b18fee7d Update logrus
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-10 09:09:54 -08:00
Ben Firshman 24574d513a Update libtrust
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-10 09:08:36 -08:00
Ben Firshman b72822ff9d Update goauth2
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-10 09:06:10 -08:00
Ben Firshman 3c00d74c44 Update godo to 0.5.0
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-10 09:05:47 -08:00
Ben Firshman b1a5e12b51 Merge pull request #70 from bfirsh/add-release-script
Add release script
2014-12-10 16:19:02 +00:00
Ruslan Gabitov a644aba70f Added comment to Azure driver
Added comment explaining retries in hackForIdentityAuth() method

Signed-off-by: Ruslan Gabitov <ruslan.gabitov@live.com>
2014-12-09 18:48:03 -08:00
Ben Firshman d95e4b3a6f Add release script
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-09 16:45:23 -08:00
Ben Firshman 4e719d4d02 Merge pull request #67 from bfirsh/fix-vbm-test
Fix test for VBoxManage
2014-12-10 00:30:26 +00:00
Ben Firshman 99554a4ae5 Merge pull request #65 from MSOpenTech/windows-homedir
Fix homedir for Windows.
2014-12-10 00:16:52 +00:00
Ben Firshman 38baeb7e76 Merge pull request #66 from bfirsh/link-to-github-release
Link to GitHub release in readme
2014-12-10 00:16:24 +00:00
Ben Firshman 1d83284129 Fix test for VBoxManage
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-09 16:15:47 -08:00
Ben Firshman ed5c3f62cf Link to GitHub release in readme
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-09 16:13:49 -08:00
Jeff Mendoza 50e5b2501a Fix homedir for Windows.
Signed-off-by: Jeff Mendoza <jeffmendoza@live.com>
2014-12-09 15:51:15 -08:00