Merge "Install freezer dashboard into horizon image"

This commit is contained in:
Jenkins 2017-02-06 16:54:16 +00:00 committed by Gerrit Code Review
commit 61067c4da4
2 changed files with 13 additions and 0 deletions
docker/horizon
kolla/common

@ -51,6 +51,14 @@ function config_designate_dashboard {
done
}
function config_freezer_ui {
for file in ${SITE_PACKAGES}/disaster_recovery/enabled/_*[^__].py; do
config_dashboard "${ENABLE_FREEZER}" \
"${SITE_PACKAGES}/disaster_recovery/enabled/${file##*/}" \
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
done
}
function config_ironic_dashboard {
for file in ${SITE_PACKAGES}/ironic_ui/enabled/_*[^__].py; do
config_dashboard "${ENABLE_IRONIC}" \
@ -192,6 +200,7 @@ function config_zaqar_dashboard {
config_cloudkitty_dashboard
config_designate_dashboard
config_freezer_ui
config_ironic_dashboard
config_karbor_dashboard
config_magnum_dashboard

@ -298,6 +298,10 @@ SOURCES = {
'type': 'url',
'location': ('$tarballs_base/designate-dashboard/'
'designate-dashboard-master.tar.gz')},
'horizon-plugin-freezer-web-ui': {
'type': 'url',
'location': ('$tarballs_base/freezer-web-ui/'
'freezer-web-ui-master.tar.gz')},
'horizon-plugin-ironic-ui': {
'type': 'url',
'location': ('$tarballs_base/ironic-ui/'