Skip to content

Commit

Permalink
create db file
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumevernieres committed May 23, 2024
1 parent b9e5d88 commit dece0c1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/gw-ci/run_exp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ WORKFLOW_XML=${pslot}/EXPDIR/${pslot}/${pslot}.xml
WORKFLOW_DB=${pslot}/EXPDIR/${pslot}/${pslot}.db

# Boot the task
echo "booting $TASK_NAME for cycle $CYCLE"
if [[ ! -e "$WORKFLOW_DB" ]]; then
rocotorun -w "$WORKFLOW_XML" -d "$WORKFLOW_DB" -t "$TASK_NAME" -c "$CYCLE"
fi
rocotoboot -w "$WORKFLOW_XML" -d "$WORKFLOW_DB" -t "$TASK_NAME" -c "$CYCLE"

while true; do
Expand All @@ -25,6 +29,9 @@ while true; do
elif [[ "$STATUS" == "FAILED" ]]; then
echo "The task failed."
exit 1
elif [[ "$STATUS" == "DEAD" ]]; then
echo "The task is dead."
exit 1
else
echo "The task is in state: $STATUS"
fi
Expand Down

0 comments on commit dece0c1

Please sign in to comment.