Commit Graph

127 Commits

Author SHA1 Message Date
Darren Shepherd 43b5786001 Default storage driver to "" and let provisioner choose default
The storage driver will be "" by default an the provisioner must choose
their default provisioner.  If the user chosen storage driver is not
supported the provisioner should return an error.

Signed-off-by: Darren Shepherd <darren@rancher.com>
2015-05-05 09:12:33 -07:00
Nathan LeClaire 23f071c76f Fix integration tests
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-05-04 19:01:29 -07:00
Vincent Bernat fd569c8fdf driver: exoscale driver
Add support for exoscale, a Swiss cloud provider. This pull "egoscale",
a Go binding for exoscale, in godeps.

Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
2015-04-30 22:32:02 +02:00
Evan Hazlett a3eb0d077b Merge pull request #1040 from nathanleclaire/engine_options
Implement configurable engine options
2015-04-30 13:55:58 -04:00
Nathan LeClaire 2574c8ba5d Implement configurable engine options
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-04-29 17:58:14 -07:00
Aaron Welch 2a44f40f6c for ubuntu provision append hostname to 127.0.1.1 line in /etc/hosts
Signed-off-by: Aaron Welch <welch@packet.net>
2015-04-26 15:39:22 -04:00
Fabio Rapposelli 25583edbb3 Update VMware Fusion and vSphere driver to run boot2docker 1.6.0
- Update custom ISO to docker 1.6.0.
- Shared folder support for VMware Fusion.
- Updated bats test for Fusion.

Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-04-20 10:34:13 -07:00
Nathan LeClaire 9b5f395c60 Implement upgrade functionality for boot2docker
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-30 16:18:38 -07:00
Tom Barlow ddf633a9e4 Rebased, added env var test for virtualbox CPU count
Signed-off-by: Tom Barlow <tomwbarlow@gmail.com>
2015-03-28 23:07:49 +00:00
Tom Barlow 6e71cd3917 Replaced export statements in virtualbox integration tests with inline variables
Signed-off-by: Tom Barlow <tomwbarlow@gmail.com>
2015-03-28 23:07:49 +00:00
Tom Barlow f01b9ce800 Specifying env vars inline on BATS doesn't seem to work, switched to export
Signed-off-by: Tom Barlow <tomwbarlow@gmail.com>
2015-03-28 23:07:49 +00:00
Tom Barlow c221a0a42f Moved cleanup of machine store to end of virtualbox integration test
Signed-off-by: Tom Barlow <tomwbarlow@gmail.com>
2015-03-28 23:07:49 +00:00
Tom Barlow 0e1db73829 Added bats integration test for virtualbox customisation via env vars
Signed-off-by: Tom Barlow <tomwbarlow@gmail.com>
2015-03-28 23:07:49 +00:00
Evan Hazlett ee7617c2e7 Merge pull request #887 from nathanleclaire/listen_on_socket
Fix unix:// not working inside VM issue
2015-03-27 11:39:45 -07:00
Nathan LeClaire d6db67d0be Fix unix:// not working inside VM issue
With the way that provisioning was implemented, there was an issue
getting connection to the UNIX socket to work with the new boot2docker
1.6rc2 ISO.  This issue is related to the fact that the docker
service was not truly stopped during the provisioning.  This PR fixes
the issue and provides some tests to help ensure that it does not come
up again.

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-27 10:41:12 -07:00
Ken Pepple d80c47df88 add integration tests for cpu count (PR #879) in virtualbox driver
Signed-off-by: Ken Pepple <ken@solinea.com>
2015-03-25 20:40:50 -07:00
Ken Pepple a84cc1ee6b add integration tests for custom create options in virtualbox
Signed-off-by: Ken Pepple <ken@solinea.com>
2015-03-25 12:48:50 -07:00
Evan Hazlett a9277a7977 Merge pull request #833 from slashk/vbox-pause-saved-int-test
add pause/savestate scnearios to virtualbox integration tests
2015-03-23 20:11:04 -04:00
Ken Pepple 81a9765d35 add pause/savestate scnearios to virtualbox integration tests
Signed-off-by: Ken Pepple <ken@solinea.com>
2015-03-21 13:13:54 -07:00
Nathan LeClaire 3b2c8f9845 Migrate (swarmConfig) => (swarmOptions)
and (SwarmConfig) => (SwarmOptions)

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>

Migrate (authConfig) => (authOptions)
        (AuthConfig) => (AuthOptions)

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>

Migrate (hostConfig) => (hostOptions)
        (HostConfig) => (HostOptions)

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-20 23:20:11 -07:00
Evan Hazlett 68397cfced
bats updates
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-20 23:44:22 -04:00
Evan Hazlett 28789604e9 provisioner: finished migration functions
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-20 23:17:42 -04:00
Evan Hazlett 4ca4a28788 libmachine: validate host config upon load
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-19 23:19:35 -04:00
Evan Hazlett da3da50897 DO: updated to new driver spec; updated integration tests
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-17 11:08:20 -04:00
Evan Hazlett 51aa826e14
digitalocean: update to driver interface
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-09 22:20:47 -04:00
Evan Hazlett 2b6daa29ed
update integration test for virtualbox
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-09 12:50:57 -04:00
Evan Hazlett ed4fa09311
more integration test robustness
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-07 18:19:15 -05:00