Commit 53ce0980 authored by Noel Alonso's avatar Noel Alonso
Browse files

Simplifica sintaxis

parent 6fddcf18
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -174,8 +174,8 @@ stages:
        ${ELASTICSEARCH_IMAGE_NAME}:${ELASTICSEARCH_IMAGE_TAG};
    - >
      HEALTH_CHECK_URL="${ELASTIC_HOSTS}:${ELASTIC_PORT}/_cat/health?h=status";
      RESPONSE="red";
      until [ $RESPONSE = 'green' ];
      RESPONSE="";
      until [ "$RESPONSE" = "green" ]
      do
        RESPONSE=$(curl --silent -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" "${HEALTH_CHECK_URL}");
        echo "Waiting for elasticsearch server, remaining attempts...";