bundles/pretalx: use pip install -e for locally existing code
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-07-02 18:35:51 +02:00
parent e091adaa64
commit c87a8e2f15
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -8,7 +8,10 @@ actions = {
},
},
'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': {
'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}'] = {
'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': {
last_action,
},