Merge pull request #8599 from mozilla/8593-fix-circleci-issue
Introduce temporary workaround for circleci failures.
This commit is contained in:
Коммит
523078308b
|
@ -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/
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче