utils_devops 0.1.140__tar.gz → 0.1.141__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {utils_devops-0.1.140 → utils_devops-0.1.141}/PKG-INFO +1 -1
- {utils_devops-0.1.140 → utils_devops-0.1.141}/pyproject.toml +1 -1
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/extras/docker_ops.py +5 -3
- {utils_devops-0.1.140 → utils_devops-0.1.141}/README.md +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/__init__.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/core/__init__.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/core/datetimes.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/core/envs.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/core/files.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/core/logs.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/core/script_helpers.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/core/strings.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/core/systems.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/extras/__init__.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/extras/aws_ops.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/extras/git_ops.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/extras/interaction_ops.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/extras/metrics_ops.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/extras/network_ops.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/extras/nginx_ops.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/extras/notification_ops.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/extras/performance_ops.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/extras/ssh_ops.py +0 -0
- {utils_devops-0.1.140 → utils_devops-0.1.141}/src/utils_devops/extras/vault_ops.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: utils_devops
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.141
|
|
4
4
|
Summary: Lightweight DevOps utilities for automation scripts: config editing (YAML/JSON/INI/.env), templating, diffing, and CLI tools
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: devops,automation,nginx,cli,jinja2,yaml,config,diff,templating,logging,docker,compose,file-ops
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "utils_devops"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.141" # Bumped for new string features + diffing
|
|
4
4
|
description = "Lightweight DevOps utilities for automation scripts: config editing (YAML/JSON/INI/.env), templating, diffing, and CLI tools"
|
|
5
5
|
authors = ["Hamed Sheikhan <sh.sheikhan.m@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -797,7 +797,7 @@ def wait_for_healthy(
|
|
|
797
797
|
if overall == 'healthy':
|
|
798
798
|
status_groups[overall].append(service)
|
|
799
799
|
else:
|
|
800
|
-
detail = f"{service}: {status['status']}
|
|
800
|
+
detail = f"{service}: {status['status']} | Error: {status['error']}"
|
|
801
801
|
status_groups[overall].append(detail)
|
|
802
802
|
|
|
803
803
|
# Define order and emojis
|
|
@@ -816,8 +816,10 @@ def wait_for_healthy(
|
|
|
816
816
|
for detail in sorted(group):
|
|
817
817
|
logger.info(f" - {detail}")
|
|
818
818
|
|
|
819
|
-
# Check if all healthy
|
|
820
|
-
|
|
819
|
+
# Check if all healthy using the 'healthy' bool
|
|
820
|
+
all_healthy = all(status.get('healthy', False) for status in detailed_health.values())
|
|
821
|
+
|
|
822
|
+
if all_healthy:
|
|
821
823
|
logger.info(f"🎉 ALL SERVICES HEALTHY! Completed in {elapsed:.1f}s after {attempt} attempts")
|
|
822
824
|
return True
|
|
823
825
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|