use honeycomb_key from environ
This commit is contained in:
parent
4b94455678
commit
2a023d51af
2 changed files with 4 additions and 4 deletions
|
@ -2,8 +2,8 @@ steps:
|
|||
- name: 'gcr.io/cloud-builders/docker'
|
||||
args:
|
||||
- build
|
||||
- "--tag=gcr.io/pebble-rebirth/timeline-sync:$TAG_NAME"
|
||||
- "--tag=gcr.io/pebble-rebirth/weather:$TAG_NAME"
|
||||
- "--file=./Dockerfile.cloudrun"
|
||||
- .
|
||||
images:
|
||||
- "gcr.io/pebble-rebirth/timeline-sync"
|
||||
- "gcr.io/pebble-rebirth/weather"
|
||||
|
|
|
@ -12,8 +12,8 @@ from werkzeug.exceptions import HTTPException
|
|||
from werkzeug.routing import FloatConverter
|
||||
|
||||
app = Flask(__name__)
|
||||
if config['HONEYCOMB_KEY']:
|
||||
beeline.init(writekey=config['HONEYCOMB_KEY'], dataset='rws', service_name='auth')
|
||||
if 'HONEYCOMB_KEY' in os.environ:
|
||||
beeline.init(writekey=os.environ['HONEYCOMB_KEY'], dataset='rws', service_name='auth')
|
||||
HoneyMiddleware(app, db_events = True)
|
||||
|
||||
auth_internal = os.environ['REBBLE_AUTH_URL_INT']
|
||||
|
|
Reference in a new issue