Skip to content
Snippets Groups Projects
Commit 69b20b72 authored by Thomas Michelat's avatar Thomas Michelat
Browse files

Merge branch 'ansible/configurable_python_exec' into 'master'

Ansible: Configurable python exec

See merge request !1062
parents 76299e31 44e730e6
No related branches found
No related tags found
1 merge request!1062Ansible: Configurable python exec
--- ---
ansible_user: "xcal" ansible_user: "xcal"
python_executable: "/gpfs/exfel/sw/calsoft/.pyenv/versions/3.11.9/bin/python3"
install_dir: "/scratch/xcal" install_dir: "/scratch/xcal"
pycal_dir: "{{ install_dir }}/pycalibration" pycal_dir: "{{ install_dir }}/pycalibration"
pycal_version: "3.14.3" pycal_version: "3.15.0"
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
shell: git clone ssh://git@git.xfel.eu:10022/calibration/pycalibration.git -b {{ pycal_version }} {{ pycal_dir }} shell: git clone ssh://git@git.xfel.eu:10022/calibration/pycalibration.git -b {{ pycal_version }} {{ pycal_dir }}
- name: create venv - name: create venv
shell: /gpfs/exfel/sw/calsoft/.pyenv/versions/3.8.18/bin/python3 -m venv --prompt pycal-{{ pycal_version }} {{ pycal_dir }}/.venv shell: "{{ python_executable }} -m venv --prompt pycal-{{ pycal_version }} {{ pycal_dir }}/.venv"
- name: Install Pycalibration - name: Install Pycalibration
shell: all_proxy="http://exflproxy01.desy.de:3128" {{ pycal_dir }}/.venv/bin/pip install -e {{ pycal_dir }} shell: all_proxy="http://exflproxy01.desy.de:3128" {{ pycal_dir }}/.venv/bin/pip install -e {{ pycal_dir }}
ansible/play 100644 → 100755
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment