-
Notifications
You must be signed in to change notification settings - Fork 134
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
adding in environmental variable to pkg_test #222
base: master
Are you sure you want to change the base?
Conversation
I think it would be best to get it from the command line argument, but I need to sit down and figure out how to do that. |
bioconda_utils/pkg_test.py
Outdated
@@ -126,11 +126,15 @@ def test_package( | |||
tests = get_tests(path) | |||
logger.debug('Tests to run: %s', tests) | |||
|
|||
target = 'biocontainers' | |||
if os.environ.get('QUAY_TARGET') is not None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we call it CONTAINER_NAMESPACE or something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can name it whatever you like . ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed it.
A proper fix with command line args would be better I agree. But I'm also not opposed to merge this one for the time being. |
I can confirm that this works. ;-) |
@bgruening , I changed this so that it gets the original command line argument. |
@jerowe @bgruening What is the status of this? Do we still need it? |
@epruesse , yes, I would still like it. It was the last missing piece of the "let me coopt the bioconda built system to deploy my in house software stacks" puzzle. |
@bgruening
Here is a really simple and possibly stupid way to fix the hardcoded biocontainers problem.
Let me know if you think there is a better way to do this.