Page MenuHomePhabricator

[components-api] store the config used for the deployment in the deployment themselves
Closed, ResolvedPublic

Description

This will allow comparing the last deployment with the current configuration, and do a delta for both:

  • detecting if there's any changes in the config that are not deployed
  • removing jobs of components that were removed

Essentially, this will add a new field to the deployment datastructure, tool_config, where tool_config is a snapshot of the configuration that was used for that deployment.

We should also surface this on the cli when doing toolforge components deployment show.

Event Timeline

dcaro triaged this task as High priority.Jul 22 2025, 4:11 PM
Raymond_Ndibe changed the task status from Open to In Progress.Aug 1 2025, 2:53 AM
Raymond_Ndibe claimed this task.

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

components-api: bump to 0.0.140-20250808051543-da1b63fb

dcaro reopened this task as In Progress.
dcaro moved this task from In Review to Done on the Toolforge (Toolforge iteration 23) board.
dcaro moved this task from Done to In Progress on the Toolforge (Toolforge iteration 23) board.

Missing the cli bits

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