Closed Bug 1665414 Opened 4 years ago Closed 4 years ago

Support for docker-image definitions under comm/taskgraph/docker

Categories

(Thunderbird :: Build Config, task)

Tracking

(thunderbird_esr78 unaffected, thunderbird82 unaffected)

RESOLVED FIXED
83 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird82 --- unaffected

People

(Reporter: rjl, Assigned: rjl)

References

(Blocks 2 open bugs)

Details

Attachments

(5 files)

Be able to use docker-image definitions under comm/taskgraph/docker and taskgraph/docker for Thunderbird builds. This will allow Thunderbird to iterate faster when working on Snap and Flatpak builds.

This change is to facilitate defining docker-images in comm/taskcluster/docker. At the
moment this is not possible due to how 'context_path' is set.

taskgraph.docker.util is already imported by the transform code, so it can make use of
the existing image_path function. image_path return an absolute_path, while some of the
consumers of context_path expect a path that's relative to topsrcdir.

Assignee: nobody → rob
Status: NEW → ASSIGNED

Replace the memoized dictionary that image_path uses as storage with a Mapping
object. It's equipped with a register function to allow Thunderbird to add it's own
docker image jobs and context path.

Depends on D92702

This docker image was created for Thunderbird and is unavailable for Firefox
builds.

Depends on D92703

Docker image context directories go under comm/taskcluster/docker and must be
defined in comm/taskcluster/ci/docker-image/docker-image.yml in order for
the decision task to find them properly.

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/integration/autoland/rev/38b2b48db658
Use image_path to locate context path in docker_image transform.  r=taskgraph-reviewers,aki
https://hg.mozilla.org/integration/autoland/rev/9d637eea1fad
Make docker image_paths extendable by projects. r=taskgraph-reviewers,aki
https://hg.mozilla.org/integration/autoland/rev/8f7af43a4581
Move tb-debian-mingw docker-image definition to Thunderbird repo. r=taskgraph-reviewers,aki
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/8ebc9f581e89
Allow for Docker images to be defined in comm/taskcluster/docker. r=mkmelin
https://hg.mozilla.org/comm-central/rev/06424ba4ea53
Move tb-debian-mingw docker-image definition to comm repo. r=mkmelin

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: