UpdateComponentService gets current version from Canonical
With auto_deploy_on_security
enabled, ComponentVersions
will attempt
to read the component's version from the given branch on Security.
Because UpdateComponentService
uses the release-tools/update-gitaly
branch which only exists on Canonical, this was causing an error.
Now UpdateComponentService
will use its client instance directly to
get the component version from the target project on the target branch
on Canonical.
Closes https://gitlab.com/gitlab-org/release-tools/-/issues/470