Add fallback s3 config values
This commit is contained in:
parent
94c8b0e1b1
commit
1bdb9f3de0
1 changed files with 4 additions and 3 deletions
|
@ -46,9 +46,10 @@ def get_chromedriver_version():
|
||||||
|
|
||||||
|
|
||||||
def s3_config():
|
def s3_config():
|
||||||
config = (os.environ.get('ELECTRON_S3_BUCKET', ''),
|
# TODO Remove ATOM_SHELL_* fallback values
|
||||||
os.environ.get('ELECTRON_S3_ACCESS_KEY', ''),
|
config = (os.environ.get('ELECTRON_S3_BUCKET', os.environ.get('ATOM_SHELL_S3_BUCKET', '')),
|
||||||
os.environ.get('ELECTRON_S3_SECRET_KEY', ''))
|
os.environ.get('ELECTRON_S3_ACCESS_KEY', os.environ.get('ATOM_SHELL_S3_ACCESS_KEY', '')),
|
||||||
|
os.environ.get('ELECTRON_S3_SECRET_KEY', os.environ.get('ATOM_SHELL_S3_SECRET_KEY', '')))
|
||||||
message = ('Error: Please set the $ELECTRON_S3_BUCKET, '
|
message = ('Error: Please set the $ELECTRON_S3_BUCKET, '
|
||||||
'$ELECTRON_S3_ACCESS_KEY, and '
|
'$ELECTRON_S3_ACCESS_KEY, and '
|
||||||
'$ELECTRON_S3_SECRET_KEY environment variables')
|
'$ELECTRON_S3_SECRET_KEY environment variables')
|
||||||
|
|
Loading…
Reference in a new issue