Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jass
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Statistical-Genetics
jass
Commits
468aac12
Commit
468aac12
authored
1 year ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
stop when worktable takes too much time
parent
c5cd7c64
No related branches found
No related tags found
4 merge requests
!98
Draft: Newmaster
,
!96
Draft: Newmain
,
!95
Draft: Predict gain patched bb
,
!94
Draft: Rework tests
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test_docker_compose.sh
+6
-0
6 additions, 0 deletions
test_docker_compose.sh
with
6 additions
and
0 deletions
test_docker_compose.sh
+
6
−
0
View file @
468aac12
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment