Commit 6b5567bf authored by Noel Alonso's avatar Noel Alonso
Browse files

Evita reemplazo de variable en CI

parent e97dbc9a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -178,9 +178,9 @@ stages:
      HEALTH_CHECK_URL="${ELASTIC_HOSTS}:${ELASTIC_PORT}/_cat/health?h=status";
      RESPONSE="";

      until [ "$RESPONSE" = 'green' ];
      until [ "$$RESPONSE" = 'green' ];
      do \
        RESPONSE=$(curl --silent -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" "${HEALTH_CHECK_URL}") \
        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;