From a91d08567a8e64da67c61de465f3b0308a7f19ea Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 10 Oct 2023 07:37:45 +0000 Subject: [PATCH] dev: work on action --- warden/setup-environment/action.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/warden/setup-environment/action.yml b/warden/setup-environment/action.yml index 4c85dc7..5d9d64c 100644 --- a/warden/setup-environment/action.yml +++ b/warden/setup-environment/action.yml @@ -237,9 +237,12 @@ runs: sleep 10 echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" - curl http://mageos-elasticsearch-1:9200/_cat/health?h=st || true + export DEN="$(dirname $(pwd))/warden/bin/warden" + ${DEN} env exec -T php-fpm bash -c "curl http://elasticsearch:9200/_cat/health?h=st" + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" - curl --write-out %{http_code} --silent --output /dev/null http://mageos-elasticsearch-1:9200/_cat/health?h=st + + # curl --write-out %{http_code} --silent --output /dev/null http://mageos-elasticsearch-1:9200/_cat/health?h=st echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" # export DEN="$(dirname $(pwd))/warden/bin/warden" # case "${SEARCH}" in