Commit 1ebfcad5 authored by Enrique Garcia's avatar Enrique Garcia
Browse files

update .gitlabci to .singularityci, LICENSE, CI and singularity utils

parent d004299e
Pipeline #120673 passed with stages
in 2 minutes and 29 seconds
......@@ -46,7 +46,7 @@ build_singularity_image:
image: singularityware/singularity:gitlab-2.6
script:
# Build the container!
- /bin/bash .gitlabci/build.sh Singularity
- /bin/bash .singularityci/build.sh Singularity/Singularity
- mkdir -p build && cp *.simg build
- mkdir -p build && cp Singularity* build
......
# README _.gitlabci_ library
# README _.singularityci_ module
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3834833.svg)](https://doi.org/10.5281/zenodo.3834833)
......@@ -7,11 +7,11 @@
## Building Singularity Containers using the continuous integration in GitLab
The source code contained in this folder is based on the following
[GitLab-CI repository](https://gitlab.com/singularityhub/gitlab-ci). You can find a very didactic **tutorial** of how
[GitLab-CI project](https://gitlab.com/singularityhub/gitlab-ci). You can find a very didactic **tutorial** of how
to implement this code [here](https://vsoch.github.io/2018/gitlab-singularity-ci/).
This software (composed of the files within this directory **AND** part of the the `.gitlab-ci.yml` file in the
root directory - the `build_image` stage) provide the necessary tools to:
root directory - the `build_singularity_image` stage) provide the necessary tools to:
- Use a container image stored in the DockerHub site to create a Singularity container of your repository
(thus no need of having installed the Singularity source code), and upload it directly to your GitLab repository.
- The Singularity recipe must be provided, of course.
......
- Copyright for portions of the `template_project_escape` (scripts within the `.gitlabci` directory
- Copyright for portions of the `template_project_escape` (scripts within the `.singularityci` directory
and portions of the `.gitlab-ci.yml` file) are held by the `BSD 3-Clause License, Copyright (c) 2018,
Vanessa Sochat` as part of project `GitLab-CI` (see the readme and license files within the same directory).
- Copyright for portions of the `template_project_escape` (scripts within the `.zenodoci` directory
and portions of the `.gitlab-ci.yml` file) are held by the `MIT License, Copyright (c) 2020, ZenodoCI developers`,
as part of project `ZenodoCI` (see the readme and license files within the same directory).
All other copyright for the project `template_project_escape` are held by the following license;
......
#!/bin/bash
cp ../environment.yml environment.yml
cp ../Singularity Singularity
cp ../environment.yml .
cp ../Singularity/Singularity .
sudo singularity build escape_template.simg Singularity
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment