Skip to content

Commit

Permalink
Merge pull request #2 from jsurkont/master
Browse files Browse the repository at this point in the history
Update sett to version 1.2.0
  • Loading branch information
pescobar authored Jul 28, 2020
2 parents be94b2c + ff3dae4 commit ceed08c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Role Variables

```
# which version of the SETT tool to install?
# Check available versions in https://git.dcc.sib.swiss/biwg/biomedit-transfers/-/releases
biomedit_transfers_tool_version: 1.0.0
# Check available versions in https://pypi.org/project/sett/
biomedit_transfers_tool_version: 1.2.0
# SETT tool will be installed in a virtualenv in this path
biomedit_transfers_tool_venv_path: "/opt/sett"
Expand Down
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# defaults file for ansible-role-biomedit-transfers-tool

# which version of the SETT tool to install?
# Check available versions in https://git.dcc.sib.swiss/biwg/biomedit-transfers/-/releases
biomedit_transfers_tool_version: 1.0.0
# Check available versions in https://pypi.org/project/sett/
biomedit_transfers_tool_version: 1.2.0

# SETT tool will be installed in a virtualenv in this path
biomedit_transfers_tool_venv_path: "/opt/sett"
Expand Down
11 changes: 8 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,15 @@
virtualenv: "{{ biomedit_transfers_tool_venv_path }}"
virtualenv_command: virtualenv-3

- name: Install the BiomedIT transfer tool
- name: Uninstall biomedit-transfers (migrated to sett)
pip:
name: "biomedit-transfers=={{ biomedit_transfers_tool_version }}"
extra_args: --extra-index-url https://pypi.dcc.sib.swiss/
name: biomedit-transfers
state: absent
virtualenv: "{{ biomedit_transfers_tool_venv_path }}"

- name: Install sett
pip:
name: "sett=={{ biomedit_transfers_tool_version }}"
virtualenv: "{{ biomedit_transfers_tool_venv_path }}"

- name: Add the venv binaries to PATH
Expand Down

0 comments on commit ceed08c

Please sign in to comment.