mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 17:44:33 +00:00
All active runtime paths that previously shelled out to etc/init_cloudnative_pg.sh now dispatch through Python. The shell script has been removed from git. New files: - knoe/core/ops/cloudnative_pg.py: canonical Python owner for CNPG lifecycle with public API (initialize, deploy, rollout, ensure_operator, pin_controller, install_barman_plugin) and internal helpers (_apply_manifest, _wait_cnpg_pods, _reconcile_instances, etc.) - prole/tools/run_cnpg_coverage.py: coverage entry points for k3d/k3s modes, report sub-command, and check-shell scanner to confirm no live Python dispatch to the removed shell script Modified files: - knoe/core/actions.py: replace shell dispatch in _step_init_scripts, _step_cnpg_deploy, and repair pipeline with Python calls - knoe/core/milestones.py: replace shell dispatch in InitializationScriptsMilestone and DeploymentMilestone - knoe/ui/screens/services.py: replace shell dispatch for init-scripts step, deploy button, and rollout button - prole/deployment.py: replace shell dispatch in _run_post_apply_scripts - status.py: remove init_cloudnative_pg.sh from _STATUS_SCRIPTS list - tests/installer/test_actions_helpers.py: mock Python functions, assert shell script is never dispatched - tests/installer/test_milestones.py: same - tests/installer/test_services_init_scripts.py: same Removed: - etc/init_cloudnative_pg.sh (git rm) Verification: - prole.tools.run_cnpg_coverage check-shell reports clean - All 61 tests in the affected test files pass Co-authored-by: Junie <junie@jetbrains.com> |
||
|---|---|---|
| .. | ||
| core | ||
| ops | ||
| scripts | ||
| ui | ||
| __init__.py | ||
| build.py | ||
| config.py | ||
| core.py | ||
| deploy.py | ||
| main.py | ||
| milestone.py | ||
| ncurses_installer.py | ||
| ncurses_ui.py | ||
| prole_conf.py | ||
| README.md | ||
| runner.py | ||
| screen.py | ||
| state.py | ||
| welcome.txt | ||
Moved
This document has moved. Please see the up-to-date installer guide at:
installer/README.md
The root-level file is kept only as a pointer to avoid breaking links during the refactor.