[release-monitoring] Sync buildconfig between staging and prod

With release of Anitya 1.7.0 the special cases for production are no longer
needed. Let's remove them.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2023-01-26 13:26:37 +01:00
parent 8c92cbe779
commit 54465d7a43

View file

@ -21,9 +21,7 @@ items:
httpd \
graphviz \
fedora-messaging \
{% if env == 'staging' %}
npm \
{% endif %}
poetry \
python3-alembic \
python3-beautifulsoup4 \
@ -70,16 +68,10 @@ items:
popd && \
# Uninstall the existing anitya installation first
pip-3 uninstall -y anitya && \
{% if env == 'staging' %}
# Install javascript dependencies
pushd anitya/static && \
npm install && \
popd && \
{% else %}
# Move bootstrap to correct folder
rm -f anitya/static/bootstrap && \
mv anitya/static/bootstrap-3.3.4-fedora anitya/static/bootstrap && \
{% endif %}
poetry build && \
pip-3 install dist/*.whl && \
popd && \