From 44b1432e9cec19c548d91b6fdca264ea646c1b1e Mon Sep 17 00:00:00 2001 From: ric-evans Date: Mon, 28 Oct 2024 12:22:15 -0500 Subject: [PATCH] use `{{DATA_HUB}}` --- resources/launch_scripts/ewms-v1/ewms-scan.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/launch_scripts/ewms-v1/ewms-scan.sh b/resources/launch_scripts/ewms-v1/ewms-scan.sh index 2b33c56ee..99659ffb5 100755 --- a/resources/launch_scripts/ewms-v1/ewms-scan.sh +++ b/resources/launch_scripts/ewms-v1/ewms-scan.sh @@ -98,9 +98,9 @@ export POST_REQ=$( "input_queue_aliases": ["to-client-queue"], "output_queue_aliases": ["from-client-queue"], "task_image": "/cvmfs/icecube.opensciencegrid.org/containers/realtime/skymap_scanner:$SKYSCAN_TAG", - "task_args": "python -m skymap_scanner.client.reco_icetray --infile {{INFILE}} --outfile {{OUTFILE}} --client-startup-json \$EWMS_TASK_DATA_HUB_DIR/startup.json", + "task_args": "python -m skymap_scanner.client.reco_icetray --infile {{INFILE}} --outfile {{OUTFILE}} --client-startup-json {{DATA_HUB}}/startup.json", "init_image": "/cvmfs/icecube.opensciencegrid.org/containers/realtime/skymap_scanner:$SKYSCAN_TAG", - "init_args": "bash -c \"\"while ! curl --fail-with-body --max-time 10 -o \$EWMS_TASK_DATA_HUB_DIR/startup.json $S3_OBJECT_URL; do echo retrying...; sleep 15; done\"\" ", + "init_args": "bash -c \"\"while ! curl --fail-with-body --max-time 10 -o {{DATA_HUB}}/startup.json $S3_OBJECT_URL; do echo retrying...; sleep 15; done\"\" ", "n_workers": $N_WORKERS, "pilot_config": { "tag": "${PILOT_TAG:-'latest'}",