Commit 03456c3a authored by Agata Malgorzata Chadaj's avatar Agata Malgorzata Chadaj
Browse files

Update setup scripts

parent 80b789a9
Pipeline #3163700 canceled with stage
......@@ -14,4 +14,12 @@ export NXCALS_JARS=$(ls $LCG_VIEW/nxcals/nxcals_java/* | xargs | sed -e 's/ /:/g
### install dependencies
export PYTHONPATH=/tmp/:$PYTHONPATH
pip install -t /tmp/ papermill
pip install -t /tmp/ ./papermill_nxcals/
\ No newline at end of file
pip install -t /tmp/ ./papermill_nxcals/
yum -y install libjpeg-turbo
git clone --single-branch --branch "${API_BRANCH:-dev}" https://:@gitlab.cern.ch:8443/LHCData/lhc-sm-api.git
git clone --single-branch --branch "${NB_BRANCH:-dev}" https://:@gitlab.cern.ch:8443/LHCData/lhc-sm-notebook.git
pip install -t /tmp/ -r ./lhc-sm-api/swan-nxcals-spark3-requirements.txt
rsync -av ./lhc-sm-api/lhcsmapi/ /tmp/lhcsmapi
rsync -av ./lhc-sm-notebook/lhcsmnb/ /tmp/lhcsmnb
\ No newline at end of file
......@@ -2,17 +2,11 @@
### kinit to obtain kerberos credentials
echo "$EOS_ACCOUNT_PASSWORD" | kinit -c $KRB5CCNAME "$EOS_ACCOUNT_USERNAME@CERN.CH"
yum -y install libjpeg-turbo
source ./CI/env_setup.sh
### install dependencies
pip list
git clone --single-branch --branch "${API_BRANCH:-dev}" https://:@gitlab.cern.ch:8443/LHCData/lhc-sm-api.git
git clone --single-branch --branch "${NB_BRANCH:-dev}" https://:@gitlab.cern.ch:8443/LHCData/lhc-sm-notebook.git
pip install -t /tmp/ -r ./lhc-sm-api/swan-nxcals-spark3-requirements.txt
rsync -av ./lhc-sm-api/lhcsmapi/ /tmp/lhcsmapi
rsync -av ./lhc-sm-notebook/lhcsmnb/ /tmp/lhcsmnb
### copy HWC_Summary.csv
mkdir -p /eos/project/l/lhcsm/hwc/
......
#!/bin/bash
source ./CI/env_setup.sh
### install dependencies
export API_BRANCH="$7"
export NB_BRANCH="$8"
git clone --single-branch --branch "$7" https://:@gitlab.cern.ch:8443/LHCData/lhc-sm-api.git
git clone --single-branch --branch "$8" https://:@gitlab.cern.ch:8443/LHCData/lhc-sm-notebook.git
pip install -t /tmp/ ./lhc-sm-api/
pip install -t /tmp/ ./lhc-sm-notebook/
source ./CI/env_setup.sh
### copy HWC_Summary.csv
......
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