Skip to content

Commit

Permalink
Merge pull request argentlabs#1960 from argentlabs/test/check-docker-…
Browse files Browse the repository at this point in the history
…alive

add docker live validation
  • Loading branch information
canlopes committed Mar 27, 2023
2 parents 4a001bd + 6467f6e commit ab3d2a3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,22 @@ jobs:
node-version: "16"
cache: "yarn"

- name: Check docker local network
run: |
CODE=`curl --write-out '%{http_code}' \
--silent \
--output /dev/null \
--request GET \
--url 'http://localhost:5050/is_alive' \
`
if [[ "$CODE" != "200" ]]
then
echo "Local network is offline! $CODE"
exit 1
else
echo "Local network is online."
fi
- name: Install dependencies
run: yarn setup

Expand Down

0 comments on commit ab3d2a3

Please sign in to comment.