
let projects declare that they will have a database to be saved, and we'll do it for them, in the mysql case. Eventually other saving issues should be left to per project save-state.sh scripts. services which aren't always enabled in grenade jobs have their settings files guarded with conditionals. Eventually we'll do conditional loading of these settings files, however for now this lets the rest of the infrastructure around running actions based on PLUGIN_DIRS and UPGRADE_SERVICES be *non* conditional, which simplifies them. Change-Id: I06cad95ca319e4403772e5fb394c0f8965e0bf9d
5 lines
170 B
Plaintext
5 lines
170 B
Plaintext
# eventually this conditional will end up at a different level
|
|
if is_service_enabled q-svc; then
|
|
register_project_for_upgrade neutron
|
|
register_db_to_save neutron
|
|
fi |