bundles/pretalx: use pip install -e
for locally existing code
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
e091adaa64
commit
c87a8e2f15
1 changed files with 5 additions and 2 deletions
|
@ -8,7 +8,10 @@ actions = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'pretalx_install': {
|
'pretalx_install': {
|
||||||
'command': 'cd /opt/pretalx/src/src && /opt/pretalx/venv/bin/pip install --upgrade pip wheel gunicorn psycopg2-binary .[redis]',
|
'command':
|
||||||
|
'cd /opt/pretalx/src/src && '
|
||||||
|
'/opt/pretalx/venv/bin/pip install --upgrade pip wheel gunicorn psycopg2-binary && '
|
||||||
|
'/opt/pretalx/venv/bin/pip install --upgrade -e .[redis]',
|
||||||
'needs': {
|
'needs': {
|
||||||
'action:pretalx_create_virtualenv',
|
'action:pretalx_create_virtualenv',
|
||||||
},
|
},
|
||||||
|
@ -176,7 +179,7 @@ for plugin_name, plugin_config in node.metadata.get('pretalx/plugins', {}).items
|
||||||
}
|
}
|
||||||
|
|
||||||
actions[f'pretalx_install_plugin_{plugin_name}'] = {
|
actions[f'pretalx_install_plugin_{plugin_name}'] = {
|
||||||
'command': f'cd /opt/pretalx/plugin_{plugin_name} && /opt/pretalx/venv/bin/pip install --upgrade .',
|
'command': f'cd /opt/pretalx/plugin_{plugin_name} && /opt/pretalx/venv/bin/pip install --upgrade -e .',
|
||||||
'needs': {
|
'needs': {
|
||||||
last_action,
|
last_action,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue