diff --git a/deployment/autodeploy_versions b/deployment/autodeploy_versions deleted file mode 100644 index 44c018c..0000000 --- a/deployment/autodeploy_versions +++ /dev/null @@ -1,11 +0,0 @@ -# This file is used to select the BEC and Ophyd Devices version for the auto deployment process. -# Do not edit this file unless you know what you are doing! - -# The version can be a git tag, branch or commit hash. - -# BEC version to use -BEC_AUTODEPLOY_VERSION="master" - -# ophyd_devices version to use -OPHYD_DEVICES_AUTODEPLOY_VERSION="master" - diff --git a/deployment/bec-server-config.yaml b/deployment/bec-server-config.yaml deleted file mode 100644 index 7c0c7e7..0000000 --- a/deployment/bec-server-config.yaml +++ /dev/null @@ -1,18 +0,0 @@ -redis: - host: localhost - port: 6379 -mongodb: - host: localhost - port: 27017 -scibec: - host: http://[::1] - port: 3030 - beamline: "PXIII" -service_config: - general: - reset_queue_on_cancel: True - enforce_ACLs: False - file_writer: - plugin: default_NeXus_format - base_path: ./ - diff --git a/deployment/deploy.sh b/deployment/deploy.sh deleted file mode 100755 index 1f98e32..0000000 --- a/deployment/deploy.sh +++ /dev/null @@ -1,29 +0,0 @@ -# deployment script to be translated to Ansible - -# can be removed once we have the autodeployment in place -BEAMLINE_REPO=gitlab.psi.ch:bec/pxiii-bec.git -git clone git@$BEAMLINE_REPO - -module add psi-python311/2024.02 - -# start redis -docker run --network=host --name redis-bec -d redis -# alternative: -# conda install -y redis; redis-server & - - -# get the target versions for ophyd_devices and BEC -source ./pxiii-bec/deployment/autodeploy_versions - -git clone -b $OPHYD_DEVICES_AUTODEPLOY_VERSION https://gitlab.psi.ch/bec/ophyd_devices.git -git clone -b $BEC_AUTODEPLOY_VERSION https://gitlab.psi.ch/bec/bec.git - -# install BEC -cd bec -source ./bin/install_bec_dev.sh -cd ../ - -pip install -e ./pxiii-bec - -# start the BEC server -bec-server start --config ./pxiii-bec/deployment/bec-server-config.yaml