2
0

Update Dockerfile to get latest image (#162)

This commit is contained in:
Pieter 2019-04-10 22:48:26 +02:00 committed by Matt Robenolt
parent cd13427aa9
commit 3745dc4fe1
2 changed files with 14 additions and 2 deletions

View File

@ -1 +1 @@
FROM sentry:9.0-onbuild FROM sentry:9.1-onbuild

View File

@ -29,6 +29,9 @@
# SENTRY_MAILGUN_API_KEY # SENTRY_MAILGUN_API_KEY
# SENTRY_SINGLE_ORGANIZATION # SENTRY_SINGLE_ORGANIZATION
# SENTRY_SECRET_KEY # SENTRY_SECRET_KEY
# SLACK_CLIENT_ID
# SLACK_CLIENT_SECRET
# SLACK_VERIFICATION_TOKEN
# GITHUB_APP_ID # GITHUB_APP_ID
# GITHUB_API_SECRET # GITHUB_API_SECRET
# BITBUCKET_CONSUMER_KEY # BITBUCKET_CONSUMER_KEY
@ -279,6 +282,15 @@ else:
if SENTRY_OPTIONS['mail.enable-replies']: if SENTRY_OPTIONS['mail.enable-replies']:
SENTRY_OPTIONS['mail.reply-hostname'] = env('SENTRY_SMTP_HOSTNAME') or '' SENTRY_OPTIONS['mail.reply-hostname'] = env('SENTRY_SMTP_HOSTNAME') or ''
#####################
# SLACK INTEGRATION #
#####################
slack = env('SLACK_CLIENT_ID') and env('SLACK_CLIENT_SECRET')
if slack:
SENTRY_OPTIONS['slack.client-id'] = env('SLACK_CLIENT_ID')
SENTRY_OPTIONS['slack.client-secret'] = env('SLACK_CLIENT_SECRET')
SENTRY_OPTIONS['slack.verification-token'] = env('SLACK_VERIFICATION_TOKEN') or ''
# If this value ever becomes compromised, it's important to regenerate your # If this value ever becomes compromised, it's important to regenerate your
# SENTRY_SECRET_KEY. Changing this value will result in all current sessions # SENTRY_SECRET_KEY. Changing this value will result in all current sessions
# being invalidated. # being invalidated.
@ -303,4 +315,4 @@ if 'GITHUB_APP_ID' in os.environ:
if 'BITBUCKET_CONSUMER_KEY' in os.environ: if 'BITBUCKET_CONSUMER_KEY' in os.environ:
BITBUCKET_CONSUMER_KEY = env('BITBUCKET_CONSUMER_KEY') BITBUCKET_CONSUMER_KEY = env('BITBUCKET_CONSUMER_KEY')
BITBUCKET_CONSUMER_SECRET = env('BITBUCKET_CONSUMER_SECRET') BITBUCKET_CONSUMER_SECRET = env('BITBUCKET_CONSUMER_SECRET')