ironic-inspector/devstack/upgrade/settings
Dmitry Tantsur 4eb77865ab Only disable Neutron tests when our Grenade is running
Unconditionally disabling it in code disables neutron for everyone
importing our plugin.

Change-Id: I468af14f42b6d9227179e921f5a3ccea2cae0d66
Partial-Bug: #1621791
2016-10-20 16:01:00 +02:00

19 lines
890 B
Plaintext

# Enable our tests; also enable ironic tempest plugin as we depend on it.
export TEMPEST_PLUGINS="/opt/stack/new/ironic /opt/stack/new/ironic-inspector"
# Enabling Inspector grenade plug-in
# Based on Ironic/devstack/grenade/settings
register_project_for_upgrade ironic-inspector
register_db_to_save ironic_inspector
# Inspector plugin and service registration
devstack_localrc base enable_plugin ironic-inspector https://github.com/openstack/ironic-inspector
devstack_localrc base enable_service ironic-inspector ironic-inspector-dhcp
devstack_localrc target enable_plugin ironic-inspector https://github.com/openstack/ironic-inspector
devstack_localrc target enable_service ironic-inspector ironic-inspector-dhcp
# NOTE(dtantsur): enable possible work arounds for grenade specifically.
# We can't use shell variables "thanks" to tempest using tox.
touch /tmp/ironic-inspector-grenade