Skip to content

adding in environmental variable to pkg_test - #222

Open
jerowe wants to merge 29 commits into
bioconda:masterfrom
jerowe:develop
Open

adding in environmental variable to pkg_test#222
jerowe wants to merge 29 commits into
bioconda:masterfrom
jerowe:develop

Conversation

@jerowe

@jerowe jerowe commented Nov 16, 2017

Copy link
Copy Markdown

@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.

@jerowe

jerowe commented Nov 16, 2017

Copy link
Copy Markdown
Author

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.

Comment thread bioconda_utils/pkg_test.py Outdated
logger.debug('Tests to run: %s', tests)

target = 'biocontainers'
if os.environ.get('QUAY_TARGET') is not None:

Copy link
Copy Markdown
Member

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?

Copy link
Copy Markdown
Author

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 . ;-)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Changed it.

@bgruening

Copy link
Copy Markdown
Member

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.

@jerowe

jerowe commented Nov 19, 2017

Copy link
Copy Markdown
Author

I can confirm that this works. ;-)

@jerowe

jerowe commented Nov 19, 2017

Copy link
Copy Markdown
Author

@bgruening , I changed this so that it gets the original command line argument.

@epruesse

epruesse commented Jan 8, 2019

Copy link
Copy Markdown
Member

@jerowe @bgruening What is the status of this? Do we still need it?

@jerowe

jerowe commented Jan 18, 2019

Copy link
Copy Markdown
Author

@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.

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.

3 participants