[release-monitoring] Return the upgrade playbook to previous state

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2019-09-02 17:01:17 +02:00 committed by Pierre-Yves Chibon
parent 410a85f3e1
commit f27244393a
2 changed files with 1 additions and 3 deletions

View file

@ -19,8 +19,7 @@ items:
failurePolicy: Abort
execNewPod:
containerName: release-monitoring-web
#command: [ /bin/sh, -i, -c, "alembic-3 -c /etc/anitya/alembic.ini upgrade head" ]
command: [ /bin/sh, -i, -c, "alembic-3 -c /etc/anitya/alembic.ini downgrade e34988f3e2f4" ]
command: [ /bin/sh, -i, -c, "alembic-3 -c /etc/anitya/alembic.ini upgrade head" ]
volumes:
- config-volume
resources: {}

View file

@ -52,7 +52,6 @@ items:
{% else %}
git checkout production && \
{% endif %}
sed -i -e 's/op.drop_column/#op.drop_column/' anitya/db/migrations/versions/708f6f26b4b6_add_version_pattern.py && \
python3 setup.py install && \
pushd docs && \
mkdir -p images && \