copr-fe: log alembic upgrade log

The migration time we expect in the following upgrade is somewhere
around 5 minutes.  So it's good to see progress somewhere.
This commit is contained in:
Pavel Raiskup 2020-06-10 07:29:26 +02:00
parent 82ea722e95
commit 5628b8d2a5

View file

@ -36,8 +36,8 @@
- copr-selinux
- python3-copr-common
- name: upgrade db to head
command: alembic-3 upgrade head
- name: upgrade db to head, logs in /var/log/copr-frontend/migrations.log
shell: alembic-3 upgrade head &> /var/log/copr-frontend/migrations.log
become: yes
become_user: copr-fe
args: