mirror of
https://github.com/paulscherrerinstitute/sf_daq_broker.git
synced 2026-05-11 09:15:35 +02:00
Merge branch 'master' of https://github.com/paulscherrerinstitute/sf_daq_broker
This commit is contained in:
@@ -16,4 +16,4 @@
|
||||
tasks:
|
||||
- name: remove daq software
|
||||
shell: |
|
||||
rm -rf /home/dbe/git /home/dbe/miniconda3 /home/dbe/service_scripts /home/dbe/bin
|
||||
rm -rf /home/dbe/git /home/dbe/miniconda3 /home/dbe/service_scripts /home/dbe/bin /home/dbe/.condarc
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
tasks:
|
||||
- name: remove all scripts software
|
||||
shell: |
|
||||
rm -rf /home/dbe/git /home/dbe/miniconda3 /home/dbe/service_scripts /home/dbe/bin
|
||||
rm -rf /home/dbe/git /home/dbe/miniconda3 /home/dbe/service_scripts /home/dbe/bin /home/dbe/.condarc
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
tasks:
|
||||
- name: remove daq software
|
||||
shell: |
|
||||
rm -rf /home/dbe/git /home/dbe/miniconda3 /home/dbe/service_scripts /home/dbe/bin
|
||||
rm -rf /home/dbe/git /home/dbe/miniconda3 /home/dbe/service_scripts /home/dbe/bin /home/dbe/.condarc
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
become: true
|
||||
become_user: dbe
|
||||
vars:
|
||||
streamvis_version: 1.11.1
|
||||
streamvis_version: 1.12.0
|
||||
tasks:
|
||||
- name: Create service directory
|
||||
file:
|
||||
|
||||
@@ -21,12 +21,15 @@ envtest=$(conda env list | grep ${CONDA_ENV_NAME})
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo "Creating the ${CONDA_ENV_NAME} environment"
|
||||
conda create -y -n ${CONDA_ENV_NAME} -c paulscherrerinstitute -c conda-forge data_api jungfrau_utils bitshuffle=0.3.5
|
||||
conda install -n base conda-libmamba-solver -y
|
||||
conda config --set channel_priority disabled
|
||||
conda config --set solver libmamba
|
||||
conda create -y -n ${CONDA_ENV_NAME} -c paulscherrerinstitute -c conda-forge data_api jungfrau_utils
|
||||
|
||||
conda deactivate
|
||||
conda activate ${CONDA_ENV_NAME}
|
||||
|
||||
conda install -y -c conda-forge bottle pika ujson unidecode
|
||||
conda install -y -c conda-forge bottle pika ujson
|
||||
conda install -y -c slsdetectorgroup -c conda-forge slsdet=6.1.1
|
||||
conda install -y -c paulscherrerinstitute -c conda-forge pyepics
|
||||
else
|
||||
|
||||
@@ -20,8 +20,10 @@ envtest=$(conda env list | grep vis)
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo "Creating the vis environment"
|
||||
conda install -n base conda-libmamba-solver -y
|
||||
conda config --append channels conda-forge
|
||||
conda config --append channels paulscherrerinstitute
|
||||
conda config --set channel_priority strict
|
||||
conda config --set channel_priority disabled
|
||||
conda config --set solver libmamba
|
||||
conda create -n vis -y streamvis={{ streamvis_version }}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user