[release-monitoring] Return the upgrade playbook to previous state
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
410a85f3e1
commit
f27244393a
2 changed files with 1 additions and 3 deletions
|
@ -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: {}
|
||||
|
|
|
@ -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 && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue