项目作者: singularityhub

项目描述 :
An example repository to use the Singularity Orb singularity/singularity on CircleCi
高级语言:
项目地址: git://github.com/singularityhub/singularity-orb-example.git
创建时间: 2019-03-01T00:22:18Z
项目社区:https://github.com/singularityhub/singularity-orb-example

开源协议:Mozilla Public License 2.0

下载


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.

  1. version: 2.1
  2. orbs:
  3. singularity: singularity/singularity@dev:alpha
  4. workflows:
  5. build_container_docker_base_example:
  6. jobs:
  7. - singularity/build_container_docker_base:
  8. from-uri: docker://busybox
  9. image: busybox.sif
  10. filters:
  11. branches:
  12. 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.