Commit Graph

110 Commits

Author SHA1 Message Date
Michael Kuzmin 448809aa1e switch tests to vSphere 6.5 lab 2018-01-23 22:51:05 +03:00
Michael Kuzmin 4267014a5e
Merge pull request #42 from jetbrains-infra/driver_tests
Add acceptance tests for driver package
2018-01-23 22:34:41 +03:00
Michael Kuzmin b667f68c32 'communicator: none' can be used to clone and customize VMs without provisioning 2018-01-16 16:18:35 +03:00
Dmitry Tretyakov ede053f6bc Add ability to control nested hardware virtualization
Issue: #45
2018-01-16 15:24:44 +03:00
Michael Kuzmin 98b2f99436 Resize disk 2017-12-03 23:58:04 +03:00
Andrei Tonkikh d1b2b76843 Add more acceptance tests for VM. Merge them into 1 table-driven test 2017-11-15 00:47:33 +03:00
Andrei Tonkikh 991e1f8fdb Revert f05b1e1. That commit introcude a regression from #30 2017-11-14 00:08:40 +03:00
Andrei Tonkikh 6e3e92e356 Remove driver test utility. Move driver tests to the driver folder 2017-11-14 00:02:46 +03:00
Andrey Tonkikh 7794c149a1 Inline test config 2017-11-13 23:01:41 +03:00
Michael Kuzmin 24805991a6
Update README.md 2017-11-06 17:40:44 +03:00
Andrey Tonkikh c41ee01537 Correct some error messages in tests 2017-10-26 19:15:54 +03:00
Andrey Tonkikh 3cb2185c53 Add an acceptance test for `driver.Host` 2017-10-26 01:07:25 +03:00
Andrey Tonkikh 23c6951aa4 Add an acceptance test for `driver.Folder` 2017-10-26 01:04:56 +03:00
Andrey Tonkikh d33ffc178d Add an acceptance test for `driver.ResourcePool` 2017-10-26 00:55:09 +03:00
Andrey Tonkikh dc5a2e52cd Simplify datastore test 2017-10-26 00:38:33 +03:00
Andrey Tonkikh d154a0ff32 Improve `TestVMAcc_running_snapshot` and `TestVMAcc_template` 2017-10-26 00:08:02 +03:00
Andrey Tonkikh c339fbfb39 Add some acceptance tests for `VirtualMachine` and `Datastore` 2017-10-25 23:20:59 +03:00
Andrey Tonkikh f05b1e1e4b Refactor `driver.NewDriver`
`driver.NewDriver` used to construct a govnomi client on its own while
the same work can be done by calling `govmomi.NewClient`.
2017-10-12 08:39:56 +03:00
Michael Kuzmin 04d1820eb3 migrate tests to Alpine template 2017-09-03 18:34:12 +03:00
Michael Kuzmin ebacc4c2fa refactor ssh connection 2017-08-31 19:19:03 +03:00
bugbuilder d97c3ebaf0 enable ssh key file 2017-08-31 13:08:36 +02:00
Michael Kuzmin a12121616d tests for hardware customization 2017-08-24 23:50:25 +03:00
Michael Kuzmin 7cace988e6 inherit datastore from target host, not source template 2017-08-24 23:18:14 +03:00
Michael Kuzmin 1046b5ef09 handle VM clone errors
do not try to cleanup failed VM, it it's not created
2017-08-24 21:54:01 +03:00
Michael Kuzmin e8d8fd6205 Refactor vSphere driver 2017-08-24 17:54:08 +03:00
Michael Kuzmin 8d75c273a9 Add Mozilla Public License 2.0 - the same as in Packer itself 2017-08-24 14:03:49 +03:00
Michael Kuzmin 1bf942a2c2 check folder in default test 2017-08-24 01:39:14 +03:00
Michael Kuzmin 3acf445d98 test for resource pool 2017-08-24 01:23:48 +03:00
Michael Kuzmin c335dc1015 test for subfolders 2017-08-24 00:54:23 +03:00
Michael Kuzmin 2c184abdef test for folder 2017-08-24 00:23:29 +03:00
Michael Kuzmin 6c885f1994 tests: extract artifact check into separate test 2017-08-23 23:32:45 +03:00
Michael Kuzmin c73f269822 test for 'create_snapshot' 2017-08-23 23:15:19 +03:00
Michael Kuzmin efe2c3c8b3 Extract vSphere driver into separate package (#35) 2017-08-23 21:40:57 +02:00
Michael Kuzmin ae3a1d6f24 integration tests 2017-08-21 23:22:15 +03:00
Michael Kuzmin 9f9e0e9ae7 fix test 2017-08-16 20:38:59 +03:00
Michael Kuzmin 1ca3571e03 Merge pull request #32 from jetbrains-infra/keep-alive
Keep vSphere connection alive
2017-08-16 20:24:38 +03:00
Michael Kuzmin 3c40617578 Keep vSphere connection alive 2017-08-16 02:49:44 +03:00
Michael Kuzmin bc2ab11165 Update README.md 2017-08-16 00:41:36 +03:00
Michael Kuzmin 543bef448c fix build script 2017-07-30 04:06:50 +03:00
Michael Kuzmin 566e2131d1 Update build scripts 2017-07-30 03:56:10 +03:00
Michael Kuzmin deec897718 Update README 2017-07-06 01:23:39 +03:00
Michael Kuzmin 41744c3bcc Code cleanup 2017-07-03 00:59:46 +03:00
Michael Kuzmin cadc320b72 template step uses vSphere driver 2017-07-02 18:27:12 +03:00
Michael Kuzmin 726df3927d snapshot step uses vSphere driver 2017-07-02 18:27:12 +03:00
Michael Kuzmin ee4665c12c shutdown step uses vSphere driver 2017-07-02 18:27:11 +03:00
Michael Kuzmin 0e20a77e1c run step uses vSphere driver 2017-07-02 18:27:11 +03:00
Michael Kuzmin b05ba0a9a2 hardware step uses vSphere driver 2017-07-02 18:27:04 +03:00
Michael Kuzmin b7d58590a7 cloning step uses vSphere driver 2017-07-02 18:26:55 +03:00
Michael Kuzmin 1e747c8c93 extract vSphere driver 2017-07-02 18:23:51 +03:00
Michael Kuzmin 9f93e93c92 Add test for mandatory parameters 2017-07-02 18:23:50 +03:00