Loading .gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -173,12 +173,12 @@ stages: -e ES_XPACK_SECURITY_ENABLED \ ${ELASTICSEARCH_IMAGE_NAME}:${ELASTICSEARCH_IMAGE_TAG}; - > HEALTH_CHECK_URL="${ELASTIC_HOSTS}:${ELASTIC_PORT}/_cat/health?h=status"; HEALTH_CHECK_URL=${ELASTIC_HOSTS}:${ELASTIC_PORT}/_cat/health?h=status; RESPONSE=""; until [ "$RESPONSE" = "green" ]; do echo "HEALTH_CHECK"; RESPONSE="$(curl -u \"${ELASTIC_USER}:${ELASTIC_USER_PASS}\" \"${HEALTH_CHECK_URL}\")"; RESPONSE="$(curl -sS -u \"${ELASTIC_USER}:${ELASTIC_USER_PASS}\" \"${HEALTH_CHECK_URL}\")"; echo "Waiting for elasticsearch server, remaining attempts..."; sleep 5; done; Loading Loading
.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -173,12 +173,12 @@ stages: -e ES_XPACK_SECURITY_ENABLED \ ${ELASTICSEARCH_IMAGE_NAME}:${ELASTICSEARCH_IMAGE_TAG}; - > HEALTH_CHECK_URL="${ELASTIC_HOSTS}:${ELASTIC_PORT}/_cat/health?h=status"; HEALTH_CHECK_URL=${ELASTIC_HOSTS}:${ELASTIC_PORT}/_cat/health?h=status; RESPONSE=""; until [ "$RESPONSE" = "green" ]; do echo "HEALTH_CHECK"; RESPONSE="$(curl -u \"${ELASTIC_USER}:${ELASTIC_USER_PASS}\" \"${HEALTH_CHECK_URL}\")"; RESPONSE="$(curl -sS -u \"${ELASTIC_USER}:${ELASTIC_USER_PASS}\" \"${HEALTH_CHECK_URL}\")"; echo "Waiting for elasticsearch server, remaining attempts..."; sleep 5; done; Loading