chore: deploy script for all services
Deploy bin / deploy (push) Successful in 2s
Deploy, build and restart MASTER / deploy (push) Successful in 3s
Deploy agebd python package / deploy (push) Successful in 2s

This commit is contained in:
Benjamin Labrecque
2026-07-07 08:53:06 +02:00
parent 47c6884c66
commit 8f467267d7
+4 -2
View File
@@ -26,7 +26,9 @@ pip install uv
# to run `uv ...`
PATH="${HOME}/.local/bin:${PATH}"
cd ${SVC_DIR}/current/app
APP_DIR=${SVC_DIR}/current/app
echo "changing dir to ${APP_DIR}"
cd ${APP_DIR}
# (re)create venv using site-packages -- uses system-wide installed epics
uv venv --system-site-packages .venv --clear
# install custom python packages from pyproject.toml / uv.lock
@@ -34,4 +36,4 @@ uv sync --frozen
# activate .venv, this works in conjunction with the conda environment
source .venv/bin/activate
python3 -u -B ${SVC_DIR}/current/app/src/AGEBD-SERVICE-${SVC_NAME}.py
python3 -u -B ${APP_DIR}/src/AGEBD-SERVICE-${SVC_NAME}.py