EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESA
PRISM
VS
Commits
03c52a57
Commit
03c52a57
authored
4 years ago
by
Lubomir Dolezal
Browse files
Options
Downloads
Patches
Plain Diff
updating wait function of test
parent
ca3ce5f3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wait_for_container.sh
+4
-6
4 additions, 6 deletions
wait_for_container.sh
with
4 additions
and
6 deletions
wait_for_container.sh
+
4
−
6
View file @
03c52a57
#!/bin/sh
# waiting for the database to finish migration!
sleep
60
while
[
-z
$(
docker ps
-qf
"name=emg-pvs_renderer"
)
]
;
do
>
&2
echo
"Container is unavailable - sleeping"
sleep
15
while
[
-z
$(
docker
exec
-i
$(
docker ps
-qf
"name=emg-pvs_registrar"
)
python3 /var/www/pvs/dev/pvs_instance/manage.py
id
list
)
]
;
do
>
&2
echo
"Collection is not created yet - sleeping"
sleep
20
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