mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
add default app_path, add app_path to CI
This commit is contained in:
5
.github/workflows/backend.yml
vendored
5
.github/workflows/backend.yml
vendored
@@ -15,6 +15,8 @@ jobs:
|
||||
python-version: [3.8, 3.9]
|
||||
os: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
HYPERGLASS_APP_PATH: $HOME/hyperglass
|
||||
|
||||
steps:
|
||||
- name: Git Checkout
|
||||
@@ -40,6 +42,9 @@ jobs:
|
||||
with:
|
||||
redis-version: ${{ matrix.redis-version }}
|
||||
|
||||
- name: Prepare
|
||||
run: mkdir ${{ env.HYPERGLASS_APP_PATH }}
|
||||
|
||||
- name: Install (Poetry)
|
||||
run: poetry install
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ class HyperglassSettings(BaseSettings):
|
||||
|
||||
debug: bool = False
|
||||
dev_mode: bool = False
|
||||
app_path: DirectoryPath
|
||||
app_path: DirectoryPath = "/etc/hyperglass"
|
||||
redis_host: str = "localhost"
|
||||
redis_password: t.Optional[SecretStr]
|
||||
redis_db: int = 1
|
||||
|
||||
Reference in New Issue
Block a user