mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 23:34:30 +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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| argocd.py | ||
| base.py | ||
| build.py | ||
| cfg.py | ||
| cluster_nodes.py | ||
| cluster.py | ||
| database_options.py | ||
| database.py | ||
| dependencies.py | ||
| deploy.py | ||
| docker.py | ||
| environment.py | ||
| gitops.py | ||
| navigation.py | ||
| network.py | ||
| ollama.py | ||
| packaging.py | ||
| security.py | ||
| services.py | ||
| supabase.py | ||
| validate.py | ||
| welcome.py | ||