Test virtualization

41 views
Skip to first unread message

Daniel Remiszewski

unread,
May 28, 2014, 5:15:16 AM5/28/14
to php...@googlegroups.com
I have an idea to add vagrant plugin. My application has behat tests that I would like to run, but they require a webserver. 
In Jenkins CI my solution was to set up an environment statically and point vhosts to build directory. Not nice, but somehow effective.
My idea for phpci is to add vagrant plugin which would set up a virtual machine and allow to send any ssh commands to it.
I think this is very easy to achieve and would make PHPCI more popular.
My only concern is performance. Setting up a virtual machine with every run could be too slow. I'll dig into vagrant how to make it more efficient, but I would like some feedback first.

Dan Cryer

unread,
May 28, 2014, 5:17:59 AM5/28/14
to Daniel Remiszewski, php...@googlegroups.com
Hi Daniel

We're actually already working on a similar solution using Docker rather than Vagrant, with the idea being that you run "build agents" and can then run tests against multiple PHP versions and so on.

You can see the initial progress, as well as the task list, here: https://github.com/Block8/PHPCI/pull/425

You're more than welcome to contribute to this process if you feel comfortable doing so.

Thanks,

Dan



--
You received this message because you are subscribed to the Google Groups "PHP CI" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-ci+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages