-
Notifications
You must be signed in to change notification settings - Fork 11
How we test Portus
to do
to do
In order to test the appliance, we have a jenkins job that gets the image from the Open Build Service, imports it to an openStack cloud instance and launches an instance. In order to do so, we make use of this script:
https://gitlab.suse.de/jordimassaguerpla/ci-scripts/blob/master/obs2openstack.sh
Then the instance needs a manual interaction in order to configure it. One needs to go to the "console" and go through the yast2 firstboot workflow. When the yast2 firstboot workflow finishes, then the appliance will have network, not before.
Once the instance has network, we have a jenkins job that will run the scripts from:
https://github.com/SUSE/Portus/tree/master/packaging/suse/appliance-test
In order to run the previous scripts, we make use of
https://gitlab.suse.de/jordimassaguerpla/ci-scripts/blob/master/run_in_os.sh
Continuous integration is run with Travis and the Opensuse Build Service. For details, see the .travis.yml file.