Loading .gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -100,8 +100,8 @@ stages: -U ${POSTGRES_USER} \ -c 'select 1' > /dev/null 2>&1 || [ $RETRIES -eq 0 ]; do \ RETRIES=$((RETRIES-=1)) \ echo "Waiting for postgres server, ${RETRIES} remaining attempts..." \ RETRIES=$((RETRIES-=1)); \ echo "Waiting for postgres server, ${RETRIES} remaining attempts..."; \ sleep 1; done; docker exec postgres psql -h localhost \ Loading Loading @@ -180,8 +180,8 @@ stages: until [ "$$RESPONSE" = 'green' ]; do \ RESPONSE=$(curl --silent -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" "${HEALTH_CHECK_URL}") \ echo "Waiting for elasticsearch server (${HEALTH_CHECK_URL} -> ${RESPONSE}), remaining attempts..." \ RESPONSE=$((curl --silent -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" "${HEALTH_CHECK_URL}")); \ echo "Waiting for elasticsearch server (${HEALTH_CHECK_URL} -> ${RESPONSE}), remaining attempts..."; \ sleep 5; done; Loading Loading
.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -100,8 +100,8 @@ stages: -U ${POSTGRES_USER} \ -c 'select 1' > /dev/null 2>&1 || [ $RETRIES -eq 0 ]; do \ RETRIES=$((RETRIES-=1)) \ echo "Waiting for postgres server, ${RETRIES} remaining attempts..." \ RETRIES=$((RETRIES-=1)); \ echo "Waiting for postgres server, ${RETRIES} remaining attempts..."; \ sleep 1; done; docker exec postgres psql -h localhost \ Loading Loading @@ -180,8 +180,8 @@ stages: until [ "$$RESPONSE" = 'green' ]; do \ RESPONSE=$(curl --silent -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" "${HEALTH_CHECK_URL}") \ echo "Waiting for elasticsearch server (${HEALTH_CHECK_URL} -> ${RESPONSE}), remaining attempts..." \ RESPONSE=$((curl --silent -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" "${HEALTH_CHECK_URL}")); \ echo "Waiting for elasticsearch server (${HEALTH_CHECK_URL} -> ${RESPONSE}), remaining attempts..."; \ sleep 5; done; Loading