Fix the environment variable and the alembic call

This commit is contained in:
Pierre-Yves Chibon 2016-12-05 11:29:01 +01:00
parent 86fcce15e9
commit b32236aa1e

View file

@ -41,9 +41,11 @@
- name: Create new tables in the database - name: Create new tables in the database
command: /usr/bin/python2 /usr/share/pagure/pagure_createdb.py command: /usr/bin/python2 /usr/share/pagure/pagure_createdb.py
environment:
PAGURE_CONFIG: /etc/pagure/pagure.cfg
- name: Upgrade the database - name: Upgrade the database
command: /usr/bin/alembic -c /usr/share/bodhi/alembic.ini upgrade head command: /usr/bin/alembic -c /etc/pagure/alembic.ini /upgrade head
args: args:
chdir: /etc/pagure/ chdir: /etc/pagure/
environment: environment: