-
Notifications
You must be signed in to change notification settings - Fork 191
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
Download: Add docker prefix for absolute container URIs as well. #2576
Download: Add docker prefix for absolute container URIs as well. #2576
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev #2576 +/- ##
==========================================
+ Coverage 75.05% 75.07% +0.01%
==========================================
Files 85 85
Lines 9374 9367 -7
==========================================
- Hits 7036 7032 -4
+ Misses 2338 2335 -3 ☔ View full report in Codecov by Sentry. |
Can you give an example of what you mean here? |
What I meant was, that the vast majority of containers that For the few cases with absolute URIs, I didn't want to decide for the pipeline developer whether they want to directly pull a Singularity image with the Ultimately, I will probably have to write a test that runs |
f031814
to
7ca9b8b
Compare
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.
LGTM
7ca9b8b
to
0241790
Compare
This PR adds the
docker://
prefix to absolute URIs as well.While this will result in an error for prebuild Singularity images (and was thus once omitted deliberately), practical experience has demonstrated that the conversion of a Docker OCI is more common in nf-core pipelines.
It is a trade-off between Docker and Singularity support, however essentially all container-specifications I could find in custom, local modules refer to Docker images. Therefore, this change should increase the number of "just works" downloads.
It is also accompanied by two more tests that pull a tiny 3.5MB Docker OCI and convert it with
singularity build
.PR checklist
CHANGELOG.md
is updateddocs
is updated