-
Notifications
You must be signed in to change notification settings - Fork 192
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
Default Docker registry in template is quay.io #2233
Default Docker registry in template is quay.io #2233
Conversation
- Adds parameter `--registry` which specifies which base registry to use - Defaults to quay.io/biocontainers to match existing modules - When it is changed, any containers specified by name (e.g. multiqc:latest) will be pulled from the registry defined in `--registry`. - This is aimed at using `--registry public.ecr.aws/biocontainers`
Codecov Report
@@ Coverage Diff @@
## dev #2233 +/- ##
=======================================
Coverage 73.06% 73.06%
=======================================
Files 77 77
Lines 8404 8404
=======================================
Hits 6140 6140
Misses 2264 2264 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
This doesn't seem to work on cloud. Closing until we know more. |
Turns out it should be fine on cloud, however when using Tower you must set the parameter directly in the config, e.g.:
|
Changes: - Sets docker.registry directly in the Docker scope - Removes param.container_registry which might have caused problems in various environments.
@mirpedrol what do you think of this? It's kinda dumb and I'm not 100% but it's the best idea I've had so far. |
Looks good, not sure if there are some weird cases where it will fail, but I think it will work for now |
I chatted with @drpatelh about this, we think if you're advanced enough to use a custom registry you should set it via config. |
I'll rebase that branch now, but yes I think this one is good to go. We need to have a notice alerting pipeline developers to the change. Before we merge, is there anywhere good I can add this or shall we stick with documentation and Slack? |
Slack will be the best place to inform about the change 🙂 |
I've applied the template change to RNASeq to give it a thorough test, will merge if it works (looking good so far). |
Sets the default container registry to
quay.io
. This can be modified directly using the config. For example,docker.registry = mysecret.registry.io
and a process with container specified asmultiqc:dev
will result inmysecret.registry.io/multiqc:dev
, however specifying the full URL such asquay.io/biocontainers/multiqc:latest
will result in that container being used instead.This shouldn't affect existing modules except in the case here someone is pulling an image from
docker.io
and has specified it using the container name only (e.g.ubuntu:20.04
). This is likely to be pipeline specific and should be resolved pipeline side anyway.Fixes #1948
PR checklist
CHANGELOG.md
is updateddocs
is updated