Commit Graph

48 Commits (ae87c281a8e7fc2b75b51b9613ab89640fed3216)

Author SHA1 Message Date
Nir Soffer 7bc97d7ce1 kvm: Convert to internal driver
Remove the docker-machine-driver-kvm2 wrapper and use the kvm driver as
internal driver.

To avoid dependency on libvirt shared library on Linux, we build now
with the libvirt_dlopen build tag. This is used only linux to avoid
linking with libvirt shared library. This is not documnted but can be
found in the source.
f7cdeba997/domain.go (L30)

With this we don't need libvirt devel libraries during build, and in
runtime we will fail if libvirt shared library is not installed.

With this change minikube can not be built for linux !amd64 since building
libvirt go binding requires CGO, and it does not work by changing GOARCH.
2025-10-19 17:20:47 +03:00
Medya Ghazizadeh 50d403232a use temp folder for before/after 2025-09-16 11:54:38 -07:00
Medya Ghazizadeh 413d0a7d1c set dl to path 2025-09-16 11:49:57 -07:00
Medya Ghazizadeh e473419fa9 remove test for aux driver without version more than 5 years old 2025-09-16 11:20:16 -07:00
Steven Powell 00ac406420 fix linting 2022-07-25 09:59:13 -07:00
Steven Powell 2e4ea3c259 replace MkdirTemp with t.TempDir in tests 2022-04-01 19:18:20 -07:00
Steven Powell 69aa495d02 address lint concerns 2021-11-08 09:23:00 -05:00
KallyDev 70022d9b2e
Move from deprecated ioutil to os and io packages 2021-10-08 08:57:19 +08:00
Medya Gh 861d81b335 remove dep to azure lib 2021-06-29 16:07:37 -04:00
Medya Gh 47dbbac0d9 revert azure sdk 2021-06-29 16:03:27 -04:00
Medya Gh 89c7853601 bump go mod libs manually 2021-06-29 15:24:59 -04:00
Andriy Dzikh a8136ec322 Move InstallOrUpdate to its own package. 2021-05-27 15:01:58 -07:00
Sharif Elgamal 7cd2dcfee8 fill in missing docs 2021-04-16 14:01:04 -07:00
Sharif Elgamal 0ed5b13995 add docs for all integration tests and generate docs with them 2021-04-16 13:42:41 -07:00
Ilya Zuyev 61157c0e56 Add GH issue link to output if a test is skipped on arm64 2021-01-14 11:50:56 -08:00
Ilya Zuyev d11149d7f6 make Arm64Platform private 2021-01-14 10:51:57 -08:00
Ilya Zuyev 05bc271ef8 Fix arch related checks 2020-12-16 18:13:13 -08:00
Ilya Zuyev 5fc73c7764 Add a comment 2020-10-15 16:07:39 -07:00
Ilya Zuyev 57a0e402d4 Reuse $MINIKUBE_HOME/cache files;
Cleanup comments
2020-10-15 15:49:24 -07:00
Ilya Zuyev 4c5ac5acdc Integration tests: remove driver_install_or_update_darwin_test.go 2020-10-15 12:53:02 -07:00
Ilya Zuyev bfca3a6c9d Reorganize code - move tests related to hyperkit to driver_install_or_update_darwin_test.go 2020-10-15 11:39:40 -07:00
Ilya Zuyev 0a9cbbb9f4 Use "--interactive=false" to avoid asking for sudo password 2020-10-13 18:05:38 -07:00
Ilya Zuyev 1381394d8f Fix comments 2020-10-12 20:35:25 -07:00
Ilya Zuyev 786037e1c7 Fix error message in int test 2020-10-12 20:33:23 -07:00
Ilya Zuyev 9b70ec8dda Update integration test:
- skip, if sudo needs a password
- improve temp files processing
- do not preload
2020-10-12 20:27:49 -07:00
Ilya Zuyev 7322fdd537 Add an integration test for hyperkit driver upgrades 2020-10-05 22:11:28 -07:00
Lu Fengqi c219b60b05 Add error handling for os.RemoveAll
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
2020-07-17 15:44:04 +08:00
Thomas Stromberg 3bcfebf8c9 Don't block on sudo during integration test 2020-04-29 09:46:45 -07:00
tstromberg 7581cf3e0c Address merge conflicts 2019-10-21 11:12:06 -07:00
tstromberg 7cb0cfdf79 Pass lint checks 2019-10-18 13:53:57 -07:00
Thomas Stromberg 6d7d589a52 Consolidate driver-interaction code into pkg/minikube/driver 2019-10-18 13:00:07 -07:00
Sharif Elgamal 0bca92a3ef fix tests 2019-10-16 15:01:26 -07:00
tstromberg d0bff3872d Pass driver name rather than executable name 2019-09-18 15:08:53 -07:00
Thomas Stromberg 197039c23d Fix tests 2019-09-18 13:46:10 -07:00
Jose Donizetti 6ee291b07a Add hyperkit installOrUpdate test 2019-09-18 13:06:48 -03:00
Thomas Stromberg 7633c038e7 Use v1.3.0 as test version to avoid 404 2019-09-16 20:36:29 -07:00
Thomas Stromberg 6142969467 Add version argument to download to prevent v0.0.0 download error 2019-09-16 20:20:16 -07:00
Thomas Stromberg 9ce3be6b88 Stricter permissions 2019-09-16 19:10:38 -07:00
Thomas Stromberg 4885f6c584 Merge driver change 2019-09-11 11:57:38 -07:00
josedonizetti 6898cb1073 Restore original PATH 2019-09-11 11:34:29 -03:00
josedonizetti c434797f59 Remove debug logs 2019-09-11 11:34:29 -03:00
josedonizetti 5232043d33 Change driver permission 2019-09-11 11:34:29 -03:00
josedonizetti 3bb79f6878 Add full driver folder path 2019-09-11 11:34:29 -03:00
josedonizetti 219109c98e Add log lines to debug test 2019-09-11 11:34:29 -03:00
josedonizetti 85778d36a4 Remove deggubing information 2019-09-11 11:34:29 -03:00
josedonizetti e30fe10737 Add debugging information 2019-09-11 11:34:29 -03:00
josedonizetti 44889de368 Fix testdata directory for driver install or update test 2019-09-11 11:34:29 -03:00
josedonizetti ce93bd0253 Skipe driver intallOrUpdate test for none driver 2019-09-11 11:34:29 -03:00