Closed Bug 2015690 Opened 5 months ago Closed 4 months ago

GitHub checks for enterprise-firefox-release links to treeherder enterprise-firefox jobs

Categories

(Enterprise Products :: General, defect, P2)

x86_64
Linux

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gerard-majax, Assigned: ahal)

References

Details

(Keywords: leave-open)

Attachments

(4 files)

Andrew, do you know where this is handled?

Flags: needinfo?(ahal)

There's an assumption that there's a 1-1 mapping of TC project -> Treeherder project.. which obviously isn't the case in Github with multiple branches.

Assignee: nobody → ahal
Status: NEW → ASSIGNED
Flags: needinfo?(ahal)

We need to get just the 'head_ref' part without the index portion of the
string in order to build the Treeherder links properly.

Once the above patches land and get merged to enterprise-main, I'll need to land a commit that adds treeherder.branch-map to enterprise-firefox.

Keywords: leave-open
Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/49047f028ad8 https://hg.mozilla.org/integration/autoland/rev/ec281acb7cb4 [ci] Refactor 'get_head_ref' to exclude index prefix, r=taskgraph-reviewers,jcristau https://github.com/mozilla-firefox/firefox/commit/d98fac838922 https://hg.mozilla.org/integration/autoland/rev/03986790bdfc Support generating Treeherder links in projects with multiple TH branches, r=taskgraph-reviewers,jcristau
Pushed by amarc@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6478c4ffadc2 https://hg.mozilla.org/integration/autoland/rev/208a76fcb8a2 Revert "Bug 2015690 - Support generating Treeherder links in projects with multiple TH branches, r=taskgraph-reviewers,jcristau" for cauins python failures

Backed out for causing python failures

Flags: needinfo?(ahal)
Flags: needinfo?(ahal)
Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/738f434a2603 https://hg.mozilla.org/integration/autoland/rev/30c496b73a65 [ci] Refactor 'get_head_ref' to exclude index prefix, r=taskgraph-reviewers,jcristau https://github.com/mozilla-firefox/firefox/commit/df2df9d8b22d https://hg.mozilla.org/integration/autoland/rev/4fdec57bbff1 Support generating Treeherder links in projects with multiple TH branches, r=taskgraph-reviewers,jcristau

Authored by https://github.com/ahal
https://github.com/mozilla/enterprise-firefox/commit/25124c7d5cc574754b49c35c33cce097429c58ae
[enterprise-main] Bug 2015690 - Use proper Treeherder routes based on current branch

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: