Skip to content

Commit a7185a1

Browse files
run calib w/o proxies in main workflow
1 parent 3911ef5 commit a7185a1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

prodtests/full-system-test/aggregator-workflow.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ source $O2DPG_ROOT/DATA/common/getCommonArgs.sh
1212
# Set up calibrations
1313
source $O2DPG_ROOT/DATA/common/setenv_calib.sh
1414

15+
# check that WORKFLOW_DETECTORS is needed, otherwise the wrong calib wf will be built
16+
if [[ -z $WORKFLOW_DETECTORS ]]; then echo "WORKFLOW_DETECTORS must be defined" 1>&2; exit 1; fi
17+
1518
# CCDB destination for uploads
1619
[[ -z ${CCDBPATH+x} ]] && CCDBPATH="http://o2-ccdb.internal"
1720

@@ -73,8 +76,8 @@ if [[ $CALIB_PHS_RUNBYRUNCALIB == 1 ]]; then
7376
fi
7477

7578
# starting with empty workflow
76-
WORKFLOW=
7779
if workflow_has_parameters CALIB_PROXIES; then
80+
WORKFLOW=
7881
if [[ ! -z $CALIBDATASPEC_BARREL ]]; then
7982
WORKFLOW+="o2-dpl-raw-proxy ${ARGS_ALL} --dataspec \"$CALIBDATASPEC_BARREL\" $(get_proxy_connection barrel input) | "
8083
fi

prodtests/full-system-test/dpl-workflow.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ fi
387387
# ---------------------------------------------------------------------------------------------------------------------
388388
# Calibration workflows
389389
workflow_has_parameter CALIB && { source ${CALIB_WF:-$MYDIR/calib-workflow.sh}; [[ $? != 0 ]] && exit 1; }
390+
workflow_has_parameter CALIB && ! workflow_has_parameters CALIB_PROXIES && { source ${CALIB_AGGREGATOR_WF:-$MYDIR/aggregator-workflow.sh}; [[ $? != 0 ]] && exit 1; }
390391

391392
# ---------------------------------------------------------------------------------------------------------------------
392393
# Event display

0 commit comments

Comments
 (0)