-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #337 from EscolaLMS/feature/wait_script
cleanup & wait script
- Loading branch information
Showing
18 changed files
with
156 additions
and
1,133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,4 +71,6 @@ tests/coverage.txt | |
caddy/ | ||
!docker/conf/caddy | ||
|
||
docker-compose.saas.yml | ||
docker-compose.saas.yml | ||
|
||
inited |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file removed
BIN
-3.52 MB
...ie-elementy-twoich-ulubionych-aplikacji-i-gier-probuja-wzbudzic-w-1291425493663515597.h5p
Binary file not shown.
Binary file removed
BIN
-2.2 MB
...rzystasz-z-kilku-aplikacji-jednoczesnie-dopamina-i-skrajne-emocje-1291425501575271257.h5p
Binary file not shown.
Binary file removed
BIN
-718 KB
database/seeds/cyfrowy_dobrostan/h5p/dopamina-i-skrajne-emocje-1291425504141445257.h5p
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-534 KB
database/seeds/cyfrowy_dobrostan/h5p/rekomendacje-1291425514414841837.h5p
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
# After 60 seconds the loop will exit | ||
timeout=120 | ||
|
||
while [ ! -f inited ]; | ||
do | ||
# When the timeout is equal to zero, show an error and leave the loop. | ||
if [ "$timeout" == 0 ]; then | ||
echo "ERROR: Timeout while waiting for the file 'inited'" | ||
exit 1 | ||
fi | ||
|
||
sleep 1 | ||
|
||
# Decrease the timeout of one | ||
((timeout--)) | ||
done |