Commit c4f28b17 authored by Noel Alonso's avatar Noel Alonso
Browse files

Corrige sintaxis

parent e1626159
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -175,14 +175,14 @@ 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
        RESPONSE=$(curl --silent -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" "${HEALTH_CHECK_URL}")
        echo "Waiting for elasticsearch server, remaining attempts..."
        sleep 5
      until [ "$RESPONSE" = 'green' ];
      do \
        RESPONSE=$(curl --silent -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" "${HEALTH_CHECK_URL}") \
        echo "Waiting for elasticsearch server, remaining attempts..." \
        sleep 5;
      done;

      docker login ${GITLAB_REGISTRY_HOST} -u ${CI_DEPLOY_USER} -p ${CI_DEPLOY_PASSWORD};