File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ if [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
8080
8181 JSON_FILES=
8282 OUTPUT_SUFFIX=
83+ QC_CONFIG=
8384 for i in ` echo $LIST_OF_DETECTORS | sed " s/,/ /g" ` ; do
8485 DET_JSON_FILE=" QC_JSON_$i "
8586 if has_detector_qc $i && [ ! -z " ${! DET_JSON_FILE} " ]; then
@@ -116,6 +117,7 @@ if [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
116117 if [[ " 0$QC_REDIRECT_MERGER_TO_LOCALHOST " == " 01" ]]; then
117118 sed -i.bak -E ' s/( *)"remoteMachine" *: *".*"(,?) *$/\1"remoteMachine": "127.0.0.1"\2/' $MERGED_JSON_FILENAME
118119 unlink $MERGED_JSON_FILENAME .bak
120+ QC_CONFIG+=" --override-values \" qc.config.database.host=ccdb-test.cern.ch:8080\" "
119121 fi
120122 QC_JSON_FROM_OUTSIDE=" $MERGED_JSON_FILENAME "
121123 fi
@@ -124,7 +126,7 @@ if [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
124126fi
125127
126128if [[ ! -z " $QC_JSON_FROM_OUTSIDE " ]]; then
127- add_W o2-qc " --config json://$QC_JSON_FROM_OUTSIDE ${QC_CONFIG_PARAM:- --local --host ${QC_HOST:- localhost} } " " " 0
129+ add_W o2-qc " --config json://$QC_JSON_FROM_OUTSIDE ${QC_CONFIG_PARAM:- --local --host ${QC_HOST:- localhost} } ${QC_CONFIG} " " " 0
128130fi
129131
130132true # everything OK up to this point, so the script should return 0 (it is !=0 if the last check failed)
You can’t perform that action at this time.
0 commit comments