utils_devops 0.1.160__tar.gz → 0.1.161__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.160 → utils_devops-0.1.161}/PKG-INFO +1 -1
- {utils_devops-0.1.160 → utils_devops-0.1.161}/pyproject.toml +1 -1
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/extras/docker_ops.py +4 -3
- {utils_devops-0.1.160 → utils_devops-0.1.161}/README.md +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/__init__.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/core/__init__.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/core/datetimes.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/core/envs.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/core/files.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/core/logs.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/core/script_helpers.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/core/strings.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/core/systems.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/extras/__init__.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/extras/aws_ops.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/extras/git_ops.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/extras/interaction_ops.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/extras/metrics_ops.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/extras/network_ops.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/extras/nginx_ops.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/extras/notification_ops.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/extras/performance_ops.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/src/utils_devops/extras/ssh_ops.py +0 -0
- {utils_devops-0.1.160 → utils_devops-0.1.161}/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.161
|
|
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.161" # 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"
|
|
@@ -2304,14 +2304,14 @@ def playwright_test_compose(
|
|
|
2304
2304
|
new_version = _update_env_version(env_file=env_file, source=version_source, logger=logger)
|
|
2305
2305
|
if new_version:
|
|
2306
2306
|
logger.info(f"{STICKERS['success']} Version updated to {new_version}")
|
|
2307
|
-
envs.set_system_env(key='STATIC_CAPTCHA', value='true')
|
|
2308
2307
|
else:
|
|
2309
2308
|
logger.info(f"{STICKERS['info']} Version update skipped (dry run)")
|
|
2310
2309
|
logger.info("")
|
|
2311
2310
|
|
|
2312
2311
|
# STEP 2: Environment
|
|
2313
2312
|
if not dry_run:
|
|
2314
|
-
envs.
|
|
2313
|
+
envs.dotenv_set_key(env_file,"STATIC_CAPTCHA","true")
|
|
2314
|
+
|
|
2315
2315
|
|
|
2316
2316
|
# STEP 3: Application stack
|
|
2317
2317
|
logger.info(f"{STICKERS['info']} STEP 3: Starting application stack")
|
|
@@ -2348,6 +2348,7 @@ def playwright_test_compose(
|
|
|
2348
2348
|
logger.info(f"{STICKERS['info']} STEP 4: Starting Playwright runner")
|
|
2349
2349
|
if not dry_run:
|
|
2350
2350
|
logger.info(f"{STICKERS['info']} Project: {project_name_playwright}")
|
|
2351
|
+
resolve_conflicts(playwright_compose_file,remove_conflicting_containers=True)
|
|
2351
2352
|
up_success = compose_up(
|
|
2352
2353
|
playwright_compose_file,
|
|
2353
2354
|
services=playwright_services,
|
|
@@ -4628,7 +4629,7 @@ def resolve_conflicts(
|
|
|
4628
4629
|
remove_conflicting_containers: bool = False,
|
|
4629
4630
|
remove_conflicting_networks: bool = False,
|
|
4630
4631
|
remove_conflicting_volumes: bool = False,
|
|
4631
|
-
force: bool =
|
|
4632
|
+
force: bool = True,
|
|
4632
4633
|
project_name: Optional[str] = None,
|
|
4633
4634
|
env_file: Optional[str] = None
|
|
4634
4635
|
) -> Dict[str, Any]:
|
|
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
|