Skip to content
Snippets Groups Projects
Commit 7aa29407 authored by Administrator's avatar Administrator Committed by Florian Uhlig
Browse files

Add a new runner for CI pipeline

Add a new computer with a singularity runner. Currently the image is
fixed to debian10. If the runner correctly works the scheme can be
expanded to other OS. This is currently a test if the runner is
implemented correctly and properly picks up the work.
parent 7edfee56
No related branches found
No related tags found
Loading
......@@ -223,6 +223,38 @@ CbmRoot_Merge_macosx:
- cat Dart.cfg
- $PWD/Dart.sh MergeRequest Dart.cfg
CbmRoot_Merge_Singularity:
stage: build
tags:
- CbmRoot_singularity
only:
refs:
- merge_requests
variables:
- $CI_MERGE_REQUEST_PROJECT_PATH == "computing/cbmroot" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"
script:
- echo $CI_MERGE_REQUEST_SOURCE_PROJECT_PATH
- echo $CI_MERGE_REQUEST_PROJECT_PATH
- if [ "$CI_MERGE_REQUEST_PROJECT_PATH" != "computing/cbmroot" ]; then
- echo "Should not come here"
- exit 1
- fi
- echo $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
- echo $CI_MERGE_REQUEST_ID
- echo $CI_MERGE_REQUEST_IID
- echo "export LINUX_FLAVOUR=Debian10" >> Dart.cfg
- echo "export FAIRSOFT_VERSION=apr21" >> Dart.cfg
- echo "export FAIRROOT_VERSION=v18.6.3" >> Dart.cfg
- echo "export SIMPATH=/cvmfs/fairsoft.gsi.de/debian10/fairsoft/\${FAIRSOFT_VERSION}" >> Dart.cfg
- echo "export FAIRROOTPATH=/cvmfs/fairsoft.gsi.de/debian10/fairroot/\${FAIRROOT_VERSION}_fs_\${FAIRSOFT_VERSION}" >> Dart.cfg
- echo "export BUILDDIR=$PWD/build" >> Dart.cfg
- echo "export SOURCEDIR=$PWD" >> Dart.cfg
- echo "export NCPU=4" >> Dart.cfg
- ls
- pwd
- cat Dart.cfg
- $PWD/Dart.sh MergeRequest Dart.cfg
CbmRoot_Merge_realData:
stage: build
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment