mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
Merge pull request #1840 from aidan-fitz/aidan-lokole-install-git-commit
Add logic to install a given commit from the Lokole repository
This commit is contained in:
commit
0cda31c5a5
1 changed files with 19 additions and 1 deletions
|
@ -21,7 +21,25 @@
|
|||
extra_args: --no-cache-dir # To avoid caching issues e.g. soon after new releases hit https://pypi.org/project/opwen-email-client/
|
||||
tags:
|
||||
- install
|
||||
when: internet_available | bool
|
||||
when:
|
||||
- internet_available | bool
|
||||
- lokole_commit is undefined
|
||||
|
||||
# For development purposes -- To install Lokole from a given commit, add the
|
||||
# following line to roles/lokole/defaults/main.yml:
|
||||
#
|
||||
# lokole_commit: <git_commit_id>
|
||||
- name: pip install opwen_email_client (Lokole) from git commit {{ lokole_commit }} (for development purposes)
|
||||
pip:
|
||||
name: "git+https://github.com/ascoderu/opwen-webapp.git@{{ lokole_commit }}#egg=opwen_email_client"
|
||||
virtualenv: "{{ lokole_venv }}"
|
||||
virtualenv_command: python3 -m venv "{{ lokole_venv }}"
|
||||
extra_args: --no-cache-dir # To avoid caching issues e.g. soon after new releases hit https://pypi.org/project/opwen-email-client/
|
||||
tags:
|
||||
- install
|
||||
when:
|
||||
- internet_available | bool
|
||||
- lokole_commit is defined
|
||||
|
||||
- name: Compile translations
|
||||
shell: |
|
||||
|
|
Loading…
Reference in a new issue