From 2a32abd6e9ed45e240d6513798cd6d1a6fbedad3 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Tue, 30 Jun 2026 16:37:48 +0200 Subject: [PATCH] docs: runner docs and isort first part --- docs/cicd_runner.md | 7 +++++++ services/000-master/app/AGEBD-SERVICE-MASTER.py | 2 +- services/000-master/pyproject.toml | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/cicd_runner.md b/docs/cicd_runner.md index 6f4e5b9..6afea33 100644 --- a/docs/cicd_runner.md +++ b/docs/cicd_runner.md @@ -21,3 +21,10 @@ curl -LO https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.xz tar -xf node-v20.11.1-linux-x64.tar.xz --strip-components=2 -C ~/.local/bin/ node-v20.11.1-linux-x64/bin/ rm node-v20.11.1-linux-x64.tar.xz ``` + +## Launch the runner + +```shell +sudo su svcusr-sls2hla +/usr/local/bin/act_runner daemon +``` diff --git a/services/000-master/app/AGEBD-SERVICE-MASTER.py b/services/000-master/app/AGEBD-SERVICE-MASTER.py index 9a7f956..9d59334 100644 --- a/services/000-master/app/AGEBD-SERVICE-MASTER.py +++ b/services/000-master/app/AGEBD-SERVICE-MASTER.py @@ -22,6 +22,7 @@ from time import sleep import typer import yaml + from agebd.enums import LogLevel from agebd.pv import PVLink as PV from agebd.runner import CallbackRunner @@ -57,7 +58,6 @@ class PVs(BasePVs): super().__init__(service_name, pv_factory) PV = pv_factory - # TODO: until end of init HLAnames = read_hla_names() self.HLAs = [] diff --git a/services/000-master/pyproject.toml b/services/000-master/pyproject.toml index 81c073f..1212ce8 100644 --- a/services/000-master/pyproject.toml +++ b/services/000-master/pyproject.toml @@ -28,3 +28,5 @@ line-length = 100 # use isort to sort imports extend-select = ["I"] +[tool.ruff.lint.isort] +known-first-party = ["agebd"]