Varying-Vagrant-Vagrants / VVV

An open source Vagrant configuration for developing with WordPress
https://varyingvagrantvagrants.org
MIT License
4.54k stars 850 forks source link

VVV Base box #1743

Open boskiv opened 5 years ago

boskiv commented 5 years ago

Today I have default: Provisioning complete in 593 seconds And it make me sad. What do you think to make a vvv base box with preinstalled software and store in vagrant cloud? At my work i have make multiple layers boxes to support different environments

base->department A->engine A
    ->department B->engine B

base is just clean OS + shared provision scripts department box contains engine dependencies engine box contains particular engine version

This structure is flexible and supportable and more important - developers don't need to wait more time to setup dependencies.

What do you think about it ?

tomjn commented 5 years ago

What do you think to make a vvv base box with preinstalled software and store in vagrant cloud?

I'd love to, in fact we tried a short while back, but the main blocker at the moment is time and resources. We did have a setup on OVH to build VMs to generate the box images but it seems the ability to run VMs on OVH was not intended.

https://github.com/Varying-Vagrant-Vagrants/Packer.Base

The boxes themselves still needed some testing, and there was the problem that VVV 2 switched the databases to be stored inside the VM for performance reasons, rather than in a mounted folder. This means if we update the box for those people they get their databases deleted on the first upgrade. It would however have let us switch to a newer Ubuntu with ease

Right now, we need somewhere to run the builds though

GitHub
Varying-Vagrant-Vagrants/Packer.Base
Ubuntu base images packer builder. Contribute to Varying-Vagrant-Vagrants/Packer.Base development by creating an account on GitHub.
tomjn commented 3 years ago

Noting that box minimising and cleanup scripts were added on the develop branch. Tests showed a reduction but the box is bigger than I'd like and there could be greater speed improvements with current tests