Skip to content
Snippets Groups Projects
Commit d0665470 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

Merge branch 'pretix-tmpexec' into 'master'

Remount /tmp exec for pretix pip installation

See merge request !17
parents 033d86e7 09591109
Branches
No related tags found
1 merge request!17Remount /tmp exec for pretix pip installation
Pipeline #2965 passed
...@@ -202,6 +202,10 @@ ...@@ -202,6 +202,10 @@
- "{{ app.app }}" - "{{ app.app }}"
- "{{ app.instance }}" - "{{ app.instance }}"
- name: remount /tmp exec # noqa 303 503
command: mount -o rw,remount,exec /tmp
when: app_exectmp|default(false)
- name: ensure we have a virtualenv # noqa 403 - name: ensure we have a virtualenv # noqa 403
pip: pip:
requirements: "{{ app_path }}/{{ app_requirements_file }}" requirements: "{{ app_path }}/{{ app_requirements_file }}"
...@@ -238,6 +242,10 @@ ...@@ -238,6 +242,10 @@
- "{{ app.app }}" - "{{ app.app }}"
- "{{ app.instance }}" - "{{ app.instance }}"
- name: remount /tmp exec # noqa 303 503
command: mount -o rw,remount,noexec /tmp
when: app_exectmp|default(false)
- name: Create bundler directories with user permissions - name: Create bundler directories with user permissions
file: file:
path: "{{ item }}" path: "{{ item }}"
......
...@@ -42,6 +42,7 @@ app_git_version: 'stable' # release/2.4.x ...@@ -42,6 +42,7 @@ app_git_version: 'stable' # release/2.4.x
app_git_pip: true app_git_pip: true
app_git_pip_query: '#egg=pretix&subdirectory=src' app_git_pip_query: '#egg=pretix&subdirectory=src'
app_requirements_file: '' app_requirements_file: ''
app_exectmp: true
app_config_file: 'pretix.cfg' app_config_file: 'pretix.cfg'
app_secret_config: false app_secret_config: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment