allow getting the GIT SSH key from an app config so we can set it in the secrets file w/ burnettk
This commit is contained in:
parent
9bf8bc505d
commit
46f3527835
|
@ -84,6 +84,8 @@ class GitService:
|
|||
repo_path_to_use = current_app.config["BPMN_SPEC_ABSOLUTE_DIR"]
|
||||
if repo_path_to_use is None:
|
||||
raise ConfigurationError("BPMN_SPEC_ABSOLUTE_DIR config must be set")
|
||||
if current_app.config['GIT_SSH_PRIVATE_KEY']:
|
||||
os.environ['GIT_SSH_PRIVATE_KEY'] = current_app.config['GIT_SSH_PRIVATE_KEY']
|
||||
|
||||
git_username = ""
|
||||
git_email = ""
|
||||
|
|
Loading…
Reference in New Issue