Loading
fix(deploy): update pyinfra deployment scripts for v3 compatibility and idempotency
This commit modernizes the deployment scripts for compatibility with the latest version of Pyinfra and improves the idempotency of several operations: - Replaced inline sed commands with proper files.line operations for managing apt sources.list. - Replaced bare server.shell executions (e.g., holding apt packages, changing socket group ownership) with stateful host.get_fact(Command, ...) checks to ensure they only run when necessary. - Added --protocol argument to update_repocfg.py to dynamically handle https-only ingress configurations. - Removed redundant ownership assignment of gopath which caused permissions errors.