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

Elimina echo de variable

parent 6c8b011b
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -177,14 +177,12 @@ 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}");
        echo "Waiting for elasticsearch server (${HEALTH_CHECK_URL} -> ${RESPONSE}), remaining attempts...";
        echo "Waiting for elasticsearch server, remaining attempts...";
        sleep 5;
      done;

    - >
      docker login ${GITLAB_REGISTRY_HOST} -u ${CI_DEPLOY_USER} -p ${CI_DEPLOY_PASSWORD};
      docker run -d --rm --name schema-es \