Open F21 opened 9 years ago
For provisioning, we can consider using something like Ansible, which is much easier to write playbooks for, compared to shell scripts.
Great Idea!
I will create a separate repository for it.
I think a separate repository isn't required, because the vagrant file is specific to developing and testing phpbu. I think it's better to keep it in the phpbu repo, and if anyone needs to launch a vm, he can just go into the phpbu folder and do vagrant up
.
This means we can also have travis run the install script used by vagrant to install elasticsearch and the other servers. Then we can do integration tests to make sure that a back up (for example XtraBackup that was compressed) extracts properly and contain all the correct files.
Makes sense ;)
We should create a vagrantfile so that an local environment can be easily booted for testing.
We also need a setup script (for travis and vagrant) to install the servers (Elasticsearch, etc), so that we can actually test the back up process by backing up real sources.