chore: change deploy paths to move prod/dev at top level -- /sls/bd/hla/dev/...
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
+1
-1
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user