Install greenwave from rpm when not in staging.
This commit is contained in:
parent
3d2ef26bc7
commit
015ac40380
1 changed files with 5 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue