utils_devops 0.1.142__tar.gz → 0.1.143__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.
Files changed (24) hide show
  1. {utils_devops-0.1.142 → utils_devops-0.1.143}/PKG-INFO +1 -1
  2. {utils_devops-0.1.142 → utils_devops-0.1.143}/pyproject.toml +1 -1
  3. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/extras/docker_ops.py +2 -2
  4. {utils_devops-0.1.142 → utils_devops-0.1.143}/README.md +0 -0
  5. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/__init__.py +0 -0
  6. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/core/__init__.py +0 -0
  7. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/core/datetimes.py +0 -0
  8. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/core/envs.py +0 -0
  9. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/core/files.py +0 -0
  10. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/core/logs.py +0 -0
  11. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/core/script_helpers.py +0 -0
  12. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/core/strings.py +0 -0
  13. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/core/systems.py +0 -0
  14. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/extras/__init__.py +0 -0
  15. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/extras/aws_ops.py +0 -0
  16. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/extras/git_ops.py +0 -0
  17. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/extras/interaction_ops.py +0 -0
  18. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/extras/metrics_ops.py +0 -0
  19. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/extras/network_ops.py +0 -0
  20. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/extras/nginx_ops.py +0 -0
  21. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/extras/notification_ops.py +0 -0
  22. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/extras/performance_ops.py +0 -0
  23. {utils_devops-0.1.142 → utils_devops-0.1.143}/src/utils_devops/extras/ssh_ops.py +0 -0
  24. {utils_devops-0.1.142 → utils_devops-0.1.143}/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.142
3
+ Version: 0.1.143
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.142" # Bumped for new string features + diffing
3
+ version = "0.1.143" # 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("--no-pull")
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: {up_result.get('error', 'Unknown error')}")
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