Fix the environment variable and the alembic call
This commit is contained in:
parent
86fcce15e9
commit
b32236aa1e
1 changed files with 3 additions and 1 deletions
|
@ -41,9 +41,11 @@
|
|||
|
||||
- name: Create new tables in the database
|
||||
command: /usr/bin/python2 /usr/share/pagure/pagure_createdb.py
|
||||
environment:
|
||||
PAGURE_CONFIG: /etc/pagure/pagure.cfg
|
||||
|
||||
- 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:
|
||||
chdir: /etc/pagure/
|
||||
environment:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue