Commit Graph

145 Commits

Author SHA1 Message Date
Jean-Laurent de Morlhon 8eb22b411b Fix #2029 - local drivers dont run with engine-install-url
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-28 18:05:58 +01:00
Nathan LeClaire 18509f5ec4 Merge pull request #2875 from dgageot/bats-in-go
Write CLI integration tests with Go
2016-01-25 13:57:33 -08:00
David Gageot 5d95524be6 Write CLI integration tests with Go
Signed-off-by: David Gageot <david@gageot.net>
2016-01-25 16:23:53 +01:00
Patrik Erdes 1a8ec8c722 Fix #2905, a Swarm host will now show as active by the active command when using the env --swarm option
Signed-off-by: Patrik Erdes <patrik@erdes.se>
2016-01-22 15:18:44 +01:00
Jean-Laurent de Morlhon 872241e1ae Fix #2863 - write IT test for bugsnag
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-19 15:20:27 +01:00
Nathan LeClaire 5000139c8e Add ability to imply 'default' VM in commands
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-01-15 17:10:08 -08:00
Jeffrey Ellin c3131ec3fa Fixes #1898. Add parameter to pass private key path to use when creating a machine.
It is assumed that the corresponding public certificate will be the same file name + .pub

Signed-off-by: Jeffrey Ellin <jeff@ellin.com>
2016-01-15 15:10:03 -05:00
Jean-Laurent de Morlhon bc07ba3006 Sample Integration Test
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-15 12:04:19 +01:00
Jean-Laurent de Morlhon 53110b8c96 Fix virtualbox upgrade IT
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-11 16:28:12 +01:00
Jean-Laurent de Morlhon 0ef3691069 Fix ec2 ebs optimized integration test
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-11 15:21:24 +01:00
jellin 0ff18a7c7d Add option to create anazon ec2 instances with the EbsOptimized setting.
fixes #1904 Non EbsOptimized instances will be created by default but adding the flag
UseEbsOptimizedInstance will create and EBSOptimized Instance if the instance type supports it.

Signed-off-by: Jeffrey Ellin <jeff@ellin.com>
2016-01-10 16:05:14 -05:00
Jean-Laurent de Morlhon c9edb466dd Hardening flaky swarm integration test
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-08 12:15:40 +01:00
Jean-Laurent de Morlhon 501382068c Fix test due to error message change
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-08 11:53:56 +01:00
David Gageot e28f7d5aa9 FIX #2498 Introduce CI tests for external binary compatibility
Signed-off-by: David Gageot <david@gageot.net>
2016-01-06 17:09:03 +01:00
David Gageot 7442ccc585 Merge pull request #2738 from jeanlaurent/better-remove
Enhance remove
2016-01-06 09:39:40 +01:00
Jean-Laurent de Morlhon 607bac5ce3 Fix #2671
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-05 15:52:18 +01:00
David Gageot adc60712c8 Allow custom format for ls
Signed-off-by: David Gageot <david@gageot.net>
2015-12-28 17:15:07 +01:00
David Gageot 24a13af61e FIX #2653 docker-machine ls need to identify machine or cluster
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 18:09:24 +01:00
David Gageot 0a74068b11 Merge pull request #2298 from skatsuta/create-update-iso
Upgrade the boot2docker.iso cache if possible when creating a VirtualBox machine
2015-12-18 08:39:22 +01:00
Jean-Laurent de Morlhon de99d4abe5 Make test a bit more resilient
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-14 18:11:35 +01:00
Jean-Laurent de Morlhon a8ba712286 Use bundled bugsnag APIKey
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-11 18:07:23 +01:00
Soshi Katsuta bbe7a00db5 libmachine/mcnutils: check the version of cached iso and download the latest one when it is out-of-date
Signed-off-by: Soshi Katsuta <soshi.katsuta@gmail.com>
2015-12-11 22:04:31 +09:00
Jean-Laurent de Morlhon ac41fba24e Merge pull request #2541 from dougm/env-emacs
Add emacs support to env command
2015-12-11 09:37:06 +01:00
Doug MacEachern 4e58bb9434 Add emacs support to env command
Signed-off-by: Doug MacEachern <dougm@vmware.com>
2015-12-10 15:29:14 -08:00
David Gageot fd0f002065 Fix test
Signed-off-by: David Gageot <david@gageot.net>
2015-12-09 15:54:08 +01:00
David Gageot 3071da0673 FIX #2490 - Reuse machines in ITs
Signed-off-by: David Gageot <david@gageot.net>
2015-12-09 15:53:40 +01:00
David Gageot 57085d89e5 Fix test
Signed-off-by: David Gageot <david@gageot.net>
2015-12-09 15:52:28 +01:00
David Gageot a708bf7e6c Cleanup machines only at the end
Signed-off-by: David Gageot <david@gageot.net>
2015-12-08 12:28:11 +01:00
David Gageot 17b1e571f2 Group engine options test
Signed-off-by: David Gageot <david@gageot.net>
2015-12-08 12:28:11 +01:00
Anil Belur 0b0373d436 Fixes issue #2310 - machine ls --filter with engine label
* Added a new members `Labels` to `FilterOptions struct`, and `EngineOptions` to
`HostListItem struct`. `HostListItems` is already being read from the file
store `config.json` which TestFilterHostsReturnSetLabel engine labels.

* Modified `parseFilters()` and added new `func matchesLabel(`) which compares
the one or more label values provided as input.

* Also the changes include added tests for UT and integration.
Note: Have kept `--filter label=<key>=<value>` syntax which is similar to
`docker images --filter` to keep the usability consistent.

review comments from @dgageot

Signed-off-by: Anil Belur <askb23@gmail.com>
2015-12-08 10:15:31 +05:30
David Gageot 3612c55677 Add version to machine ls
Signed-off-by: David Gageot <david@gageot.net>
2015-12-03 16:27:42 +01:00
David Gageot b356a2249e Remove redundant flag in integration tests
Signed-off-by: David Gageot <david@gageot.net>
2015-12-02 11:51:29 +01:00
Anil Belur 77fba72d13 Fixes #2349 - rm get user confirmation before proceeding further
* adds new flag `-y` prompting for user confirmation before removal
* Modified existing integration tests to work with the fix #2349.
* Added tests for checking user confirmation, updated the test cases use sub-shell with `|`
* Updated the reference docs for rm sub-command

incorporated changes by @dgageot, @jeanlaurent and @nathanleclaire

Signed-off-by: Anil Belur <askb23@gmail.com>
2015-12-02 09:17:33 +05:30
Jean-Laurent de Morlhon b7b767aafe Allow virtualbox DNSProxy override
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-01 16:02:20 +01:00
David Gageot 41a9edbfb2 B2D_CACHE can be used to speedup integration tests
Signed-off-by: David Gageot <david@gageot.net>
2015-11-26 11:42:55 +01:00
Jean-Laurent de Morlhon abca150dd8 Move doubtfull provision test out of the integration folder
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-26 11:16:04 +01:00
Nathan LeClaire 64a3a2f804 Update DRIVER checking to universal function
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-11-25 23:01:47 -08:00
Nathan LeClaire 3ddea9f53f Merge pull request #2409 from dgageot/more-commands-tests
Add more command tests
2015-11-25 10:25:09 -08:00
Jean-Laurent de Morlhon 67b83f518f Fix #2410
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
Reviewed-by: David Gageot <david@gageot.net>
2015-11-25 18:27:35 +01:00
David Gageot 742cdb958b Add more command tests
Signed-off-by: David Gageot <david@gageot.net>
2015-11-25 14:23:29 +01:00
Dave Tucker 3a332c8d47 Only run integration tests on Bash 4.1 or later
Fixes #2200

Signed-off-by: Dave Tucker <dt@docker.com>
2015-11-24 09:58:43 +00:00
Nathan LeClaire 19ce7b79bd Revise CommandLine interface to contain libmachine client and store
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-11-23 19:29:20 -08:00
David Gageot 9a7414fc80 Merge pull request #2375 from jeanlaurent/vbox-test
Move vbox integration test to core
2015-11-23 14:20:03 +01:00
Jean-Laurent de Morlhon a55bba3ed2 Move tls-san flag to a local flag for create
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-23 12:40:07 +01:00
Sam Alba b82f9a8509 Implemented integration tests for --tls-san option
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2015-11-23 12:19:03 +01:00
Jean-Laurent de Morlhon f4cada3867 Unused hierarchy
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-23 10:43:32 +01:00
Jean-Laurent de Morlhon 975faf57b3 Unused file
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-23 10:43:30 +01:00
Jean-Laurent de Morlhon 164bb01540 Unused file
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-23 10:43:20 +01:00
Jean-Laurent de Morlhon 690215b7ec move vbox test to core
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-23 10:41:24 +01:00
Jean-Laurent de Morlhon ade5911b32 Fixes #2372, add test for #2356
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-20 17:48:53 +01:00