Support Ironic in devstack gate

Now Devstack can deploy Ironic baremetal provisioning
service, so it's possible to test it using gate tests.

This patch enables Ironic in devstack gates if the
DEVSTACK_GATE_IRONIC variable is set to 1.

Change-Id: I56ea3a3e2576f5488a43ca4ece35a5a250cef04c
This commit is contained in:
Roman Prykhodchenko
2013-10-25 19:26:13 +03:00
parent b89c850c05
commit ce4012a6d2
2 changed files with 8 additions and 0 deletions

View File

@@ -393,6 +393,7 @@ PROJECTS="openstack/cinder $PROJECTS"
PROJECTS="openstack/glance $PROJECTS"
PROJECTS="openstack/heat $PROJECTS"
PROJECTS="openstack/horizon $PROJECTS"
PROJECTS="openstack/ironic $PROJECTS"
PROJECTS="openstack/keystone $PROJECTS"
PROJECTS="openstack/neutron $PROJECTS"
PROJECTS="openstack/nova $PROJECTS"
@@ -402,6 +403,7 @@ PROJECTS="openstack/python-ceilometerclient $PROJECTS"
PROJECTS="openstack/python-cinderclient $PROJECTS"
PROJECTS="openstack/python-glanceclient $PROJECTS"
PROJECTS="openstack/python-heatclient $PROJECTS"
PROJECTS="openstack/python-ironicclient $PROJECTS"
PROJECTS="openstack/python-keystoneclient $PROJECTS"
PROJECTS="openstack/python-neutronclient $PROJECTS"
PROJECTS="openstack/python-novaclient $PROJECTS"
@@ -484,6 +486,9 @@ export DEVSTACK_GATE_NEUTRON=${DEVSTACK_GATE_NEUTRON:-0}
# Set to 1 to run nova in cells mode instead of the default mode
export DEVSTACK_GATE_CELLS=${DEVSTACK_GATE_CELLS:-0}
# Set to 1 to run ironic baremetal provisioning service.
export DEVSTACK_GATE_IRONIC=${DEVSTACK_GATE_IRONIC:-0}
# The following variables are set for different directions of Grenade updating
# for a stable branch we want to both try to upgrade forward n => n+1 as
# well as upgrade from last n-1 => n.

View File

@@ -70,6 +70,9 @@ function setup_localrc() {
if [ "$DEVSTACK_GATE_CELLS" -eq "1" ]; then
MY_ENABLED_SERVICES=$MY_ENABLED_SERVICES,n-cell
fi
if [ "$DEVSTACK_GATE_IRONIC" -eq "1" ]; then
MY_ENABLED_SERVICES=$MY_ENABLED_SERVICES,ir-api,ir-cond
fi
# When uncommented this will download and register the most recent successfully built
# ubuntu-vm-heat-cfntools image from jenkins.tripleo.org
# echo "IMAGE_URLS+=,\"http://jenkins.tripleo.org:8080/job/autobuilt-images/elements=ubuntu%20vm%20heat-cfntools/lastSuccessfulBuild/artifact/ubuntu-vm-heat-cfntools.qcow2\"" >>localrc