Loading .gitlab-ci.yml +2 −4 Original line number Diff line number Diff line Loading @@ -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 \ Loading Loading
.gitlab-ci.yml +2 −4 Original line number Diff line number Diff line Loading @@ -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 \ Loading