Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CastorScript
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas-tdaq-software
CastorScript
Commits
392ccf23
Commit
392ccf23
authored
3 years ago
by
Fabrice Le Goff
Browse files
Options
Downloads
Patches
Plain Diff
migration to tdaq-09-04-00
parent
f0148720
No related branches found
No related tags found
No related merge requests found
Pipeline
#3162010
passed
3 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
run_pylint.sh
+4
-6
4 additions, 6 deletions
run_pylint.sh
run_unit_tests.sh
+1
-1
1 addition, 1 deletion
run_unit_tests.sh
script_setup.sh
+1
-11
1 addition, 11 deletions
script_setup.sh
with
6 additions
and
18 deletions
run_pylint.sh
+
4
−
6
View file @
392ccf23
#!/bin/bash
#!/bin/bash
# this script is made to run in docker
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-09-03-00
source
/cvmfs/atlas.cern.ch/repo/sw/tdaq/tools/cmake_tdaq/bin/cm_setup.sh tdaq-09-03-00
fi
fi
...
@@ -10,8 +13,3 @@ fi
...
@@ -10,8 +13,3 @@ fi
# Don't ask me why but re-importing LCG view env does the job
# Don't ask me why but re-importing LCG view env does the job
source
/cvmfs/sft.cern.ch/lcg/views/
$TDAQ_LCG_RELEASE
/
$CMTCONFIG
/setup.sh
source
/cvmfs/sft.cern.ch/lcg/views/
$TDAQ_LCG_RELEASE
/
$CMTCONFIG
/setup.sh
pylint
$(
find
.
-name
'*.py'
-a
-not
-name
config.py
)
pylint
$(
find
.
-name
'*.py'
-a
-not
-name
config.py
)
# This gets the latest version of pylint from LCG *releases* for the LCG version
# associated with the sources TDAQ release
#PYLINT_LATEST_VERSION=`ls -t1 /cvmfs/sft.cern.ch/lcg/releases/$TDAQ_LCG_RELEASE/pylint/ | head -n 1`
#/cvmfs/sft.cern.ch/lcg/releases/$TDAQ_LCG_RELEASE/pylint/$PYLINT_LATEST_VERSION/$CMTCONFIG/bin/pylint $(find . -name '*.py' -a -not -name config.py)
This diff is collapsed.
Click to expand it.
run_unit_tests.sh
+
1
−
1
View file @
392ccf23
...
@@ -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
nightly
source
script
_setup.sh
fi
fi
python UnitTests/TestSuite_UnitTests.py
python UnitTests/TestSuite_UnitTests.py
...
...
This diff is collapsed.
Click to expand it.
script_setup.sh
+
1
−
11
View file @
392ccf23
#!/bin/bash
#!/bin/bash
TDAQ_RELEASE
=
tdaq-09-0
3
-00
TDAQ_RELEASE
=
tdaq-09-0
4
-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
...
@@ -16,13 +16,3 @@ echo "found xrootd version: $XROOTD_VERSION"
...
@@ -16,13 +16,3 @@ echo "found xrootd version: $XROOTD_VERSION"
# Add path for xrdcp binary matching this release
# Add path for xrdcp binary matching this release
export
PATH
=
"
$LCG_INST_PATH
/
$TDAQ_LCG_RELEASE
/xrootd/
$XROOTD_VERSION
/
$CMTCONFIG
/bin/:
$PATH
"
export
PATH
=
"
$LCG_INST_PATH
/
$TDAQ_LCG_RELEASE
/xrootd/
$XROOTD_VERSION
/
$CMTCONFIG
/bin/:
$PATH
"
# Extend python path for externals (mailinglogger)
# the most recently modified directory (-t) is selected if there are multiple ones
PYTHON_DIRS
=
`
ls
-d
-1
-t
/sw/atlas/tdaq/
$TDAQ_VERSION
/installed/external/
$CMTCONFIG
/lib/python
*
/site-packages/ 2>/dev/null
`
if
[
$?
-ne
0
]
;
then
echo
"error: cannot find external python packages in /sw/atlas/tdaq/
$TDAQ_VERSION
/installed/external/
$CMTCONFIG
/lib/python*/site-packages/"
return
1
fi
EXTERNAL_PYTHON_DIR
=
`
echo
"
$PYTHON_DIRS
"
|
head
-n
1
`
export
PYTHONPATH
=
"
$PYTHONPATH
:
$EXTERNAL_PYTHON_DIR
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment