Commit 628f8ab5 authored by Hervé  MENAGER's avatar Hervé MENAGER

add script to upload material after galaxy launch during build

parent a02d51eb
set -m
. /app/galaxy/.venv/bin/activate
cwltool --pack /app/workflow-is-cwl/workflows/cmsearch-multimodel-wf.cwl > /app/workflow-is-cwl/workflows/cmsearch-multimodel-wf.packed.cwl
cat /app/workflow-is-cwl/workflows/cmsearch-multimodel-wf.packed.cwl
sh /app/start.sh &
GALAXY_PID=$!
echo "Galaxy PID is $GALAXY_PID"
wait-for-it/wait-for-it.sh -t 240 localhost:8080 -- sleep 10
echo "Upload Material to Galaxy"
python /app/upload_material.py
echo "Kill Galaxy process"
kill $GALAXY_PID
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment