Creating Controller service which will control WROLPi services, admin, SMART, disks, and status. nginx will fallback to Controller UI when React UI is unavailable (such as during upgrades).

This commit is contained in:
Roland 2025-12-11 18:32:55 -07:00 • committed by lrnselfreliance
parent 344fe9035f
commit b9158b60fe
66 changed files with 9920 additions and 327 deletions

32
.github/workflows/controller-tests.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: Controller Tests
on:
push:
branches: [master, feature/*]
pull_request:
branches: [master]
jobs:
controller-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: controller
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: controller/requirements.txt
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run pytest
run: python -m pytest test/ -v --tb=short --confcutdir=$(pwd)