The process to update our copy of the upstream Heroku images used by Toolforge is outlined in the builds-builder repo.
The upstream images are updated quite frequently but we are currently manually updating our copy of the images. We keep several copies of the upstream images in our Harbor registry.
The versions used by builds-api are defined in toolforge-deploy. Toolforge users can pick the "default", "latest", or "deprecated" version by using respectively no flags, --use-latest-versions or --use-deprecated-versions when starting a build.
A few important things are currently not specified:
- how we should tag the images stored in Harbor
- how frequently we should update our copy of the images
- whether we should update only the latestBuilder/latestRunner versions, or also the default builder/runner versions
- how to deprecate a stack, and how long it should remain available in the "deprecated" status
The deprecation process was previously discussed in T380127#11696394.