Switch over to the new plugin style as documented here: http://docs.openstack.org/developer/devstack/plugins.html Makes it very easy to setup a CI job. Added a new directory for functional job and the tests are run from the post_test_hook.sh. There's even a "magnum bay-list" in the shell script to show that we are actually making calls to the magnum API endpoint and things are working fine. Note that this is just the minimal plumbing needed and there's a lot more effort needed to come up with proper test cases for testing magnum functionality. Closes-Bug: #1439621 Change-Id: I88d45015338ef55713b32de196f9071c8fc2031b
|7 years ago|
|README.rst||7 years ago|
This directory contains the files necessary to integrate Magnum with devstack.
Refer the quickstart guide for more information on using devstack and magnum.
Running devestack with magnum for the first time may take a long time as it needs to download an atomic fedora 21 qcow image. If you already have this image you can copy it to /opt/stack/devstack/files/fedora-21-atomic.qcow2 to save your time.
To install magnum into devstack: :
git clone https://git.openstack.org/openstack/magnum /opt/stack/magnum git clone https://git.openstack.org/openstack-dev/devstack /opt/stack/devstack # copy example localrc, modify as necessary cp /opt/stack/magnum/contrib/devstack/localrc.example /opt/stack/devstack/localrc cd /opt/stack/magnum ./contrib/devstack/prepare_devstack.sh
Run devstack as normal: :
cd /opt/stack/devstack ./stack.sh