Skip to content
Snippets Groups Projects
Commit 5ad2dd08 authored by Fabrice Le Goff's avatar Fabrice Le Goff
Browse files

preparing for next TDAQ release: tests with el9/tdaq-11-01-00

parent 43848ef1
No related branches found
No related tags found
No related merge requests found
Pipeline #6544654 passed
pylint: pylint:
image: gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:centos7 image: gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:x86_64-el9
tags: tags:
- cvmfs - cvmfs
script: script:
- ./run_pylint.sh || exit 1 - ./run_pylint.sh || exit 1
unit_tests: unit_tests:
image: gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:centos7 image: gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:x86_64-el9
tags: tags:
- cvmfs - cvmfs
script: script:
- ./run_unit_tests.sh gitlab || exit 1 - ./run_unit_tests.sh gitlab || exit 1
compilation: compilation:
image: gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:centos7 image: gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:x86_64-el9
tags: tags:
- cvmfs - cvmfs
script: script:
- source /cvmfs/atlas.cern.ch/repo/sw/tdaq/tools/cmake_tdaq/bin/cm_setup.sh tdaq-10-00-00 - source /cvmfs/atlas.cern.ch/repo/sw/tdaq/tools/cmake_tdaq/bin/cm_setup.sh tdaq-11-01-00
- python -m compileall . - python -m compileall .
basictest: basictest:
image: gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:centos7 image: gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:x86_64-el9
tags: tags:
- cvmfs - cvmfs
script: script:
......
...@@ -71,7 +71,7 @@ fi ...@@ -71,7 +71,7 @@ fi
echo "Starting CastorScript with config file: $CS_CONFIG_FILE" echo "Starting CastorScript with config file: $CS_CONFIG_FILE"
if ! [ -v TDAQ_LCG_RELEASE ]; then if ! [ -v TDAQ_LCG_RELEASE ]; then
source /cvmfs/atlas.cern.ch/repo/sw/tdaq/tools/cmake_tdaq/bin/cm_setup.sh tdaq-10-00-00 source /cvmfs/atlas.cern.ch/repo/sw/tdaq/tools/cmake_tdaq/bin/cm_setup.sh tdaq-11-01-00
fi fi
python -u $SOURCE_DIR/Script/CastorScript.py $CS_CONFIG_FILE &>$TMP_DIR/logs/stdouterr & python -u $SOURCE_DIR/Script/CastorScript.py $CS_CONFIG_FILE &>$TMP_DIR/logs/stdouterr &
......
...@@ -44,7 +44,7 @@ rm run_docker_container.sh run_pylint.sh run_unit_tests.sh || err "cannot delete ...@@ -44,7 +44,7 @@ rm run_docker_container.sh run_pylint.sh run_unit_tests.sh || err "cannot delete
# compile with python interpreter from TDAQ # compile with python interpreter from TDAQ
# execute in subshell to avoid importing TDAQ stuffs in here # execute in subshell to avoid importing TDAQ stuffs in here
( (
source /sw/tdaq/setup/setup_tdaq-09-04-00.sh source /sw/tdaq/setup/setup_tdaq-11-01-00.sh
python -m compileall . || err "compiling" python -m compileall . || err "compiling"
) )
......
...@@ -16,6 +16,6 @@ ...@@ -16,6 +16,6 @@
# 7 and run the centos7 image, # 7 and run the centos7 image,
# 8 when started, run the run_unit_tests script in bash # 8 when started, run the run_unit_tests script in bash
# 1 2 3 4 5 6 7 8 # 1 2 3 4 5 6 7 8
# docker run -it --privileged -v `pwd`:`pwd` -w `pwd` -v /cvmfs:/cvmfs:shared,ro --rm=true gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:centos7 bash ./run_unit_tests.sh # docker run -it --privileged -v `pwd`:`pwd` -w `pwd` -v /cvmfs:/cvmfs:shared,ro --rm=true gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:x86_64-el9 bash ./run_unit_tests.sh
# or without running the script: # or without running the script:
docker run -it --privileged -v `pwd`:`pwd` -w `pwd` -v /cvmfs:/cvmfs:shared,ro --rm=true gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:centos7 bash docker run -it --privileged -v `pwd`:`pwd` -w `pwd` -v /cvmfs:/cvmfs:shared,ro --rm=true gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:x86_64-el9 bash
#!/bin/bash #!/bin/bash
cd `dirname $0` cd `dirname $0`
# NOT MIGRATED TO tdaq-09-04-00: pylint from LCG 101 does not work:
# https://cern.service-now.com/service-portal?id=ticket&table=incident&n=INC2920656
if ! [ -v TDAQ_LCG_RELEASE ]; then if ! [ -v TDAQ_LCG_RELEASE ]; then
source /cvmfs/atlas.cern.ch/repo/sw/tdaq/tools/cmake_tdaq/bin/cm_setup.sh tdaq-10-00-00 source /cvmfs/atlas.cern.ch/repo/sw/tdaq/tools/cmake_tdaq/bin/cm_setup.sh tdaq-11-01-00
fi fi
/cvmfs/sft.cern.ch/lcg/views/$TDAQ_LCG_RELEASE/$CMTCONFIG/bin/pylint $(find . -name '*.py' -a -not -name config.py) /cvmfs/sft.cern.ch/lcg/views/$TDAQ_LCG_RELEASE/$CMTCONFIG/bin/pylint $(find . -name '*.py' -a -not -name config.py)
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
cd `dirname $0` cd `dirname $0`
if ! [ -v TDAQ_LCG_RELEASE ]; then if ! [ -v TDAQ_LCG_RELEASE ]; then
source /cvmfs/atlas.cern.ch/repo/sw/tdaq/tools/cmake_tdaq/bin/cm_setup.sh tdaq-10-00-00 source /cvmfs/atlas.cern.ch/repo/sw/tdaq/tools/cmake_tdaq/bin/cm_setup.sh tdaq-11-01-00
fi fi
PATTERN='*_[Tt]est.py' PATTERN='*_[Tt]est.py'
......
#!/bin/bash #!/bin/bash
TDAQ_RELEASE=tdaq-10-00-00 TDAQ_RELEASE=tdaq-11-01-00
echo "setting up environment for centos, tdaq release: $TDAQ_RELEASE" echo "setting up environment for centos, tdaq release: $TDAQ_RELEASE"
source /sw/tdaq/setup/setup_$TDAQ_RELEASE.sh source /sw/tdaq/setup/setup_$TDAQ_RELEASE.sh
......
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