Skip to content

Commit

Permalink
Set no_match_user from configuration
Browse files Browse the repository at this point in the history
By default docker is run with --user.
If set no_match_user = True, all docker
containers will be run as root
  • Loading branch information
michael-kotliar committed Aug 19, 2019
1 parent 2697d9f commit d06f890
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cwl_airflow/cwldag.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,13 @@ def __init__(
'email_on_failure': False,
'email_on_retry': False,
'end_date': None,

'tmp_folder': conf_get_default('cwl', 'tmp_folder', '/tmp'),
'basedir': conf_get_default('cwl', 'tmp_folder', '/tmp'),
'no_match_user': conf_get_default('cwl', 'no_match_user', False),
'quiet': False,
'strict': False,
'on_error': 'continue',
'skip_schemas': True,

'cwl_workflow': cwl_workflow
}

Expand Down

0 comments on commit d06f890

Please sign in to comment.