# HG changeset patch # User gga # Date 1752584989 0 # Node ID eae124b1e1f1e0879d7b1e691fcfd0948617bb42 # Parent 23effb1dfe1abfea91d75915c817b5b541af8091 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/genenotebook commit 27cd61679954c8a70075dbc190e3f246b0b6c7f4 diff -r 23effb1dfe1a -r eae124b1e1f1 launch_gnb.sh --- a/launch_gnb.sh Mon Jun 23 10:56:52 2025 +0000 +++ b/launch_gnb.sh Tue Jul 15 13:09:49 2025 +0000 @@ -12,12 +12,12 @@ tries=0 -# "Listening on" is for mongodb 5x +# "Listening on" is for mongodb 150x while ! grep -q "Listening on" ./mongod.log; do tries=$((tries + 1)) - if [ "$tries" -ge 50 ]; then + if [ "$tries" -ge 150 ]; then echo "Failed to launch MongoDB:" 1>&2; cat ./mongod.log 1>&2; exit 1; @@ -49,7 +49,7 @@ tries_gnb=$((tries_gnb + 1)) # GNB can take a while to start depending on storage (accessing many many small js files) - if [ "$tries_gnb" -ge 150 ]; then + if [ "$tries_gnb" -ge 250 ]; then echo "Failed to launch GeneNoteBook:" 1>&2; cat ./gnb.log 1>&2; kill $GNB_PID $(<"./mongo.pid"); @@ -66,7 +66,7 @@ while ! curl -s "http://127.0.0.1:${GNB_PORT}/healthcheck"; do tries_curl=$((tries_curl + 1)) - if [ "$tries_curl" -ge 100 ]; then + if [ "$tries_curl" -ge 200 ]; then echo "Healthcheck is not working, stopping:" 1>&2; cat ./gnb.log 1>&2; kill $GNB_PID $(<"./mongo.pid"); @@ -78,4 +78,6 @@ grep -q "Healthcheck OK" ./gnb.log -echo "GNB is ready" +sleep 30 + +echo "GNB is ready" \ No newline at end of file diff -r 23effb1dfe1a -r eae124b1e1f1 macros.xml --- a/macros.xml Mon Jun 23 10:56:52 2025 +0000 +++ b/macros.xml Tue Jul 15 13:09:49 2025 +0000 @@ -7,7 +7,7 @@ - 0.4.17 + 0.4.18 @TOOL_VERSION@+galaxy0