[release-monitoring] Move the folder before anitya build
I moved the folder after, not before. Let's fix that. Also it seems that the docs folder is still missing, let's keep the anitya folder for further debugging. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
98266d2afa
commit
1de6caa039
1 changed files with 5 additions and 4 deletions
|
@ -69,17 +69,18 @@ items:
|
||||||
cp -r _build/html/* ../anitya/static/docs/ && \
|
cp -r _build/html/* ../anitya/static/docs/ && \
|
||||||
popd && \
|
popd && \
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
poetry build && \
|
|
||||||
pip-3 install dist/*.whl && \
|
|
||||||
# Move bootstrap to correct folder
|
# Move bootstrap to correct folder
|
||||||
rm -f anitya/static/bootstrap && \
|
rm -f anitya/static/bootstrap && \
|
||||||
mv anitya/static/bootstrap-3.3.4-fedora anitya/static/bootstrap && \
|
mv anitya/static/bootstrap-3.3.4-fedora anitya/static/bootstrap && \
|
||||||
|
poetry build && \
|
||||||
|
pip-3 install dist/*.whl && \
|
||||||
{% else %}
|
{% else %}
|
||||||
python3 setup.py install && \
|
python3 setup.py install && \
|
||||||
pip-3 install . && \
|
pip-3 install . && \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
popd && \
|
popd
|
||||||
rm -rf anitya
|
# popd && \
|
||||||
|
# rm -rf anitya
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
# Let's use staging auth server in staging
|
# Let's use staging auth server in staging
|
||||||
RUN sed -i 's/id.fedoraproject.org/id.stg.fedoraproject.org/g' /usr/local/lib/python3.10/site-packages/social_core/backends/fedora.py
|
RUN sed -i 's/id.fedoraproject.org/id.stg.fedoraproject.org/g' /usr/local/lib/python3.10/site-packages/social_core/backends/fedora.py
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue