From 5abe2c5c665812180a63fd25d051124e6319fab9 Mon Sep 17 00:00:00 2001 From: Mussab Abdalla <mussab.abdalla@eox.at> Date: Wed, 11 Mar 2020 15:46:12 +0100 Subject: [PATCH] testing 10 mins sleep! --- .gitlab-ci.yml | 2 +- wait_for_container.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea5bb1c7..ea523b5c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -90,7 +90,7 @@ test: # - swift post --auth-version $ST_AUTH_VERSION_DOWNLOAD --os-identity-api-version 3 --os-auth-url $OS_AUTH_URL_DOWNLOAD --os-username $OS_USERNAME_DOWNLOAD --os-password $OS_PASSWORD_DOWNLOAD --os-tenant-name $OS_TENANT_NAME_DOWNLOAD --os-tenant-id $OS_TENANT_ID_DOWNLOAD --os-region-name $OS_REGION_NAME_DOWNLOAD preprocessor_test - apk update && apk add postgresql-dev gcc python3-dev musl-dev py-pip - pip3 install -r requirements.txt - # - ./wait_for_container.sh + - ./wait_for_container.sh - docker ps # - docker ps -qf "name=emg-pvs_registrar" # - docker exec -it $(docker ps -qf "name=emg-pvs_registrar") python3 /var/www/pvs/dev/pvs_instance/manage.py id list diff --git a/wait_for_container.sh b/wait_for_container.sh index 0e830213..7d9181db 100644 --- a/wait_for_container.sh +++ b/wait_for_container.sh @@ -1,7 +1,7 @@ #!/bin/sh - -while [ -z $(docker ps -qf "name=vhr18-pvs_renderer")]; do - >&2 echo "Container is unavailable - sleeping" - sleep 15 - done \ No newline at end of file +sleep 600; +# while [ -z $(docker ps -qf "name=vhr18-pvs_renderer")]; do +# >&2 echo "Container is unavailable - sleeping" +# sleep 15 +# done \ No newline at end of file -- GitLab