We have created something similar with the acceptance tests.

We have created a Vagrant file with a chef reciepe for provisioning. It downloads a virtualbox image, sets up the server/database and installs owncloud.

Here is the docu to get started:

https://github.com/owncloud/acceptance-testing

Most of the tests work (right now only oc5, make it work with oc6 should be easy), help is highly appreciated :)

Greets,
Steffen


On 14.11.2013 13:19, Arthur Schiwon wrote:
Hey everybody,

upgrade testing of major releases becomes easy, when you can easily
setup a test instance and always go back to the state before doing the
upgrade.

It's also especially useful, when you can test upgrade with
real-world/production data.

Already before OC 5 I have had a script for me that allowed me to do so,
now for OC 6 I put it all together and made it configurable, so that it
may be useful for anybody out there.

My use case is: download a release tarball, take over config and
database from my production system. (In my case, data-folder will be
kept).

Please find it in the administration repo on Github:
https://github.com/owncloud/administration/tree/master/ocClone

Please read the README file, and do a backup. Works for me and I
successfully went to 6 Beta 4, but who knows? Sometimes scripts are
eating kittens and things.

Cheers
Arthur

P.S.: i am not a Bash guru, reviews and improvements welcome.

_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to