Closed Bug 1608026 Opened 5 years ago Closed 5 months ago

Make mach try always generate try_task_config.json v2

Categories

(Developer Infrastructure :: Try, task, P3)

Tracking

(firefox124 fixed)

RESOLVED FIXED
Tracking Status
firefox124 --- fixed

People

(Reporter: glandium, Assigned: ahal)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

We'll keep v1 support for existing configs users may have locally.

We'll keep v1 support in taskgraph for existing configs users may have locally.

Blocks: 1608037
Priority: -- → P3
Product: Firefox Build System → Developer Infrastructure
Severity: normal → S3

I have a use case that requires updating to the v2 schema, so I'm going to steal this.

Assignee: mh+mozilla → ahal
Status: NEW → ASSIGNED

Since try_task_config is a parameter, there's no point in doing schema
validation separately. This validation can happen whenever we call
Parameter.check. This way we don't need to maintain separate schemas for the
different versions.

We've long supported a version 2 for try_task_config.json. v2 is a superset of
v1, so there's no point in using the v1 anymore.

I'm making this change now because I'd like to implement a feature that would
only be supported using v2.

Attachment #9119657 - Attachment is obsolete: true

distutils is deprecated and not always present in Python installations.

Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6eb3026ea806
Validate 'try_task_config' schema as part of Parameters, r=releng-reviewers,taskgraph-reviewers,gabriel
https://hg.mozilla.org/integration/autoland/rev/b59325356b5b
Stop relying on 'distutils' in fzf utility module, r=releng-reviewers,gbrown
https://hg.mozilla.org/integration/autoland/rev/6f9f5eecee4d
[tryselect] Switch 'try_task_config.json' files to version 2, r=releng-reviewers,perftest-reviewers,taskgraph-reviewers,sparky,jcristau
Regressions: 1878065
Blocks: 1752677
Regressions: 1879439
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: