Thanks Doug!

There is a good change it will work on Linux with small changes on the Vagrantfile (specially the box name on "config.vm.box"). All provisioning scripts are in Bash and I had to change some programs syntax that I'm used to on Linux because OpenBSD versions doesn't give me much sugar (like verbose output for cp).

It seems that if I had used something like Chef I might get it more portable.

I indeed used perlbrew. The Vangratfile will let you setup which version you want per user (that will be created during provisioning). But there is nothing stopping you to login with those users and install other versions.

But running multiple versions with the same user might be a problem: a lot of tests will crash because of shared resources. Besides, I'm considering that each user will have at least one CPU available (1 CPU per user). I don't have formal data to confirm, but an empirical idea is that leaving the VM with 2 CPUs on OpenBSD is a waste, must of the time one of the CPUs will not be used more than 30%. I'm still thinking about using Collected to measure that, this is on my TODO list.

On the other hand, for Linux I think Docker would be a better solution. There is a challenge regarding the modules installation (if you save data over the images, they would get larger pretty quickly, and the performance would suck due how I/O works on Docker), but maybe a shared NFS would work well enough if some scheme to separate locations per perl version and/or user login. But you're welcome to try the Vagrant too.

I'll check this project you mentioned.

Em 26/03/2017 17:17, Doug Bell escreveu:
This is great! I've been wanting a Vagrant-ized smoker for a while. I'm
going to try this out on my home machine this week. Do you think this
could be ported to work with linux boxes too?

Also, I see you're using perlbrew, does it work with multiple Perls
installed? Ray's been working on a script that takes multiple Perls from
perlbrew and runs tests for new CPAN
releases: https://github.com/cpan-testers/cpantesters-tester It'd be
cool to see these things working together!



Doug Bell
[email protected] <mailto:[email protected]>



  • OpenBSD 6 smoke... Alceu Rodrigues de Freitas Junior via cpan-testers-discuss
    • Re: OpenBS... Doug Bell
      • Re: Op... Alceu Rodrigues de Freitas Junior via cpan-testers-discuss

Reply via email to