Adjust the ReleaseManagers::Schedule class methods to use the GitLab releases methods by default
Overview
The gitlab-releases gem includes methods to retrieve the active_version
and the version_for_date
based on the new SSOT for releases. To ensure the release tooling is adapted to support the new date, the ReleaseManager::Schedule.active_version
method was modified to use the gem version when the feature flag is enabled.
Once we've transitioned into the new release date, the active_version
and version_for_date
methods from the ReleaseManager::Schedule
class should be updated to use the methods defined on the GitLabReleasesClient
class
Implementation details
-
Make sure the old implementation works with the new release date gitlab-org/release-tools!2760 (merged) -
Adjust the methods on ReleaseManager::Schedule
(active_version
andversion_for_date
) to use the methods of the gem by default. gitlab-org/release-tools!2776 (merged) -
Adjust the yaml_source
method to usereleases.yml
by default gitlab-org/release-tools!2776 (merged) -
Open up a follow-up to remove the active_version
andversion_for_date
methods from theSchedule
class. The tooling should use the ones by the gem by default. #19851-
Methods on the ReleasesClient
class should to return a validReleaseTools::Version
-
Edited by Mayra Cabrera