Skip to content
Snippets Groups Projects
Commit c160f46c authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Merge branch 'rework-tests' into newmain

parents 18f81184 acf1a031
Branches
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ numpy ...@@ -7,7 +7,7 @@ numpy
pandas pandas
tables tables
scipy scipy
matplotlib matplotlib>=3.7.4
seaborn seaborn
celery celery
importlib-metadata==4.13.0 importlib-metadata==4.13.0
......
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$(docker-compose ps | grep jass | grep -v Exit | wc -l)" == "0" ]; then if [ "$(docker compose ps | grep jass | grep -v Exit | wc -l)" == "0" ]; then
docker-compose -f docker-compose.yaml -f docker-compose.test.yaml up -d --build || exit 99 docker compose -f docker-compose.yaml -f docker-compose.test.yaml up -d --build || exit 99
echo "Waiting some time for interface to be up" echo "Waiting some time for interface to be up"
sleep 5 sleep 5
else else
...@@ -110,7 +110,13 @@ curl --location http://0.0.0.0:8080/api/projects/$PROJECT_ID/genome_full \ ...@@ -110,7 +110,13 @@ curl --location http://0.0.0.0:8080/api/projects/$PROJECT_ID/genome_full \
if [ ! -s log/07-*.csv ]; then exit 07; fi if [ ! -s log/07-*.csv ]; then exit 07; fi
echo "Waiting for worktable" echo "Waiting for worktable"
I=0
while [[ "$(jq .status.worktable projects/project_$PROJECT_ID/meta.json)" != "\"READY\"" ]]; do while [[ "$(jq .status.worktable projects/project_$PROJECT_ID/meta.json)" != "\"READY\"" ]]; do
I=$(expr $I + 1)
if [ $I -gt 120 ]; then
echo "Waited too long, exiting"
exit 77
fi
echo "... waiting for worktable" echo "... waiting for worktable"
sleep 1 sleep 1
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment