mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
More reporting for buildbot corrections
This commit is contained in:
@@ -20,6 +20,9 @@ from galaxy.sample_tracking import external_service_types
|
||||
from galaxy.openid.providers import OpenIDProviders
|
||||
from galaxy.tools.data_manager.manager import DataManagers
|
||||
|
||||
import logging
|
||||
log = logging.getLogger( __name__ )
|
||||
|
||||
class UniverseApplication( object ):
|
||||
"""Encapsulates the state of a Universe application"""
|
||||
def __init__( self, **kwargs ):
|
||||
@@ -41,6 +44,8 @@ class UniverseApplication( object ):
|
||||
self.tool_shed_registry = galaxy.tool_shed.tool_shed_registry.Registry( self.config.root, self.config.tool_sheds_config )
|
||||
else:
|
||||
self.tool_shed_registry = None
|
||||
log.debug( 'self.config.tool_sheds_config: %s, self.tool_shed_registry: %s',
|
||||
self.config.tool_sheds_config, self.tool_shed_registry )
|
||||
# Initialize database / check for appropriate schema version. # If this
|
||||
# is a new installation, we'll restrict the tool migration messaging.
|
||||
from galaxy.model.migrate.check import create_or_verify_database
|
||||
|
||||
@@ -277,7 +277,6 @@ def main():
|
||||
os.makedirs( dir )
|
||||
except OSError:
|
||||
pass
|
||||
log.info( "Database connection:", database_connection )
|
||||
|
||||
# ---- Build Application --------------------------------------------------
|
||||
app = None
|
||||
@@ -293,7 +292,7 @@ def main():
|
||||
kwargs[ 'object_store' ] = 'distributed'
|
||||
kwargs[ 'distributed_object_store_config_file' ] = 'distributed_object_store_conf.xml.sample'
|
||||
# Build the Universe Application
|
||||
log.debug( 'app.kwargs:\n%s', pprint.pformat( kwargs ) )
|
||||
print 'app.kwargs:\n%s' %( pprint.pformat( kwargs ) )
|
||||
app = UniverseApplication( job_queue_workers = 5,
|
||||
id_secret = 'changethisinproductiontoo',
|
||||
template_path = "templates",
|
||||
@@ -321,6 +320,7 @@ def main():
|
||||
running_functional_tests=True,
|
||||
**kwargs )
|
||||
log.info( "Embedded Universe application started" )
|
||||
|
||||
# ---- Run webserver ------------------------------------------------------
|
||||
server = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user