Commit Graph

213 Commits

Author SHA1 Message Date
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
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