Skip to content

Commit

Permalink
update container test
Browse files Browse the repository at this point in the history
  • Loading branch information
buanet committed Nov 26, 2024
1 parent 25b893f commit 5d40cae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testing-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
echo "[LOG] Done."
echo ' '
echo "[LOG] Waiting for Startup Script..."
sleep 30
sleep 60
echo "[LOG] Done."
echo ' '
echo "[LOG] Writing Logs..."
docker logs iobroker >& testrun.log
echo "[LOG] Done."
echo ' '
echo "[LOG] Checking Web UI..."
curl --insecure http://iobroker:8081 2> /dev/null | grep '<title>Admin</title>' &> /dev/null || exit 1
docker exec iobroker curl -s http://localhost:8081 | grep -q '<title>Admin</title>' || { echo "[LOG] Fehler: Web UI nicht erreichbar."; exit 1; }
echo "[LOG] Done."
echo ' '
echo "[LOG] Output testrun.log:"
Expand Down

0 comments on commit 5d40cae

Please sign in to comment.