Update foreman-maintain health for foremanctl#4843
Conversation
|
The PR preview for 24dd254 is available at theforeman-foreman-documentation-preview-pr-4843.surge.sh No diff compared to the current base |
206adbc to
3d90402
Compare
|
@jafiala Can you please take a look here? This is my first foremanctl PR that updates a foreman-maintain command to its foremanctl equivalent. This involves introducing a foremanctl-maintain attribute (which has the same value as foremanctl-installer, I think those can be merged after we change the foremanctl build target attribute) and updating the individual occurrences of the commands. It does not involve exposing the affected guides' foremanctl variants in the list of containerized guides in https://docs.theforeman.org/release/nightly/ because this particular command is spread over multiple procedures and verifying those procedures (and assemblies) as a whole is out of scope (that should come later, as we actually review the whole guides and expose them). Does this make sense to you? |
3d90402 to
be96daa
Compare
baa96d1 to
602bdfa
Compare
|
With the latest commit, I also exposed |
|
Hi @qcjames53, I think I applied all your feedback. Can you please re-review? |
qcjames53
left a comment
There was a problem hiding this comment.
I'm sorry about the big delay for re-reviewing this. I'm confident we're finally at a place where there won't be any more param changes on theforeman/foremanctl#521. Sorry to keep changing things; it has been a very involved review process. This will need one more round of fixes and I think we'll be good.
d74ef00 to
9a7059c
Compare
|
I moved some feedback to #4928, and applied the feedback for the changes that remained here. @qcjames53 can you please re-review? |
|
Absolutely! We surprise merged theforeman/foremanctl#521 today so there will be no more changes 🥳🥳🥳 |
This copies the precedent that added a foremanctl-installer attribute
The command's help page is not that helpful in foremanctl
The containerized health command does not include a separate option for checking for duplicate permissions
558be24 to
5267ac9
Compare
The requirement has changed and this PR should now also expose and publish the affected pieces of docs. I'll add some conditionals to make that happen and that will need a new style review. |
After seeing the preview and the conditionals needed to make this happen, there has been a decision to change the scope again and we'll stick to just updating the commands. Exposing the documentation will come later. |
|
The PR is now back to the state where it has received the acks. #4928 will finish the foremanctl health --fix cleanup by removing the module, this PR only hides it from containerized builds. |
(cherry picked from commit 4cc66d2)
What changes are you introducing?
Changing references to
foreman-maintain healthtoforemanctl health.Why are you introducing these changes? (Explanation, links to references, issues, etc.)
To support the transition to containerized Foreman.
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
This PR only updates the commands. It does not publish the changes to docs.theforeman.org because I'm only verifying the new commands work, not the procedures as a whole.
Contributor checklists
Please cherry-pick my commits into: