fix: cicd test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user