Skip to content
Snippets Groups Projects
Commit 7de952d8 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Get calibrations through script instead of CI only

parent 3f123ccf
No related branches found
No related tags found
1 merge request!157Get calibrations through script instead of CI only
...@@ -58,7 +58,7 @@ common:detector: ...@@ -58,7 +58,7 @@ common:detector:
- ln -s "${LOCAL_DATA_PATH}/sim_output" sim_output - ln -s "${LOCAL_DATA_PATH}/sim_output" sim_output
- ln -s "${LOCAL_DATA_PATH}/datasets/data" data - ln -s "${LOCAL_DATA_PATH}/datasets/data" data
- ls -lrtha - ls -lrtha
- curl -sL https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/-/jobs/artifacts/master/raw/results/emcal_barrel_calibration.json?job=collect_results:barrel_ecal --output config/emcal_barrel_calibration.json - bash bin/get_calibrations
interruptible: true interruptible: true
include: include:
......
#!/bin/bash
branch=${1:-master}
detector_benchmarks=https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/-/jobs/artifacts/${branch}/raw/
mkdir -p config
for i in results/emcal_barrel_calibration.json ; do
curl --fail -sL ${detector_benchmarks}/${i}?job=deploy_results --output config/$(basename ${i})
done
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