utils_devops 0.1.142__tar.gz → 0.1.144__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.142 → utils_devops-0.1.144}/PKG-INFO +1 -1
- {utils_devops-0.1.142 → utils_devops-0.1.144}/pyproject.toml +1 -1
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/extras/docker_ops.py +2 -2
- {utils_devops-0.1.142 → utils_devops-0.1.144}/README.md +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/__init__.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/core/__init__.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/core/datetimes.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/core/envs.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/core/files.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/core/logs.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/core/script_helpers.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/core/strings.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/core/systems.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/extras/__init__.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/extras/aws_ops.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/extras/git_ops.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/extras/interaction_ops.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/extras/metrics_ops.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/extras/network_ops.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/extras/nginx_ops.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/extras/notification_ops.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/extras/performance_ops.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/src/utils_devops/extras/ssh_ops.py +0 -0
- {utils_devops-0.1.142 → utils_devops-0.1.144}/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.144
|
|
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.144" # 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"
|
|
@@ -560,7 +560,7 @@ def compose_up(compose_file: str, services: Optional[List[str]] = None,
|
|
|
560
560
|
cmd.append("--no-build")
|
|
561
561
|
logger.info("🔨 Forbidden Building images before starting...")
|
|
562
562
|
if no_pull:
|
|
563
|
-
cmd.append("--
|
|
563
|
+
cmd.append("--pull" , "never")
|
|
564
564
|
logger.info("⬇️ Forbidden Pulling latest images before starting...")
|
|
565
565
|
if services:
|
|
566
566
|
cmd.extend(services)
|
|
@@ -2382,7 +2382,7 @@ def test_compose(
|
|
|
2382
2382
|
)
|
|
2383
2383
|
# Assuming compose_up returns a dict with 'success'; adjust if needed
|
|
2384
2384
|
if up_result is not True: # If it doesn't raise, check result
|
|
2385
|
-
raise DockerOpsError(f"Compose up failed:
|
|
2385
|
+
raise DockerOpsError(f"Compose up failed: 'Fial to docker compose up for Unknown error'")
|
|
2386
2386
|
except Exception as e:
|
|
2387
2387
|
result["error"] = str(e)
|
|
2388
2388
|
logger.error(f"❌ Compose up failed: {e}")
|
|
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
|