-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V2.1.0 add vscode cloud editor (#69)
* ADD working first pass at kube theia and proxy (through kube) * WIP * fix stats response urls * add full submission stats endpoint * stability improvement for pipeline initialization * THEIA POC * ADD minimum full flow for theia components * ADD theia instructions, and stronger theia resource reaping * FINAL polish for 2.1.0
- Loading branch information
Showing
105 changed files
with
5,233 additions
and
1,876 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,10 +17,15 @@ class Config: | |
OAUTH_CONSUMER_KEY = '' | ||
OAUTH_CONSUMER_SECRET = '' | ||
|
||
ADMINS = os.environ.get('ADMINS', '[email protected]') | ||
|
||
# Cache config | ||
CACHE_REDIS_HOST = 'redis' | ||
|
||
# Logger config | ||
LOGGER_NAME = os.environ.get('LOGGER_NAME', default='anubis-api') | ||
|
||
# Theia config | ||
THEIA_DOMAIN = os.environ.get('THEIA_DOMAIN', default='ide.anubis.osiris.services') | ||
|
||
def __init__(self): | ||
self.DEBUG = os.environ.get('DEBUG', default='0') == '1' | ||
self.SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URI', | ||
|
@@ -35,6 +40,12 @@ def __init__(self): | |
# Redis | ||
self.CACHE_REDIS_HOST = os.environ.get('CACHE_REDIS_HOST', default='redis') | ||
|
||
# Logger | ||
self.LOGGER_NAME = os.environ.get('LOGGER_NAME', default='anubis-api') | ||
|
||
# Theia | ||
self.THEIA_DOMAIN = os.environ.get('THEIA_DOMAIN', default='ide.anubis.osiris.services') | ||
|
||
logging.info('Starting with DATABASE_URI: {}'.format( | ||
self.SQLALCHEMY_DATABASE_URI)) | ||
logging.info('Starting with SECRET_KEY: {}'.format(self.SECRET_KEY)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.