Refactor CheckPackagesVerifier class
What does this MR do and why?
Describe in detail what your merge request does and why.
Content
- Refactor CheckPackagesVerifier class
In order to use the same logic to check check-packages-availability
and check-packages-functionality
at two stages of the release pipelines (both monthly and patch), the CheckPackagesVerifier
class is refactored:
- Create a base class
BaseCheckPackagesService
- Use a new method
bridge_job_name
to require the inherited classes to define the trigger job name. - Rename
CheckPackagesVerifier
toCheckPackagesAvailabilityService
to match the naming convention of classes in theservices
directory. Same naming convention is applied toCheckPackagesFunctionalityService
andBaseCheckPackagesService
. - Rename and add rspec files accordingly.
Edited by Dat Tang