Merge pull request #8599 from mozilla/8593-fix-circleci-issue

Introduce temporary workaround for circleci failures.
This commit is contained in:
Christopher Grebs 2018-06-21 03:46:26 -07:00 коммит произвёл GitHub
Родитель a8b0182aec d014a9b1b1
Коммит 523078308b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -68,7 +68,12 @@ help_submake:
initialize_db:
rm -rf ./user-media/* ./tmp/*
python manage.py reset_db
# The --no-utf8 is a temporary workaround for https://github.com/mozilla/addons-server/issues/8593
# The actual fix is pushed upstream in https://github.com/django-extensions/django-extensions/issues/1213
# as https://github.com/django-extensions/django-extensions/pull/1214
# So this will have to be reverted once an upstream fix lands. --no-utf8 here actually *enables*
# utf-8 support.
python manage.py reset_db --no-utf8
python manage.py migrate --noinput
python manage.py loaddata initial.json
python manage.py import_prod_versions
@ -133,7 +138,12 @@ reindex:
setup-ui-tests:
rm -rf ./user-media/* ./tmp/*
# Reset the database and fake database migrations
python manage.py reset_db --noinput
# The --no-utf8 is a temporary workaround for https://github.com/mozilla/addons-server/issues/8593
# The actual fix is pushed upstream in https://github.com/django-extensions/django-extensions/issues/1213
# as https://github.com/django-extensions/django-extensions/pull/1214
# So this will have to be reverted once an upstream fix lands. --no-utf8 here actually *enables*
# utf-8 support.
python manage.py reset_db --noinput --no-utf8
python manage.py migrate --noinput
schematic --fake src/olympia/migrations/