Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrantfile and setup script for easy setup of test environment #19

Open
F21 opened this issue Apr 12, 2015 · 5 comments
Open

Vagrantfile and setup script for easy setup of test environment #19

F21 opened this issue Apr 12, 2015 · 5 comments

Comments

@F21
Copy link
Contributor

F21 commented Apr 12, 2015

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.

@F21
Copy link
Contributor Author

F21 commented Apr 12, 2015

For provisioning, we can consider using something like Ansible, which is much easier to write playbooks for, compared to shell scripts.

@sebastianfeldmann
Copy link
Owner

Great Idea!

@sebastianfeldmann
Copy link
Owner

I will create a separate repository for it.

@F21
Copy link
Contributor Author

F21 commented Apr 13, 2015

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.

@sebastianfeldmann
Copy link
Owner

Makes sense ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants