utils_devops 0.1.140__py3-none-any.whl → 0.1.141__py3-none-any.whl

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.
@@ -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']} (health: {status['health']}) | Error: {status['error']}"
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
- if len(status_groups['healthy']) == len(services):
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: utils_devops
3
- Version: 0.1.140
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
@@ -9,7 +9,7 @@ utils_devops/core/strings.py,sha256=8s0GSjcyTKwLjJjsJ_XfOJxPtyb549icDlU9SUxSvHI,
9
9
  utils_devops/core/systems.py,sha256=wNbEFUAvbMPdqWN-iXvTzvj5iE9xaWfjZYYvD0EZAH0,47577
10
10
  utils_devops/extras/__init__.py,sha256=ZXHeVLHO3_qiW9AY-UQ_YA9cQzmkLGv54a2UbyvtlM0,3571
11
11
  utils_devops/extras/aws_ops.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- utils_devops/extras/docker_ops.py,sha256=gbO3fxXR22IG1ItgslK2BM4rPJAurOuP__1ZcSoNzdA,177946
12
+ utils_devops/extras/docker_ops.py,sha256=oIGLZYSb5V3Kf3DropENITjwL-KpO39XoskhABN3Vls,178011
13
13
  utils_devops/extras/git_ops.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  utils_devops/extras/interaction_ops.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  utils_devops/extras/metrics_ops.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -19,7 +19,7 @@ utils_devops/extras/notification_ops.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
19
19
  utils_devops/extras/performance_ops.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
20
  utils_devops/extras/ssh_ops.py,sha256=8I_AF0q76CJOK2qp68w1oro2SVOZ_v7b8OvgDYcE4tg,73741
21
21
  utils_devops/extras/vault_ops.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
- utils_devops-0.1.140.dist-info/METADATA,sha256=wqHTS8-GlHiKwSgGAnn3yyu1ZWuvkgSBQ17zWjGOt9A,1903
23
- utils_devops-0.1.140.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
24
- utils_devops-0.1.140.dist-info/entry_points.txt,sha256=ei3B6ZL5yu6dOq-U1r8wsBdkXeg63RAyV7m8_ADaE6k,53
25
- utils_devops-0.1.140.dist-info/RECORD,,
22
+ utils_devops-0.1.141.dist-info/METADATA,sha256=67hrO8lhrZPtEVWGB-TpuKVASqTaD4vGRC9HJtES9-U,1903
23
+ utils_devops-0.1.141.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
24
+ utils_devops-0.1.141.dist-info/entry_points.txt,sha256=ei3B6ZL5yu6dOq-U1r8wsBdkXeg63RAyV7m8_ADaE6k,53
25
+ utils_devops-0.1.141.dist-info/RECORD,,