Skip to content

An example repository to use the Singularity Orb singularity/singularity on CircleCi

License

Notifications You must be signed in to change notification settings

singularityhub/singularity-orb-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Singularity Orb Example

This is a basic example of the Circle CI Orb to help you interact with Singularity containers. The orb is published at singularity/singularity.

Usage

Configure

Fork or otherwise clone / copy the repository here, or as an alternative just copy the .circleci/config.yml file to your repository.

Customize

Customize the file with your build recipe, and name. There is a very basic example in the file itself. If you want a custom example then open an issue and I'll write it for you!

What can I customize?

You can generally customize:

  • the Singularity version
  • the container name
  • the from uri (e.g., docker:// versus a Singularity recipe)

Examples

The basic example here is found in the .circleci/config.yml file. This is the fastest way to build a container, and will default to Singularity 3.1.0.

version: 2.1

orbs:
  singularity: singularity/singularity@dev:alpha

workflows:
  build_container_docker_base_example:
    jobs:
      - singularity/build_container_docker_base:
          from-uri: docker://busybox 
          image: busybox.sif 
          filters:
            branches:
              only: master

How do I...

I will write more documentation and examples at the request of users, so please ask if you would like an example for your purposes. For full examples, see the singularityhub/singularity-orb repository.

About

An example repository to use the Singularity Orb singularity/singularity on CircleCi

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published