Better organize the source file structure of the build manager and change it to choose a lifecycle manager based on the config

This commit is contained in:
Joseph Schorr 2014-11-25 16:14:44 -05:00
parent c48559ee3d
commit 660a640de6
12 changed files with 34 additions and 20 deletions

View file

@ -49,9 +49,9 @@ class DefaultConfig(object):
REGISTRY_TITLE = 'Quay.io'
REGISTRY_TITLE_SHORT = 'Quay.io'
CONTACT_INFO = [
'mailto:support@quay.io',
'irc://chat.freenode.net:6665/quayio',
'tel:+1-888-930-3475',
'mailto:support@quay.io',
'irc://chat.freenode.net:6665/quayio',
'tel:+1-888-930-3475',
'https://twitter.com/quayio',
]
@ -160,6 +160,8 @@ class DefaultConfig(object):
# Feature Flag: Whether users can be created (by non-super users).
FEATURE_USER_CREATION = True
BUILD_MANAGER = ('enterprise', {})
DISTRIBUTED_STORAGE_CONFIG = {
'local_eu': ['LocalStorage', {'storage_path': 'test/data/registry/eu'}],
'local_us': ['LocalStorage', {'storage_path': 'test/data/registry/us'}],