release-monitoring: Use staging auth server in staging
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
83dfeb4dac
commit
213a8bd4d4
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,10 @@ items:
|
||||||
popd && \
|
popd && \
|
||||||
popd && \
|
popd && \
|
||||||
rm -rf anitya
|
rm -rf anitya
|
||||||
|
# Let's use staging auth server in staging
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
RUN sed -i 's/id.fedoraproject.org/id.stg.fedoraproject.org/g' /usr/lib/python3.8/site-packages/social_core/backends/fedora.py
|
||||||
|
{% endif %}
|
||||||
RUN mkdir /httpdir
|
RUN mkdir /httpdir
|
||||||
RUN chmod 777 /httpdir
|
RUN chmod 777 /httpdir
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue