Commit ce5fd206 authored by André Anjos's avatar André Anjos 💬

Merge branch 'make_install_more_flexible' into 'master'

Make install more flexible

See merge request !418
parents 3ae3ba7d 46f65300
Pipeline #47887 passed with stages
in 20 minutes and 5 seconds
......@@ -126,7 +126,11 @@ class BackendUtilitiesMixin(object):
for contribution in ["system", "test"]:
install.install_contributions(
source_prefix, contribution, template_data, db_root_file_path
source_prefix=source_prefix,
project=contribution,
assets=list(install.ASSET_UPLOADER_MAP.keys()),
template_data=template_data,
db_root_file=db_root_file_path,
)
if not os.path.exists(settings.CACHE_ROOT):
......
......@@ -69,7 +69,7 @@ from django.core.management.base import BaseCommand
import beat.core.database
from beat.web.databases.models import Database
from .install import link_database_versions
from .install import link_contribution_versions
from .install import list_objects
from .install import load_database_folders
from .install import upload_database
......@@ -197,4 +197,4 @@ class Command(BaseCommand):
logger.error("Failed to install %s", key)
if not dry_run:
link_database_versions()
link_contribution_versions(Database)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment