anitya/release-monitoring: Fix crashing build
I did some changes in buildconfig previously, but it turned out that this was causing the build to fail. So I removing the changes in buildconfig. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
3cf0ffb51c
commit
774df9e834
1 changed files with 18 additions and 18 deletions
|
@ -42,27 +42,27 @@ items:
|
||||||
dnf autoremove -y && \
|
dnf autoremove -y && \
|
||||||
dnf clean all -y
|
dnf clean all -y
|
||||||
RUN pip-3 install sqlalchemy_schemadisplay
|
RUN pip-3 install sqlalchemy_schemadisplay
|
||||||
RUN git clone https://github.com/release-monitoring/anitya.git
|
RUN git clone https://github.com/release-monitoring/anitya.git && \
|
||||||
RUN pushd anitya
|
pushd anitya && \
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
RUN git checkout staging
|
git checkout staging && \
|
||||||
{% else %}
|
{% else %}
|
||||||
RUN git checkout production
|
git checkout production && \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
RUN python3 setup.py install
|
python3 setup.py install && \
|
||||||
RUN pushd docs
|
pushd docs && \
|
||||||
RUN mkdir -p images
|
mkdir -p images && \
|
||||||
RUN python3 generate_db_schema
|
python3 generate_db_schema && \
|
||||||
RUN sphinx-build-3 -b html . _build/html
|
sphinx-build-3 -b html . _build/html && \
|
||||||
RUN mkdir -p ../anitya/static/docs/
|
mkdir -p ../anitya/static/docs/ && \
|
||||||
RUN cp -r _build/html/* ../anitya/static/docs/
|
cp -r _build/html/* ../anitya/static/docs/ && \
|
||||||
RUN popd
|
popd && \
|
||||||
RUN python3 setup.py install
|
python3 setup.py install && \
|
||||||
RUN rm -f /usr/local/bin/anitya_cron.py
|
rm -f /usr/local/bin/anitya_cron.py && \
|
||||||
RUN cp files/anitya_cron.py /usr/local/bin/
|
cp files/anitya_cron.py /usr/local/bin/ && \
|
||||||
RUN pip-3 install .
|
pip-3 install . && \
|
||||||
RUN popd
|
popd && \
|
||||||
RUN rm -rf anitya
|
rm -rf anitya
|
||||||
RUN rm /etc/fedmsg.d/*py
|
RUN rm /etc/fedmsg.d/*py
|
||||||
RUN mkdir /httpdir
|
RUN mkdir /httpdir
|
||||||
RUN chmod 777 /httpdir
|
RUN chmod 777 /httpdir
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue