File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 "django.contrib.sessions" ,
1818 "django.contrib.staticfiles" ,
1919 "django_extensions" ,
20- "ddtrace.contrib.django" ,
2120 "webpack_loader" ,
2221 "mpcontribs.portal" ,
2322]
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ python manage.py migrate --noinput
1818
1919CMD=" gunicorn wsgi"
2020
21- # if [[ -n "$DD_TRACE_HOST" ]]; then
22- # wait-for-it.sh "$DD_TRACE_HOST" -q -s -t 10 && CMD="ddtrace-run $CMD"
23- # fi
21+ if [[ -n " $DD_TRACE_HOST " ]]; then
22+ wait-for-it.sh " $DD_TRACE_HOST " -q -s -t 10 && CMD=" ddtrace-run $CMD " || echo " WARNING: datadog agent unreachable "
23+ fi
2424
25- exec wait-for-it.sh $MPCONTRIBS_API_HOST -q -s -t 60 -- $CMD
25+ exec wait-for-it.sh " $MPCONTRIBS_API_HOST " -q -s -t 60 -- $CMD
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22import re
33import os
4+ import ddtrace .auto
45import django_settings_file
56from django .core .wsgi import get_wsgi_application
67from whitenoise import WhiteNoise
You can’t perform that action at this time.
0 commit comments