fix: cicd test
Deploy bin / deploy (push) Successful in 2s
Deploy service MASTER / deploy (push) Successful in 3s

This commit is contained in:
Benjamin Labrecque
2026-07-02 16:12:26 +02:00
parent cfaad329ea
commit e858bc25be
+3 -5
View File
@@ -1,19 +1,16 @@
#!/bin/bash
PATH="${HOME}/.local/bin:${PATH}"
SVC_ID=$1
SVC_NAME=$2
ENV=$3
set --
# TODO:
PSI_GFA_FACILITY=SLS
# PSI_FACILITY=SLS
SERVICES_DIR=/sls/bd/hla/services
SVC_NAME_LOWER=${SVC_NAME,,}
SVC_DIR=${SERVICES_DIR}/${AGEBD_ENV}/${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
#. /sls/bd/exchange/BeamData/user/felix/workarounds/epicsRHEL8.rc # temporary fix
@@ -26,9 +23,10 @@ export EPICS_CA_ADDR_LIST='sls-cagw.psi.ch:5062 129.129.146.88'
. /opt/gfa/python-3.10/latest/bin/activate
pip install uv
# to run `uv ...`
PATH="${HOME}/.local/bin:${PATH}"
cd ${SVC_DIR}/current/app
# create venv using site-packages -- uses system-wide installed epics
uv venv --system-site-packages .venv
# install custom python packages from pyproject.toml / uv.lock