Page MenuHomePhabricator

[components-api] use the `build.params.image_name` to compare with the `component`
Closed, ResolvedPublic

Description

The MR https://gitlab.wikimedia.org/repos/cloud/toolforge/components-api/-/merge_requests/77 worked around not having the image_name from the build by using destination_image, but after T395035: [builds-api] populate the `image_name` for the builds returned image_name should be populated correctly, so we can drop that logic and reuse what the builds-api returns.

Event Timeline

Thank you for tagging this task with good first task for Wikimedia newcomers!

Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.

A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly pointed to the codebase URL and provide clear steps to help a contributor get setup for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !

Thank you for helping us drive new contributions to our projects <3

fnegri renamed this task from [components-api] use the `build.prams.image_name` to compare with the `component` to [components-api] use the `build.params.image_name` to compare with the `component`.Jun 3 2025, 10:08 AM

raymond-ndibe opened https://gitlab.wikimedia.org/repos/cloud/toolforge/components-api/-/merge_requests/115

[toolforge,tool_handlers] replace destination_name comparisons with image_name

Raymond_Ndibe changed the task status from Open to In Progress.Aug 5 2025, 12:27 AM
Raymond_Ndibe claimed this task.
Raymond_Ndibe reopened this task as In Progress.
Raymond_Ndibe moved this task from In Review to Done on the Toolforge (Toolforge iteration 22) board.
Raymond_Ndibe moved this task from Done to In Review on the Toolforge (Toolforge iteration 22) board.

raymond-ndibe merged https://gitlab.wikimedia.org/repos/cloud/toolforge/components-api/-/merge_requests/115

[toolforge,tool_handlers] replace destination_name comparisons with image_name

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

components-api: bump to 0.0.170-20251021000227-485a8fbc