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

RESOLVED FIXED

Status

Tree Management
Treeherder
P1
normal
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: emorley, Assigned: emorley)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
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)

Updated

3 years ago
Assignee: nobody → emorley
Blocks: 1065659
Status: NEW → ASSIGNED
Priority: P2 → P1
(Assignee)

Comment 1

3 years ago
Created attachment 8493645 [details] [diff] [review]
Call manage.py init_datasources during Chief deployment
Attachment #8493645 - Flags: review?(mdoglio)
(Assignee)

Updated

3 years ago
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+

Comment 2

3 years ago
Commit pushed to master at https://github.com/mozilla/treeherder-service

https://github.com/mozilla/treeherder-service/commit/41384c5b6b1ceed635661aaab24740a4dbd38fe7
Bug 1069283 - Call manage.py init_datasources during Chief deployment
(Assignee)

Updated

3 years ago
Blocks: 1071570
(Assignee)

Comment 3

3 years ago
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
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.