bundles/powerdnsadmin: fix database upgrade
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
1d06d86205
commit
be15458e1e
1 changed files with 1 additions and 9 deletions
|
@ -45,17 +45,9 @@ actions = {
|
||||||
'pkg_apt:',
|
'pkg_apt:',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'powerdnsadmin_install_deps': {
|
|
||||||
'triggered': True,
|
|
||||||
'command': '/opt/powerdnsadmin/venv/bin/pip install -r /opt/powerdnsadmin/src/requirements.txt',
|
|
||||||
'needs': {
|
|
||||||
'action:powerdnsadmin_create_virtualenv',
|
|
||||||
'pkg_apt:',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'powerdnsadmin_upgrade_database': {
|
'powerdnsadmin_upgrade_database': {
|
||||||
'triggered': True,
|
'triggered': True,
|
||||||
'command': 'FLASK_CONF=/opt/powerdnsadmin/config.py FLASK_APP=/opt/powerdnsadmin/src/powerdnsadmin/__init__.py /opt/powerdnsadmin/venv/bin/flask db upgrade',
|
'command': 'cd /opt/powerdnsadmin/src && FLASK_CONF=/opt/powerdnsadmin/config.py FLASK_APP=/opt/powerdnsadmin/src/powerdnsadmin/__init__.py /opt/powerdnsadmin/venv/bin/flask db upgrade',
|
||||||
# TODO unless
|
# TODO unless
|
||||||
'needs': {
|
'needs': {
|
||||||
'action:powerdnsadmin_install_deps',
|
'action:powerdnsadmin_install_deps',
|
||||||
|
|
Loading…
Reference in a new issue