chore: change deploy paths to move prod/dev at top level -- /sls/bd/hla/dev/...
Deploy bin / deploy (push) Canceled after 0s
Deploy service MASTER / deploy (push) Canceled after 0s

This commit is contained in:
Benjamin Labrecque
2026-07-03 16:26:46 +02:00
parent 4afde31c30
commit f9de788baf
5 changed files with 7 additions and 8 deletions
+2 -2
View File
@@ -7,9 +7,9 @@ set --
# TODO:
# PSI_FACILITY=SLS
SERVICES_DIR=/sls/bd/hla/services
SERVICES_DIR=/sls/bd/hla/${AGEBD_ENV}/services
SVC_NAME_LOWER=${SVC_NAME,,}
SVC_DIR=${SERVICES_DIR}/${AGEBD_ENV}/${SVC_ID}-${SVC_NAME_LOWER}
SVC_DIR=${SERVICES_DIR}/${SVC_ID}-${SVC_NAME_LOWER}
# gfa_12_epics.sh died on the 16.04.2026 due to required AFS write access
#. /etc/profile.d/gfa_12_epics.sh
+1 -1
View File
@@ -18,7 +18,7 @@ dev = [
[tool.uv.sources]
# Path is relative to where agebd package is deployed on hla
# machines (see CI/CD in .gitea/workflows)
agebd = { path = "../../../../../packages/dev/agebd", editable = true }
agebd = { path = "../../../../packages/agebd", editable = true }
[tool.ruff]
include = [
@@ -3,9 +3,8 @@ Description=AGEBD-SERVICE-MASTER
After=network.target
[Service]
# TODO: env
Environment=AGEBD_ENV=dev
ExecStart=/sls/bd/hla/bin/start_service.sh 000 MASTER
Environment=AGEBD_ENV={{ agebd_env }}
ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh 000 MASTER
Restart=no
[Install]
@@ -17,7 +17,7 @@ dev = [
[tool.uv.sources]
# Path is relative to where agebd package is deployed on hla
# machines (see CI/CD in .gitea/workflows)
agebd = { path = "../../../../../packages/{{ '{{ agebd_env }}' }}/agebd", editable = true }
agebd = { path = "../../../../packages/agebd", editable = true }
[tool.ruff]
include = [
@@ -4,7 +4,7 @@ After=network.target
[Service]
Environment=AGEBD_ENV={{ '{{ agebd_env }}' }}
ExecStart=/sls/bd/hla/bin/start_service.sh {{ service_id }} {{ service_name_upper }}
ExecStart=/sls/bd/hla/{{'{{ agebd_env }}'}}/bin/start_service.sh {{ service_id }} {{ service_name_upper }}
estart=no
[Install]