Closed Bug 2013889 Opened 2 months ago Closed 2 months ago

Add 'head_ref' to standard V2 index routes for projects using Git

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox149 fixed)

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: ahal, Assigned: ahal)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

For projects running against Github, tasks should use separate index routes across branches. E.g, we don't want builds from the main branch overwriting builds from the release branch.

Component: Firefox-CI Administration → Task Configuration
Product: Release Engineering → Firefox Build System
Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8f3163a0fe4d https://hg.mozilla.org/integration/autoland/rev/c13c384ca384 [ci] Add 'head_ref' to standard index routes for Git-based projects, r=taskgraph-reviewers,jcristau
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch

We might want to massage the branch/tag names in the index to ensure the route only contains valid characters (https://docs.taskcluster.net/docs/reference/core/index#valid-characters)?

Good point. From a glance, I think / is the only character supported in Git branches but not TC indexes. For now I'll just replace it with %2F.. though I was musing if we should just url-encode every route all the time. But that's a bigger change for another bug.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

This character is not allowed in TC routes.

Status: REOPENED → RESOLVED
Closed: 2 months ago2 months ago
Resolution: --- → FIXED
Regressions: 2017560
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: