mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 16:34:31 +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> |
||
|---|---|---|
| .. | ||
| etc | ||
| fixtures | ||
| installer | ||
| ops | ||
| shellspec | ||
| conftest.py | ||
| final_comprehensive_test.sh | ||
| final_test.sh | ||
| run_tests.sh | ||
| silent_install_test.sh | ||
| test_all_prole_home_fixes.sh | ||
| test_argocd_manifest_idempotency.py | ||
| test_build_context.py | ||
| test_build_system.sh | ||
| test_cluster_screen_observe_only.py | ||
| test_dashboard_systemd_unit.py | ||
| test_database_options.py | ||
| test_docker_build_fix.sh | ||
| test_embedded_resources.sh | ||
| test_init_authority.sh | ||
| test_init_kerberos_ad_forwarder_readiness.py | ||
| test_install_logic.py | ||
| test_k3s_common_core_namespace_and_repair.py | ||
| test_navigation.py | ||
| test_network_scan_fix.sh | ||
| test_no_common_services_literal_in_etc_scripts.py | ||
| test_reconcile_blocked_cluster_state.py | ||
| test_render_supabase_hostname.py | ||
| test_render_supabase_placement.py | ||
| test_repair_stale_released_pv_claimref.py | ||
| test_resource_paths.py | ||
| test_service_layer_navigation.py | ||