Closed sfbee closed 4 months ago
I think we need to rebase this off of the latest in the main branch. When I look at the changes in scripts/elevate-cpanel.PL
I'm not sure whether the line containing $self->run_component_once( 'cPanelPrep', => 'pre_leapp' );
will end up before or after $self->run_component_once( 'DatabaseUpgrade' => 'pre_leapp' );
; and it needs to come after.
Case RE-122: This change moves logic meant to prep cPanel services for the leapp into a component, adds a call to flush the cPanel task queue before leapping, and adds unit test coverage for all of the above.
Changelog: Move logic for prepping cPanel services to leapp into a component, and flush task queue before leapp.
By submitting pull requests to this repo, I agree to the Contributor License Agreement which can be found at: https://github.com/cpanel/elevate/blob/main/docs/cPanel-CLA.pdf