Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OrcaSong
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Machine Learning
OrcaSong
Merge requests
!16
Singularity artifacts
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Singularity artifacts
singularity_artifacts
into
master
Overview
0
Commits
8
Pipelines
1
Changes
1
Merged
Stefan Reck
requested to merge
singularity_artifacts
into
master
4 years ago
Overview
0
Commits
8
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ba61d2b1
8 commits,
4 years ago
1 file
+
6
−
25
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
6
−
25
Options
@@ -14,8 +14,7 @@ stages:
-
doc
-
docker
-
release
-
build-singularity
-
upload-singularity
-
singularity
cache
:
@@ -113,34 +112,16 @@ release-image:
-
tags
build-
singularity
:
singularity
:
image
:
docker.km3net.de/base/singularity:3.1
stage
:
build-
singularity
stage
:
singularity
script
:
-
singularity --version
-
singularity build $SINGULARITY_IMAGE Singularity
artifacts
:
paths
:
-
$SINGULARITY_IMAGE
expire_in
:
10 days
-
apt-get update -qy
-
apt-get install -qy lftp
-
lftp -u $KM3NET_SFTP_USER,$KM3NET_SFTP_PASSWORD sftp://$KM3NET_SFTP_HOST -e "set sftp:auto-confirm yes; set ssl:verify-certificate no; cd singularity/; put $SINGULARITY_IMAGE; bye"
tags
:
-
docker
only
:
-
tags
upload-singularity
:
image
:
ubuntu:latest
stage
:
upload-singularity
before_script
:
-
apt-get update -qy
-
apt-get install -y lftp
script
:
-
mkdir -p ~/.ssh/
-
touch ~/.ssh/known_hosts
-
ssh-keyscan -H $KM3NET_SFTP_HOST >> ~/.ssh/known_hosts
-
lftp -u $KM3NET_SFTP_USER,$KM3NET_SFTP_PASSWORD sftp://$KM3NET_SFTP_HOST -e "set ssl:verify-certificate no; cd singularity/; put $SINGULARITY_IMAGE; bye"
dependencies
:
-
build-singularity
only
:
-
tags
Loading