feat: uploading linux-aarch64 biocontainers #1066
Open
+5
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What do I want to do?
The bioconda/biocomda-recipes repository currently supports the build and distribution of
.conda-formatted packages for multiple architectures, including linux-x64 and linux-aarch64.Nevertheless, it only releases biocontainers for the linux-x64 architecture. With the growing number of developers adopting ARM environments for their work, biocontainers of inux-aarch64 should also be made available on Quay to serve users' needs.
How
bioconda/biocomda-recipesbuild linux-aarch64 biocontainers?In
build-and-teststage of bioconda/biocomda-recipes CI, we can see that it does buildlinux-aarch64biocontainers:where

--mulled-testis set to buildlinux-aarch64biocontainers, and this can be found fromcircleciartifacts:(see https://app.circleci.com/pipelines/github/bioconda/bioconda-recipes/165751/workflows/85460b3f-0f6b-4ba9-b8bb-9c449b19ec07/jobs/301957?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-checks-link&utm_content=summary&invite=true#step-109-1902_77):
How
bioconda/biocomda-recipesrelease biocontainers currently?As we can see the bioconda/biocomda-recipes repository only releases linux-x64 biocontainers:
where
--quay-upload-target biocontainersis used for pushing linux-64 biocontainers to quay.io.Since there is no
--quay-upload-targetused,linux-aarch64biocontainers will not be pushed.What is changed?
Only one point needs modify in
bioconda-utils:where
if artifact_source == "circleci": pattern = f"{tmpdir}/*/*/images/*.tar.gz"is added.This is due to differences in the biocontainer image's storage paths for linux-aarch64, for example
If biocontainer artitfact is: https://output.circle-artifacts.com/output/job/7643a234-bf61-412e-ac87-69875fe1f8f1/artifacts/0/tmp/artifacts/images/swarm:3.1.5--h163da20_3.tar.gz.
After using the following code to store above biocontainer:
This final local stored path of biocontainer is:
{tmpdir}/tmp/artifacts/images/swarm:3.1.5--h163da20_3.tar.gz. Compared to the current pattern, there is an additional level oftmp/directory.Local Tests
The result looks good, and the biocontainer has been successfully pushed to my quay account
