mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-19 04:47:52 +00:00
Give more startup-time for CI tests
This commit is contained in:
parent
0159d2a60b
commit
49b919534a
@ -53,7 +53,7 @@ until curl -sS -I --fail -o /dev/null -w "%{http_code}" "http://localhost:${HOST
|
|||||||
printf "."
|
printf "."
|
||||||
|
|
||||||
i=$(( i + 1 ))
|
i=$(( i + 1 ))
|
||||||
if [ "${i}" -eq "60" ]; then
|
if [ "${i}" -eq "120" ]; then
|
||||||
printf "[FAIL]\\n\\n"
|
printf "[FAIL]\\n\\n"
|
||||||
echo "---- curl From host ----"
|
echo "---- curl From host ----"
|
||||||
curl -sS -v "http://localhost:${HOST_PORT_HTTPD}" || true
|
curl -sS -v "http://localhost:${HOST_PORT_HTTPD}" || true
|
||||||
@ -84,7 +84,7 @@ until curl -sS --fail "http://localhost:${HOST_PORT_HTTPD}" 2>/dev/null | grep '
|
|||||||
printf "."
|
printf "."
|
||||||
|
|
||||||
i=$(( i + 1 ))
|
i=$(( i + 1 ))
|
||||||
if [ "${i}" -eq "60" ]; then
|
if [ "${i}" -eq "120" ]; then
|
||||||
printf "[FAIL]\\n"
|
printf "[FAIL]\\n"
|
||||||
curl -sS -v "http://localhost:${HOST_PORT_HTTPD}"
|
curl -sS -v "http://localhost:${HOST_PORT_HTTPD}"
|
||||||
curl -sS -I "http://localhost:${HOST_PORT_HTTPD}"
|
curl -sS -I "http://localhost:${HOST_PORT_HTTPD}"
|
||||||
@ -120,7 +120,7 @@ until cd "${DVLBOX_PATH}" && docker-compose exec -T php mongofiles --host=mongo
|
|||||||
printf "."
|
printf "."
|
||||||
|
|
||||||
i=$(( i + 1 ))
|
i=$(( i + 1 ))
|
||||||
if [ "${i}" -eq "60" ]; then
|
if [ "${i}" -eq "120" ]; then
|
||||||
printf "[FAIL]\\n"
|
printf "[FAIL]\\n"
|
||||||
run "cd ${DVLBOX_PATH} && docker-compose exec -T php mongofiles --host=mongo list" || true
|
run "cd ${DVLBOX_PATH} && docker-compose exec -T php mongofiles --host=mongo list" || true
|
||||||
run "cd ${DVLBOX_PATH} && docker-compose logs" || true
|
run "cd ${DVLBOX_PATH} && docker-compose logs" || true
|
||||||
@ -143,7 +143,7 @@ until cd "${DVLBOX_PATH}" && docker-compose exec -T php mysql --user=root --pass
|
|||||||
printf "."
|
printf "."
|
||||||
|
|
||||||
i=$(( i + 1 ))
|
i=$(( i + 1 ))
|
||||||
if [ "${i}" -eq "60" ]; then
|
if [ "${i}" -eq "120" ]; then
|
||||||
printf "[FAIL]\\n"
|
printf "[FAIL]\\n"
|
||||||
run "cd ${DVLBOX_PATH} && docker-compose exec -T php mysql --user=root --password=\"${MYSQL_ROOT_PASSWORD}\" --host=mysql -e 'show databases;'" || true
|
run "cd ${DVLBOX_PATH} && docker-compose exec -T php mysql --user=root --password=\"${MYSQL_ROOT_PASSWORD}\" --host=mysql -e 'show databases;'" || true
|
||||||
run "cd ${DVLBOX_PATH} && docker-compose logs" || true
|
run "cd ${DVLBOX_PATH} && docker-compose logs" || true
|
||||||
@ -166,7 +166,7 @@ until cd "${DVLBOX_PATH}" && docker-compose exec -T php pg_isready --host=pgsql
|
|||||||
printf "."
|
printf "."
|
||||||
|
|
||||||
i=$(( i + 1 ))
|
i=$(( i + 1 ))
|
||||||
if [ "${i}" -eq "60" ]; then
|
if [ "${i}" -eq "120" ]; then
|
||||||
printf "[FAIL]\\n"
|
printf "[FAIL]\\n"
|
||||||
run "cd ${DVLBOX_PATH} && docker-compose exec -T php pg_isready --host=pgsql" || true
|
run "cd ${DVLBOX_PATH} && docker-compose exec -T php pg_isready --host=pgsql" || true
|
||||||
run "cd ${DVLBOX_PATH} && docker-compose logs" || true
|
run "cd ${DVLBOX_PATH} && docker-compose logs" || true
|
||||||
|
Loading…
Reference in New Issue
Block a user