O
O
OnYourLips2015-06-30 19:08:23
PHP
OnYourLips, 2015-06-30 19:08:23

How to use Continious Integration with virtual machines?

There is a virtual machine on which TeamCity is installed.
There is a project that is deployed on a virtual machine in 1 vagrant up command and tested in one phpunit command.
How to set up a virtual machine with TeamCity to automatically test this project?
In order for TeamCity to create a new virtual machine through the hoster's API, install it, run tests and delete it.
Maybe I want something wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Shikanov, 2015-06-30
@dizballanze

Such a bunch works for me successfully, but on a physical server (hetzner).
There is a plugin for vagrant .

T
tsovak, 2016-01-19
@tsovak

use vim25api for the virtual machine if everything works on your vShere esxi. the library allows you to create, manipulate virtual machines. then you will include everything in the test: cloning, enabling, deploying, testing, shutting down, deleting)
I generally recommend that you prepare a ready-made virtual machine, clone using Linked clone, so as not to take up much space, use it and then delete it. very comfortably. and again, if you have ESXi

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question