Closed Bug 1076886 Opened 10 years ago Closed 9 years ago

Chief deploy should include Github changelog in log + New Relic notification

Categories

(Tree Management :: Treeherder: Infrastructure, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: emorley, Unassigned)

References

Details

Attachments

(1 file)

Similar to what TBPL does, we should add links to the changelog in the output from update.py eg: https://github.com/mozilla/treeherder-service/compare/56005e4...43e47cd This will allow us to quickly figure out what each deploy actually did.
Blocks: 1080757
No longer blocks: 1072681
Priority: P2 → P3
No longer blocks: 1080757
Component: Treeherder → Treeherder: Infrastructure
Assignee: nobody → emorley
Priority: P3 → P4
Blocks: 1059325
Depends on: 1076737
Summary: Add link to Github changelog to Chief deploy output → Chief deploy should include Github changelog in log + New Relic notification
Stopgap until we add the proper SHA/changelog for real - which will be much simpler once bug 1056877 (the UI+service repo merge) is complete.
Attachment #8596023 - Flags: review?(mdoglio)
Depends on: 1056877
Attachment #8596023 - Flags: review?(mdoglio) → review+
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/bd60d36364491789085cad44c0dd5c799ecf993b Bug 1076886 - Deploy: Don't specify the wrong revision to New Relic We're passing settings.UPDATE_REF, which is the default ref value, not the actual value that was passed via the Chief web UI. As such, New Relic was always displaying the revision deployed as "master", even if it was a non-master branch deploy. Ideally we'd use the value of 'ref' from pre_update(), but that's not available during the deploy() task (the script is run in three independent stages & Chief unhelpfully only passes 'ref' to the first stage), so we'll have to read it back from the media/revision file - which will require more mangling in bug 1076886. For now, seeing as the 'revision' property is optional, lets just omit it, rather than setting it to a sometimes wrong value.
Attachment #8596023 - Flags: checkin+
Note to self: Also shorten the SHA stored in media/revision so the IRC bot doesn't wrap the compare URL over two lines, like: 22:35 <treeherder-stage> https://github.com/mozilla/treeherder-service/compare/85079286994734645e24d5d1a1045d48787a4c62 22:35 <treeherder-stage> ...1166872 (Now the UI repo has been merged in, these URLs should actually work, since we won't have two SHAs mixed together)
Priority: P4 → P3
Wontfix since moving to Heroku. Bug 1165229 can handle this for Heroku.
Assignee: emorley → nobody
Status: NEW → RESOLVED
Closed: 9 years ago
QA Contact: laura
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: