Closed Bug 1069283 Opened 10 years ago Closed 10 years ago

Call manage.py init_datasources during deployment so tables for new repos get created

Categories

(Tree Management :: Treeherder, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

In bug 1035222 we had to run init_datasources on treeherder-dev.

update.py doesn't do this currently, and I'm guessing it needs to otherwise bug 1035222 and similar won't get deployed on production.

https://github.com/mozilla/treeherder-service/blob/master/deployment/update/update.py#L44
Assignee: nobody → emorley
Blocks: 1065659
Status: NEW → ASSIGNED
Priority: P2 → P1
Summary: Add manage.py init_datasources to the Chief update.py script → Call manage.py init_datasources during deployment so tables for new repos get created
Attachment #8493645 - Flags: review?(mdoglio) → review+
Blocks: 1071570
This is now being called during update.py (eg http://treeherderadm.private.scl3.mozilla.com/chief/treeherder.prod/logs/master.1411475198), though the new repos aren't appearing yet, so have filed bug 1071570 to investigate further.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: