Commit Graph

197 Commits

Author SHA1 Message Date
Michael Kuzmin d12fbcb700 rename 'vcenter_host' to 'vcenter_server' 2017-07-01 18:54:10 +03:00
Michael Kuzmin 84af7f5583 code cleanup 2017-07-01 18:32:16 +03:00
Michael Kuzmin 2a43e5039e rename 'cpus' to 'CPUs' 2017-07-01 18:03:52 +03:00
Michael Kuzmin 172118bbe5 rename 'dc_name' to 'datacenter' 2017-07-01 17:45:13 +03:00
Michael Kuzmin b549e21e01 rename 'folder_name' to 'folder' 2017-07-01 17:38:50 +03:00
Michael Kuzmin b9cac9d681 rename 'url' to 'vcenter_host' 2017-07-01 17:18:54 +03:00
Michael Kuzmin de58c87878 Support nested VM folders 2017-07-01 16:18:54 +03:00
Michael Kuzmin 17f7a973d6 Merge pull request #19 from jetbrains-infra/tests
Tests
2017-07-01 16:11:12 +03:00
Michael Kuzmin 07cbbd1d0b integration test 2017-07-01 15:53:12 +03:00
Michael Kuzmin 95ca846a08 Unit tests 2017-07-01 15:52:58 +03:00
Michael Kuzmin f42df93e8d destroy artifact 2017-07-01 15:52:57 +03:00
Michael Kuzmin a12ff09f0a move setup back into builder 2017-07-01 15:52:49 +03:00
Michael Kuzmin 0e594a5d31 Update README.md 2017-06-28 12:19:46 +03:00
Michael Kuzmin 12e7a3f42b update Readme 2017-06-27 12:07:10 +03:00
Michael Kuzmin 28efdd4acc Rename artifacts 2017-06-27 10:55:49 +03:00
Michael Kuzmin f1444b6a20 Lock dependencies 2017-06-27 10:44:38 +03:00
Elizaveta Tretyakova fbe2065ec2 Add a snapshot (#22) 2017-06-27 10:32:59 +03:00
Elizaveta Tretyakova e394b27a21 Update README.md 2017-06-24 02:19:44 +03:00
Elizaveta Tretyakova 39099ad3af Added template conversion (#18)
* Added conversion to template without timeout
* Added timeout
* Extracted converting to template to a separate step
2017-06-13 14:11:41 +03:00
Elizaveta Tretyakova 66705e4a26 Adding linked clones (#17)
* Simple linked cloning, just crashing if no snapshots
2017-06-12 01:45:25 +03:00
Elizaveta Tretyakova ac139471c8 Create README.md 2017-06-10 01:44:24 +03:00
Elizaveta Tretyakova 9b89fde5bb Update README.md 2017-05-31 12:49:28 +03:00
Elizaveta Tretyakova bd67267007 Update README.md 2017-05-31 12:41:01 +03:00
Elizaveta Tretyakova b77b70829d Update README.md 2017-05-31 12:40:12 +03:00
Elizaveta Tretyakova 0b17912c07 Implemented #4, #5 and #6 (#14)
* initial changes: added host and pool parameters

* backup

* clones only within the same host

* added some debug-output

* minor fixes

* vm experiments

* added datastore to realocation spec

* added datastore parameter; fixed copying between hosts

* removed debug-output

* changed dependencies
2017-05-31 11:38:50 +03:00
Elizaveta Tretyakova ca41b34285 Update glide.yaml 2017-05-19 08:50:59 +03:00
Elizaveta Tretyakova b3dcaab8b3 Hw customization (#13)
moved all configuration after cloning
2017-05-19 07:44:27 +03:00
Michael Kuzmin 29593bb509 fix Dockerfile 2017-05-16 08:49:32 +03:00
Michael Kuzmin df40bd8a76 Lock govmomi dependency version 2017-05-16 08:16:12 +03:00
Elizaveta Tretyakova 0cb041516a Update README.md 2017-05-15 16:11:01 +03:00
Elizaveta Tretyakova 56e713faa0 Update README.md 2017-05-15 01:27:14 +03:00
Elizaveta Tretyakova 281baa2459 Create README.md 2017-05-15 01:15:24 +03:00
LizaTretyakova 3643523fd1 Installation scripts 2017-05-15 00:25:50 +03:00
Elizaveta Tretyakova b2c6e44c70 Builder (#2)
* the very initial builder: just clones the VM

* removed post-processor

* builder now waits for IP address

* more separated steps

* clean up

* added run and shutdown steps

* added step connecting via ssh

* changed the BuilderId to a proper one

* added shutdown command, only echo works

* added cleanup

* removed wainting for VM to stop, removed error on the non-zero exit status

* removed BuildSuccessFlag

* refactored config structures; fixed interpolation of json template

* the rest of configuration refactoring

* removed duplicated parameters from Config

* removed duplicated parameters drom Config

* changed BuilderId and Artifact

* create a dedicated step for VM hardware configuration

* merged StepSetupCloningEnv into StepCloneVM

* improved cleanup

* added proper handling of 'disconnected' command exit status; added guest os shutdown before halting the machine [in case when no shutdown command is given]

* refactored non-conventional variable and field names

* removed redundant fields from Artifact

* removed the success field at all

* removed ArtifactFiles

* removed unnecessary warnings

* minor change in parameters structure
2017-05-09 17:23:57 +03:00
LizaTretyakova 8b2a195efd fixed some remnants of the error swallowing 2017-04-23 11:10:39 +03:00
LizaTretyakova 80a24446c4 fixed return values in PostProcess method 2017-04-22 12:26:07 +03:00
LizaTretyakova 5c1ee8cb3d added proper error handling 2017-04-22 12:20:43 +03:00
LizaTretyakova 9af78aa30d extracted process parameters from packer config to my own variables 2017-04-22 11:48:35 +03:00
LizaTretyakova 1d77b80f6b renamed BuilderId 2017-04-22 11:36:34 +03:00
LizaTretyakova 3232c52682 added RAM ocnfiguration 2017-04-16 23:47:01 +03:00
LizaTretyakova 3b612373e9 Switched from command line tool to packer post-processor 2017-04-16 23:04:50 +03:00
LizaTretyakova 495a33e664 trying thin disk 2017-04-16 19:05:00 +03:00
LizaTretyakova fc1edfa23b cosmetics 2017-04-12 19:30:45 +03:00
LizaTretyakova 63912d7f86 added cloning vm 2017-04-12 18:16:11 +03:00
LizaTretyakova b77e77168a split into functions 2017-04-12 13:51:28 +03:00
LizaTretyakova f70754e0e1 Basic reconfiguring of the vm 2017-04-12 11:14:27 +03:00
LizaTretyakova 59afa1c308 Backup; creating vm 2017-04-10 12:04:28 +03:00