Commit Graph

16 Commits

Author SHA1 Message Date
Michael Kuzmin 228ac12366 Separate config for shutdown step 2017-07-02 18:22:59 +03:00
Michael Kuzmin 5987795a23 Add 'RAM_reserve_all' 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 b218d42895 Add `insecure_connection` parameter 2017-07-01 18:59:36 +03:00
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 95ca846a08 Unit tests 2017-07-01 15:52:58 +03:00
Elizaveta Tretyakova fbe2065ec2 Add a snapshot (#22) 2017-06-27 10:32:59 +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 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 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