mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-10 00:39:22 -06:00
Wait for Home Assistant Core to start
This commit is contained in:
parent
e4959b4f10
commit
5d9d33c9fa
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: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user