Skip to content

Commit

Permalink
check 'api' availability
Browse files Browse the repository at this point in the history
checking the availability of the 'api' service
  • Loading branch information
bodo-hugo-barwich authored Sep 20, 2021
1 parent eeba649 commit 72bbb18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/indexing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ jobs:
# Test the Elastic Search Indexation
- name: Run the Elastic Search Indexation
run: |
echo "Component 'api' Availability:"
curl -v "localhost:5000" 2>&1
elasticsearchport=`docker-compose ps 2>&1 | grep -i elasticsearch | grep -ioE ":[0-9]+\->" | grep -ioE "[0-9]+" | sed -n 1p`
export ES_PORT=$elasticsearchport
echo "ElasticSearch Port: '$ES_PORT'"
Expand Down

0 comments on commit 72bbb18

Please sign in to comment.