utils_devops 0.1.168__py3-none-any.whl → 0.1.169__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.
- utils_devops/extras/docker_ops.py +31 -0
- {utils_devops-0.1.168.dist-info → utils_devops-0.1.169.dist-info}/METADATA +1 -1
- {utils_devops-0.1.168.dist-info → utils_devops-0.1.169.dist-info}/RECORD +5 -5
- {utils_devops-0.1.168.dist-info → utils_devops-0.1.169.dist-info}/WHEEL +0 -0
- {utils_devops-0.1.168.dist-info → utils_devops-0.1.169.dist-info}/entry_points.txt +0 -0
|
@@ -2346,6 +2346,37 @@ def playwright_test_compose(
|
|
|
2346
2346
|
logger.info(f"{STICKERS['success']} Validation complete")
|
|
2347
2347
|
logger.info("")
|
|
2348
2348
|
|
|
2349
|
+
if skip_project_up :
|
|
2350
|
+
# Step 4: Health checks (single phase with total timeout)
|
|
2351
|
+
if not dry_run:
|
|
2352
|
+
logger.info("🏥 Step 4: Performing health checks...")
|
|
2353
|
+
health_success, health_details = _perform_health_checks(
|
|
2354
|
+
compose_file=compose_file,
|
|
2355
|
+
services=services,
|
|
2356
|
+
timeout=50,
|
|
2357
|
+
interval=1,
|
|
2358
|
+
logger=logger,
|
|
2359
|
+
env_file=env_file
|
|
2360
|
+
)
|
|
2361
|
+
|
|
2362
|
+
result["steps"]["health_check"] = health_details
|
|
2363
|
+
result["health_status"] = health_details.get("service_status", {})
|
|
2364
|
+
|
|
2365
|
+
# Identify failing services (any not 'healthy')
|
|
2366
|
+
failing_services = [
|
|
2367
|
+
svc for svc, status in health_details.get("service_status", {}).items()
|
|
2368
|
+
if status.get("overall_status") != "healthy"
|
|
2369
|
+
]
|
|
2370
|
+
result["failing_services"] = failing_services
|
|
2371
|
+
|
|
2372
|
+
if health_success:
|
|
2373
|
+
logger.info("✅ All services healthy!")
|
|
2374
|
+
result["success"] = True
|
|
2375
|
+
else:
|
|
2376
|
+
logger.error(f"❌ Health checks failed for {len(failing_services)} services: {failing_services}")
|
|
2377
|
+
result["success"] = False
|
|
2378
|
+
skip_project_up = False
|
|
2379
|
+
|
|
2349
2380
|
# STEP 1: Version update
|
|
2350
2381
|
if update_version and not skip_project_up :
|
|
2351
2382
|
logger.info(f"{STICKERS['info']} STEP 1: Updating version")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: utils_devops
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.169
|
|
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
|
|
12
|
+
utils_devops/extras/docker_ops.py,sha256=-ZdlmyJZEvXKOK7a130oCLJOES9LzXiqwuhFw9MBn1s,199809
|
|
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=hTOYzyWmnZWzOLeZbCoZRLxSJiBmr0QgS_87qks-CYk,76305
|
|
21
21
|
utils_devops/extras/vault_ops.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
|
-
utils_devops-0.1.
|
|
23
|
-
utils_devops-0.1.
|
|
24
|
-
utils_devops-0.1.
|
|
25
|
-
utils_devops-0.1.
|
|
22
|
+
utils_devops-0.1.169.dist-info/METADATA,sha256=PxPjbHemG288yCIUoL5-mLtR3pveXzroUtymUMamosA,1903
|
|
23
|
+
utils_devops-0.1.169.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
24
|
+
utils_devops-0.1.169.dist-info/entry_points.txt,sha256=ei3B6ZL5yu6dOq-U1r8wsBdkXeg63RAyV7m8_ADaE6k,53
|
|
25
|
+
utils_devops-0.1.169.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|