Commit 778ac1c0 authored by r.grosso's avatar r.grosso
Browse files

Add .gitlab-ci.yml

parent b824a5d1
Pipeline #1910 failed with stage
in 10 seconds
before_script:
- echo "Before script section"
after_script:
- echo "After script section"
build1:
stage: build
script:
- echo "Building the image"
- srun -o /lustre/rz/aliprod/cicdtest/build1.out -e /lustre/rz/aliprod/cicdtest/build1.err ./singularity_alice.sh -f -t AliPhysics/vAN-20210531_ROOT6-1
......@@ -76,7 +76,7 @@ ld_path=${ld_path#*=}
# 2. loop to add LD_LIBRARY_PATH entries to the 'tar' command
delimiter=/Packages/
tarcmd="tar -cvzf cvmfs.tar.gz "
tarcmd="tar -czf cvmfs.tar.gz "
IFS=':'; for libdir in $ld_path; do
# The following assumes libdirs of type /cvmfs/.../Packages/SoftwareName/version/lib
if [[ "$libdir" == *"singularity"* ]] || ! [[ "$libdir" == *"Packages"* ]]; then
......@@ -120,7 +120,7 @@ IncludeCmd: no
#yum -y install cvmfs cvmfs-config-default
yum clean all
yum update -y
tar -xphzvf cvmfs.tar.gz -C /
tar -xphzf cvmfs.tar.gz -C /
rm /cvmfs.tar.gz
%labels
......
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