← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1302532] Re: docs build for django-based projects should run with DJANGO_SETTINGS_MODULE envvar

 

** Changed in: django-openstack-auth
    Milestone: None => 1.1.6

** Changed in: django-openstack-auth
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1302532

Title:
  docs build for django-based projects should run with
  DJANGO_SETTINGS_MODULE envvar

Status in Django OpenStack Auth:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Core Infrastructure:
  In Progress

Bug description:
  When running docs build in the gate and post jobs for django-based
  projects (e.g., horizon, django_openstack_auth,  ...), we need to set
  DJANGO_SETTINGS_MODULE envvar.

  We can see the following errors in console logs:

  horizon-docs, gate-horizon-docs:
  ImproperlyConfigured: The SECRET_KEY setting must not be empty.
  https://jenkins.openstack.org/view/All/job/horizon-docs/
  https://jenkins.openstack.org/view/All/job/gate-horizon-docs/

  django-openstack-auth:
  error: invalid command 'build_sphinx'
  ERROR: InvocationError: '/home/jenkins/workspace/gate-django_openstack_auth-docs/.tox/venv/bin/python setup.py build_sphinx'
  It also comes from lack of DJANGO_SETTINGS_MODULES.
  https://jenkins.openstack.org/view/All/job/gate-django_openstack_auth-docs/
  https://jenkins.openstack.org/view/All/job/django_openstack_auth-docs/

To manage notifications about this bug go to:
https://bugs.launchpad.net/django-openstack-auth/+bug/1302532/+subscriptions