Install greenwave from rpm when not in staging.

This commit is contained in:
Ralph Bean 2017-08-23 21:05:53 +00:00
parent 3d2ef26bc7
commit 015ac40380

View file

@ -19,11 +19,16 @@ spec:
python-requests \
PyYAML \
python2-flask
{% if env == 'staging' %}
# https://pagure.io/greenwave/pull-request/62
# https://pagure.io/greenwave/pull-request/63
RUN git clone -b special-relevance https://pagure.io/greenwave.git /srv/greenwave
RUN ln -s /etc/greenwave/settings.py /srv/greenwave/conf/settings.py
WORKDIR /srv/greenwave
{% else %}
RUN yum -y install --setopt=tsflags=nodocs \
greenwave
{% endif %}
EXPOSE 8080
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- greenwave.wsgi:app
strategy: