Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global: sets compute backend from docker build arg. #178

Merged
merged 1 commit into from
Aug 21, 2019

Conversation

roksys
Copy link
Contributor

@roksys roksys commented Aug 9, 2019

global: sets compute backend from docker build arg.

@roksys roksys force-pushed the set-build-args branch 2 times, most recently from 402f100 to c904834 Compare August 9, 2019 12:14
@@ -130,3 +133,10 @@ def cache_job(self):
def update_job_status(self):
"""Update job status in DB."""
pass

def _extend_env_vars(self, env_vars):
Copy link
Member

@diegodelemos diegodelemos Aug 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the use case for this?

What do you think about returning just the REANA specific variables (then maybe changing the name of the function to something like _get_reana_env_variables) and then when we use it we explicitly extend the user-provided env vars with the REANA ones?

Updated
I see this comes from a different PR! #176

@roksys roksys force-pushed the set-build-args branch 2 times, most recently from 3f4c984 to f1e8f6b Compare August 21, 2019 11:37
@diegodelemos diegodelemos merged commit c993df8 into reanahub:master Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker: use strings for selecting which backends to build
2 participants