Skip to content
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

Singularity/Apptainer support #230

Merged
merged 9 commits into from
Jun 1, 2024
Merged

Singularity/Apptainer support #230

merged 9 commits into from
Jun 1, 2024

Conversation

pdiakumis
Copy link
Collaborator

@pdiakumis pdiakumis commented Jun 1, 2024

Adding initial support for Singularity/Apptainer. I have no idea if the final product of this works yet, will test next week.

  • .github/workflows/build_conda_recipes.yaml:

    • I am first freeing up disk space since the Docker container + SIF image fill that up.
    • Under the docker/build-push-action Action I use the load: true parameter to keep the Docker image on the machine, else it gets deleted.
    • Under the Apptainer Build section, I first save the Docker image as a tar file, then I build a SIF file using apptainer build.
    • I am then uploading the SIF file to the repo's GitHub Container Registry.
  • .github/workflows/apptainer.yaml:

    • Keeping the apptainer chunk in this file for easier debugging.
  • Also see Is it possible to view singularity images as oras://ghcr.io/ in github packages singularityhub/github-ci#16 (comment) for the bug in the GHCR interface.

  • And related to Sif image  #218.

@pdiakumis pdiakumis requested a review from sigven June 1, 2024 06:50
@pdiakumis pdiakumis self-assigned this Jun 1, 2024
Copy link
Owner

@sigven sigven left a comment

Choose a reason for hiding this comment

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

Solid work!

@pdiakumis pdiakumis merged commit 2e341eb into bundle_update_2023 Jun 1, 2024
1 check passed
@pdiakumis pdiakumis deleted the apptainer branch June 1, 2024 07:56
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