wire it all together
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-08-25 01:40:09 +02:00
parent 5d9e815407
commit 15f369446c
8 changed files with 114 additions and 12 deletions

View File

@ -1,2 +1,2 @@
#!/usr/bin/env python3
from .config import SENTRY_DSN, RELEASE_ID, RELEASEMODE
from .loopingtimer import LoopingTimer

View File

@ -12,4 +12,14 @@ __version__text__ = "1"
SENTRY_DSN = os.environ.get("SENTRY_DSN")
RELEASE_ID = os.environ.get("RELEASE_ID", "test")
RELEASEMODE = os.environ.get("INPUT_SERVICE_RELEASEMODE", "dev")
RELEASEMODE = os.environ.get("RELEASEMODE", "dev")
DEVICE_ID = os.environ.get("DEVICE_ID", "devraspi")
TICK_INTERVAL = int(os.environ.get("TICK_INTERVAL", "3"))
TARGET_NAME = os.environ.get("TARGET_CLASS_NAME")
MODEL_ID = os.environ.get("MODEL_ID")
INPUT_SVC_URL = os.environ.get("INPUT_SVC_URL", "http://localhost:8080/sample")