Fix eco bot service

This commit is contained in:
Rene Arumetsa
2026-07-27 15:52:51 +03:00
parent 4dd7379e03
commit 8d16da268d

View File

@@ -15,9 +15,9 @@ jobs:
git clone --quiet "$REPO" /tmp/tipibot-ci
cd /tmp/tipibot-ci
git checkout --quiet ${{ github.sha }}
python3 -m venv .venv
.venv/bin/pip install -q -r requirements-dev.txt
.venv/bin/python -m pytest tests/ -q
python3 -m venv /opt/tipibot-ci-venv
/opt/tipibot-ci-venv/bin/pip install -q -r requirements-dev.txt
/opt/tipibot-ci-venv/bin/python -m pytest tests/ -q
deploy:
runs-on: linux
@@ -32,4 +32,4 @@ jobs:
sudo systemctl restart tipibot_dev # dev bot first, as canary
sleep 5
systemctl is-active --quiet tipibot_dev # dev crashed on startup -> abort
sudo systemctl restart tipibot # eco bot only if dev survived
sudo systemctl restart tipibot_eco # eco bot only if dev survived