Skip to content

Commit

Permalink
Fix monitoring image setup (#190)
Browse files Browse the repository at this point in the history
* Update lira_utils.py

* Fix spacing

* Fix linting errors
  • Loading branch information
samanehsan authored Oct 28, 2019
1 parent 144f9cb commit 806c691
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lira/lira_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ def compose_config_options(cromwell_options_file, lira_config):
if monitoring_image:
options_json['monitoring_image'] = lira_config.monitoring_image

# Required to trigger the cloud function that records Cromwell metadata in BigQuery
options_json[
'final_workflow_log_dir'
] = f'{lira_config.google_project}-cromwell-logs'

# Defer to value already in options file if it exists
# Docs on default runtime attributes: https://cromwell.readthedocs.io/en/latest/wf_options/Overview/
runtime_parameters = options_json.get('default_runtime_attributes', {})
Expand Down

0 comments on commit 806c691

Please sign in to comment.