Mercurial > repos > gga > genenotebook_genenotebook_build
changeset 13:eae124b1e1f1 draft default tip
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/genenotebook commit 27cd61679954c8a70075dbc190e3f246b0b6c7f4
author | gga |
---|---|
date | Tue, 15 Jul 2025 13:09:49 +0000 |
parents | 23effb1dfe1a |
children | |
files | launch_gnb.sh macros.xml |
diffstat | 2 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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 @@ </requirements> </xml> - <token name="@TOOL_VERSION@">0.4.17</token> + <token name="@TOOL_VERSION@">0.4.18</token> <token name="@WRAPPER_VERSION@">@TOOL_VERSION@+galaxy0</token> <xml name="citation">