Open Bug 1515058 Opened 5 years ago Updated 2 years ago

Make the taskgraph sparse-profile include the docker-image sparse-profile

Categories

(Firefox Build System :: Task Configuration, task, P5)

task

Tracking

(Not tracked)

REOPENED

People

(Reporter: kats, Unassigned)

References

Details

Spinoff from https://phabricator.services.mozilla.com/D14405#inline-79591

Right now if you add a new docker image with some external script dependency, you also need to add that script to the taskgraph sparse-profile file at [1], because the taskgraph needs to know if the script has changed in order to decide whether or not to rebuild the docker image. Manually listing the file here seems redundant in that the taskgraph profile could just include the docker-image profile which should have those files listed already.

[1] https://searchfox.org/mozilla-central/source/build/sparse-profiles/taskgraph
I looked through the list and right now all the files included in the docker-image profile are included as part of globs or subfolders of other entries in the taskgraph profile. So doing this won't actually remove any existing entries from sparse-profiles/taskgraph, although it would prevent my new entry from bug 1507884.
So I just updated the patch in bug 1507884 to do it.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
My guess is that those globs could be removed. I think it's still worth having this bug open to remove them.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.