Closed Bug 787950 Opened 8 years ago Closed 8 years ago

TBPL's Vagrant project should log dataimport/import-buildbot-data.py output

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file, 1 obsolete file)

We should do the equivalent of bug 730677 to our vagrant project file.
Attached patch Patch v1 (obsolete) — Splinter Review
Saves both the initial & cron data import output to logs/import-log-YYYYMMDD-HHMM-SS.txt
Assignee: nobody → bmo
Status: NEW → ASSIGNED
Attachment #657875 - Flags: review?(rhelmer)
Blocks: 718632
Meant to add:
I picked logs/ since the current prod location is cache, but I'd like to move that at some point to logs/ (bug 764842) so we might as well use the new location here too.
Attached patch Patch v2Splinter Review
* Corrects the date syntax.
* Now sets the tbpl user as the owner for tbpl and tbpl/logs/
* Doesn't do the 2>&1 for the initial data import (after running vagrant up), since we want the errors to show up in the terminal.
Attachment #657875 - Attachment is obsolete: true
Attachment #657875 - Flags: review?(rhelmer)
Attachment #657932 - Flags: review?(rhelmer)
Comment on attachment 657932 [details] [diff] [review]
Patch v2

This looks right based on my testing of the previous patch. Thanks!
Attachment #657932 - Flags: review?(rhelmer) → review+
Thank you for the review :-)

http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/rev/20827656afa7
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Depends on: 790559
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.