mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-20 02:18:59 +00:00
Wait for Home Assistant Core to start
This commit is contained in:
9
.github/workflows/builder.yml
vendored
9
.github/workflows/builder.yml
vendored
@@ -320,6 +320,15 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Wait for Home Assistant Core to start
|
||||||
|
run: |
|
||||||
|
echo "Waiting for Home Assistant Core to start"
|
||||||
|
timeout 10m ha supervisor logs -f -n 10000 -b 0 | grep -q "Detect a running Home Assistant instance"
|
||||||
|
if [ "$?" != "0" ]; then
|
||||||
|
echo "Home Assistant Core did not start within 10 minutes"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Create full backup
|
- name: Create full backup
|
||||||
id: backup
|
id: backup
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user