Closed Bug 1593961 Opened 7 years ago Closed 5 years ago

taskgraph: allow docker image jobs to configure their expiry time

Categories

(Release Engineering :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jlorenzo, Unassigned)

Details

Android-components uses the build docker image to cache external Android dependencies. It's not an ideal solution, but it's an okay-enough one for now.

Taskgraph let these tasks expire after 1 year[1]. Android-components would need something like a month or so.

[1] https://hg.mozilla.org/ci/taskgraph/file/8724fdf41562f6eea82d1b905072d4a7c1f5ebbf/src/taskgraph/transforms/docker_image.py#l158

Instead of making the expiry shorter, we could have a cron task that triggers building the docker image, which will update the index. (I also wonder if a docker-image is the best way to make the android dependencies available).

The custom-v8 and chromium-update cron targets are examples in m-c of doing this.

Android-components doesn't cache android dependencies in docker images anymore. Instead, it relies on toolchain tasks that create archives ready to be decompressed by build tasks. Thus, we don't really need this anymore. Closing bug.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.