Commit Graph

97 Commits

Author SHA1 Message Date
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
Michael Kuzmin 830bb65562 Rename files 2017-07-02 18:23:50 +03:00
Michael Kuzmin 22d7851e1f Separate configs for connection & cloning 2017-07-02 18:23:30 +03:00
Michael Kuzmin 228ac12366 Separate config for shutdown step 2017-07-02 18:22:59 +03:00
Michael Kuzmin 310e10b19b Merge pull request #25 from jetbrains-infra/hardware
CPU and RAM reservation
2017-07-02 01:52:08 +03:00
Michael Kuzmin 5987795a23 Add 'RAM_reserve_all' parameter 2017-07-02 01:36:00 +03:00
Michael Kuzmin 71c211fa09 Add 'RAM_reservation' parameter 2017-07-02 01:36:00 +03:00
Michael Kuzmin d2dacfbc6b Add 'CPU_limit' parameter 2017-07-02 01:36:00 +03:00
Michael Kuzmin 3991b0e95c Add 'CPU_reservation' parameter 2017-07-02 01:36:00 +03:00
Michael Kuzmin a03c91e73a Refactor hardware customization 2017-07-02 01:34:50 +03:00
Michael Kuzmin 22d4b7e733 rename file 2017-07-02 01:34:29 +03:00
Michael Kuzmin 44ce709581 Update README 2017-07-01 19:27:09 +03:00
Michael Kuzmin 4343ca292a Update README.md 2017-07-01 19:16:22 +03:00
Michael Kuzmin b218d42895 Add `insecure_connection` parameter 2017-07-01 18:59:36 +03:00