Project

Profile

Help

Task #2819

closed

set DJANGO_SETTINGS_MODULE env variable in docs/config.py

Added by dkliban@redhat.com almost 7 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
2.14.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 22
Quarter:

Description

The docs builder job currently sets the DJANGO_SETTINGS_MODULE variable here [0].
Those lines should be removed and the value should instead be set in docs/config.py. The value should be set to 'pulp.app.settings' on 2.13-dev and master. The value should be 'pulpcore.app.settings' on 3.0-dev branch of 'pulp' project

When this is done pulp3 can also be added as a whitelisted_branch for the docs-pr job [1]

[0] https://github.com/pulp/pulp_packaging/blob/ced2a736de83bfe952363655acba0ac954f403d9/ci/jobs/docs.yaml#L63
[1] https://github.com/pulp/pulp_packaging/blob/eacd25a510fe6ec3e8c6776d96dbe62565ac3563/ci/jobs/pr-docs.yaml#L87

Also available in: Atom PDF