How to run manual tests
bootstrap_cloudrouter.sh
The script can be downloaded here.
curl -o bootstrap_cloudrouter.sh https://raw.githubusercontent.com/cloudrouter/cloudrouter/master/testing/bootstrap_cloudrouter.sh |
---|
The bootstrap script can be helpful for manual testing. This will allow you to quickly stand up a guest on your local libvirt/kvm capabable systems.
./bootstrap_cloudrouter.sh CloudRouter-Beta-Minimal-20150401.x86_64.raw.xz |
---|
It you will be testing more than once its advised to keep the xz compressed guest image.
./bootstrap_cloudrouter.sh CloudRouter-Beta-Minimal-20150401.x86_64.raw.xz -ki |
---|
If removing the guest and rerunning, this will speed up things by using the already download image on each additional run.
./bootstrap_cloudrouter.sh CloudRouter-Beta-Minimal-20150401.x86_64.raw.xz -sd -ki |
---|
The URL can be pointed to Jenkins builds.
CLOUDROUTER_URL="https://ci.cloudrouter.org:8443/job/cloudrouter-image-builder/lastSuccessfulBuild/artifact/" ./bootstrap_cloudrouter.sh cloudrouter-fedora-full.raw.xz |
---|
Note:Â The user running the script should have sudo access so the libvirt guests can be created.