Skip to content
Snippets Groups Projects

create dedicated xrootd binaries

Merged Ulrich Schwickerath requested to merge DELPHI-536 into master
Files
11
+ 22
20
@@ -25,12 +25,12 @@ cernlib_al9_64:
@@ -25,12 +25,12 @@ cernlib_al9_64:
before_script:
before_script:
- umask 022
- umask 022
- dnf -y install openssl-devel cmake
- dnf -y install openssl-devel cmake
- dnf -y install xrootd-client-libs xrootd-client-devel
- dnf -y install file
script:
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- . /etc/kinit.sh ; klist
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make clean setup cernlib
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; make clean setup cernlib
artifacts:
artifacts:
paths:
paths:
- d
- d
@@ -44,11 +44,11 @@ dstana_al9_64:
@@ -44,11 +44,11 @@ dstana_al9_64:
- cernlib_al9_64
- cernlib_al9_64
before_script:
before_script:
- umask 022
- umask 022
- dnf -y install xrootd-client-libs xrootd-client-devel
- dnf -y install file
script:
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- . /etc/kinit.sh ; klist
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make dstana
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; make dstana
artifacts:
artifacts:
paths:
paths:
- d
- d
@@ -63,11 +63,11 @@ ddb_al9_64:
@@ -63,11 +63,11 @@ ddb_al9_64:
- cernlib_al9_64
- cernlib_al9_64
before_script:
before_script:
- umask 022
- umask 022
- dnf -y install xrootd-client-libs xrootd-client-devel
- dnf -y install file
script:
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- . /etc/kinit.sh ; klist
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make ddb
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; make ddb
artifacts:
artifacts:
paths:
paths:
- d
- d
@@ -86,11 +86,11 @@ lep1simana_al9_64:
@@ -86,11 +86,11 @@ lep1simana_al9_64:
- ddb_al9_64
- ddb_al9_64
before_script:
before_script:
- umask 022
- umask 022
- dnf -y install xrootd-client-libs xrootd-client-devel
- dnf -y install file
script:
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- . /etc/kinit.sh ; klist
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make v95d v94c v93d v92e v91f v90e
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; make v95d v94c v93d v92e v91f v90e
artifacts:
artifacts:
paths:
paths:
- d
- d
@@ -109,11 +109,11 @@ lep2simana_al9_64:
@@ -109,11 +109,11 @@ lep2simana_al9_64:
- ddb_al9_64
- ddb_al9_64
before_script:
before_script:
- umask 022
- umask 022
- dnf -y install xrootd-client-libs xrootd-client-devel
- dnf -y install file
script:
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- . /etc/kinit.sh ; klist
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make va0u va0e v99e v98e v97g v96g
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; make va0u va0e v99e v98e v97g v96g
artifacts:
artifacts:
paths:
paths:
- d
- d
@@ -130,12 +130,12 @@ delgra_al9_64:
@@ -130,12 +130,12 @@ delgra_al9_64:
- dstana_al9_64
- dstana_al9_64
before_script:
before_script:
- umask 022
- umask 022
- dnf -y install xrootd-client-libs xrootd-client-devel
- dnf -y install file
script:
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- . /etc/kinit.sh ; klist
- dnf -y install libGLEW glew-devel
- dnf -y install libGLEW glew-devel
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make openphigs delgra
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; make openphigs delgra
artifacts:
artifacts:
paths:
paths:
- d
- d
@@ -156,11 +156,11 @@ des_al9_64:
@@ -156,11 +156,11 @@ des_al9_64:
- lep2simana_al9_64
- lep2simana_al9_64
before_script:
before_script:
- umask 022
- umask 022
- dnf -y install xrootd-client-libs xrootd-client-devel
- dnf -y install file
script:
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- . /etc/kinit.sh ; klist
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make des
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; make des
artifacts:
artifacts:
paths:
paths:
- d
- d
@@ -175,14 +175,14 @@ idea_al9_64:
@@ -175,14 +175,14 @@ idea_al9_64:
before_script:
before_script:
- umask 022
- umask 022
- dnf -y install gcc-c++
- dnf -y install gcc-c++
- dnf -y install xrootd-client-libs xrootd-client-devel
- dnf -y install file
dependencies:
dependencies:
- cernlib_al9_64
- cernlib_al9_64
- dstana_al9_64
- dstana_al9_64
script:
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "${CI_PASSWD}" | kinit ${CI_USER}@CERN.CH
- echo "${CI_PASSWD}" | kinit ${CI_USER}@CERN.CH
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make idea
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; make idea
allow_failure: true
allow_failure: true
artifacts:
artifacts:
paths:
paths:
@@ -195,7 +195,7 @@ tests_al9_64:
@@ -195,7 +195,7 @@ tests_al9_64:
before_script:
before_script:
- umask 022
- umask 022
- dnf -y install gcc-c++ file libGLEW glew-devel gfortran tcsh
- dnf -y install gcc-c++ file libGLEW glew-devel gfortran tcsh
- dnf -y install xrootd-client-libs xrootd-client-devel
- dnf -y install file
needs:
needs:
- common_al9_64
- common_al9_64
- cernlib_al9_64
- cernlib_al9_64
@@ -219,7 +219,7 @@ tests_al9_64:
@@ -219,7 +219,7 @@ tests_al9_64:
script:
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "${CI_PASSWD}" | kinit ${CI_USER}@CERN.CH
- echo "${CI_PASSWD}" | kinit ${CI_USER}@CERN.CH
- path=`pwd`; export DELPHI_DATA_DIR=${path}/test-samples; export DELPHI_INSTALL_DIR=${path}/d; export CERNLIB_XROOTD=ON; make test
- path=`pwd`; export DELPHI_DATA_DIR=${path}/test-samples; export DELPHI_INSTALL_DIR=${path}/d; make test
# only needed for image creation !
# only needed for image creation !
artifacts:
artifacts:
name: delphi
name: delphi
@@ -268,8 +268,10 @@ container_al9_64:
@@ -268,8 +268,10 @@ container_al9_64:
stage: container
stage: container
when: manual
when: manual
needs:
needs:
 
- common_al9_64
- tests_al9_64
- tests_al9_64
dependencies:
dependencies:
 
- common_al9_64
- tests_al9_64
- tests_al9_64
before_script:
before_script:
- umask 022
- umask 022
@@ -277,10 +279,10 @@ container_al9_64:
@@ -277,10 +279,10 @@ container_al9_64:
- echo "export DELPHI_INSTALL_DIR=/delphi; . /delphi/setup.sh" > delphi.sh; echo "setenv DELPHI_INSTALL_DIR /delphi; source /delphi/setup.csh" > delphi.csh;
- echo "export DELPHI_INSTALL_DIR=/delphi; . /delphi/setup.sh" > delphi.sh; echo "setenv DELPHI_INSTALL_DIR /delphi; source /delphi/setup.csh" > delphi.csh;
- echo "creating container ..."; echo "FROM $IMAGEAL9" > Dockerfile; echo "RUN mkdir /delphi" >> Dockerfile
- echo "creating container ..."; echo "FROM $IMAGEAL9" > Dockerfile; echo "RUN mkdir /delphi" >> Dockerfile
- echo "RUN rpm --import http://linuxsoft.cern.ch/internal/repos/RPM-GPG-KEY-kojiv2 http://linuxsoft.cern.ch/internal/repos/RPM-GPG-KEY-kojiv2/RPM-GPG-KEY-cern;yum-config-manager -y --add-repo http://linuxsoft.cern.ch/internal/repos/eos9-stable/x86_64/os; dnf -y update; dnf -y install eos-fusex" >> Dockerfile
- echo "RUN rpm --import http://linuxsoft.cern.ch/internal/repos/RPM-GPG-KEY-kojiv2 http://linuxsoft.cern.ch/internal/repos/RPM-GPG-KEY-kojiv2/RPM-GPG-KEY-cern;yum-config-manager -y --add-repo http://linuxsoft.cern.ch/internal/repos/eos9-stable/x86_64/os; dnf -y update; dnf -y install eos-fusex" >> Dockerfile
- echo "RUN yum-config-manager -y --set-disabled http://linuxsoft.cern.ch/internal/repos/eos9-stable/x86_64/os; dnf -y update" >> Dockerfile
- echo "RUN yum-config-manager -y --set-disabled linuxsoft.cern.ch_internal_repos_eos9-stable_x86_64_os; dnf -y update" >> Dockerfile
- echo "ADD d/ /delphi" >> Dockerfile; echo "COPY delphi.sh /etc/profile.d/delphi.sh" >> Dockerfile; echo "COPY delphi.csh /etc/profile.d/delphi.csh" >> Dockerfile
- echo "ADD d/ /delphi" >> Dockerfile; echo "COPY delphi.sh /etc/profile.d/delphi.sh" >> Dockerfile; echo "COPY delphi.csh /etc/profile.d/delphi.csh" >> Dockerfile
- echo "RUN groupadd delphi" >> Dockerfile; echo 'RUN useradd -m -g delphi delphi' >> Dockerfile; echo "WORKDIR /home/delphi" >> Dockerfile
- echo "RUN groupadd delphi" >> Dockerfile; echo 'RUN useradd -m -g delphi delphi' >> Dockerfile; echo "WORKDIR /home/delphi" >> Dockerfile
- echo "RUN dnf clean all; dnf -y install sudo libGLEW glew-devel procps-ng mesa-dri-drivers tigervnc tigervnc-server xrootd-client" >> Dockerfile; echo "RUN echo '%delphi ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers" >> Dockerfile
- echo "RUN dnf clean all; dnf -y install sudo libGLEW glew-devel procps-ng mesa-dri-drivers tigervnc tigervnc-server" >> Dockerfile; echo "RUN echo '%delphi ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers" >> Dockerfile
- echo "RUN cd /home/delphi; git clone https://gitlab.cern.ch/delphi/examples.git; mkdir graexe graexe/data graexe/run graexe/hcopy; chown -R delphi.delphi examples graexe; " >> Dockerfile
- echo "RUN cd /home/delphi; git clone https://gitlab.cern.ch/delphi/examples.git; mkdir graexe graexe/data graexe/run graexe/hcopy; chown -R delphi.delphi examples graexe; " >> Dockerfile
- echo "RUN chmod 400 /etc/shadow" >> Dockerfile
- echo "RUN chmod 400 /etc/shadow" >> Dockerfile
- echo "RUN echo export PS1=\'[\\\u \\\W]\$ \' >> /home/delphi/.bashrc" >> Dockerfile
- echo "RUN echo export PS1=\'[\\\u \\\W]\$ \' >> /home/delphi/.bashrc" >> Dockerfile
Loading