Page MenuHomePhabricator

[builds-api] Store the commit hash that was used for the build
Closed, ResolvedPublic

Description

This will allow to differentiate builds by commit hashes.

We might want also to use a tag with the commit hash or similar (datestamp+hash, etc.) to be able to differentiate built images, instead of always using latest.

We might want to add also some OCI standard labels/annotations (https://github.com/opencontainers/image-spec/blob/main/annotations.md).

Event Timeline

dcaro triaged this task as Medium priority.Mar 18 2025, 10:00 AM
dcaro changed the task status from Open to In Progress.Apr 24 2025, 2:03 PM
dcaro claimed this task.
dcaro moved this task from Next Up to In Review on the Toolforge (Toolforge iteration 19) board.

group_203_bot_f4d95069bb2675e4ce1fff090c1c1620 opened https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/781

builds-builder: bump to 0.0.131-20250514075559-ac5a6006

group_203_bot_f4d95069bb2675e4ce1fff090c1c1620 opened https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/782

builds-api: bump to 0.0.191-20250514120852-fff150a3

dcaro moved this task from In Review to Done on the Toolforge (Toolforge iteration 20) board.