devservices 1.0.11__tar.gz → 1.0.13__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.
- {devservices-1.0.11 → devservices-1.0.13}/PKG-INFO +1 -1
- {devservices-1.0.11 → devservices-1.0.13}/README.md +1 -1
- {devservices-1.0.11 → devservices-1.0.13}/devservices/constants.py +2 -1
- {devservices-1.0.11 → devservices-1.0.13}/devservices/main.py +2 -1
- {devservices-1.0.11 → devservices-1.0.13}/devservices.egg-info/PKG-INFO +1 -1
- {devservices-1.0.11 → devservices-1.0.13}/pyproject.toml +1 -1
- {devservices-1.0.11 → devservices-1.0.13}/tests/commands/test_up.py +1 -1
- {devservices-1.0.11 → devservices-1.0.13}/LICENSE.md +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/__init__.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/commands/__init__.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/commands/down.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/commands/list_dependencies.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/commands/list_services.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/commands/logs.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/commands/purge.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/commands/status.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/commands/up.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/commands/update.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/configs/service_config.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/exceptions.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/utils/__init__.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/utils/check_for_update.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/utils/console.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/utils/dependencies.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/utils/devenv.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/utils/docker.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/utils/docker_compose.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/utils/file_lock.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/utils/install_binary.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/utils/services.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices/utils/state.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices.egg-info/SOURCES.txt +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices.egg-info/dependency_links.txt +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices.egg-info/entry_points.txt +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices.egg-info/requires.txt +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/devservices.egg-info/top_level.txt +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/setup.cfg +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/testing/__init__.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/testing/utils.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/__init__.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/commands/test_down.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/commands/test_list_dependencies.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/commands/test_list_services.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/commands/test_logs.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/commands/test_purge.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/commands/test_status.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/commands/test_update.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/configs/test_service_config.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/conftest.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/utils/test_check_for_update.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/utils/test_dependencies.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/utils/test_docker.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/utils/test_docker_compose.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/utils/test_install_binary.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/utils/test_services.py +0 -0
- {devservices-1.0.11 → devservices-1.0.13}/tests/utils/test_state.py +0 -0
|
@@ -37,5 +37,6 @@ DEVSERVICES_LATEST_VERSION_CACHE_FILE = os.path.join(
|
|
|
37
37
|
DEVSERVICES_CACHE_DIR, "latest_version.txt"
|
|
38
38
|
)
|
|
39
39
|
DEVSERVICES_LATEST_VERSION_CACHE_TTL = timedelta(minutes=15)
|
|
40
|
-
|
|
40
|
+
# Healthcheck timeout set to 2 minutes to account for slow healthchecks
|
|
41
|
+
HEALTHCHECK_TIMEOUT = 120
|
|
41
42
|
HEALTHCHECK_INTERVAL = 5
|
|
@@ -35,6 +35,7 @@ sentry_environment = (
|
|
|
35
35
|
|
|
36
36
|
disable_sentry = os.environ.get("DEVSERVICES_DISABLE_SENTRY", default=False)
|
|
37
37
|
logging.basicConfig(level=logging.INFO)
|
|
38
|
+
current_version = metadata.version("devservices")
|
|
38
39
|
|
|
39
40
|
if not disable_sentry:
|
|
40
41
|
init(
|
|
@@ -44,6 +45,7 @@ if not disable_sentry:
|
|
|
44
45
|
enable_tracing=True,
|
|
45
46
|
integrations=[ArgvIntegration()],
|
|
46
47
|
environment=sentry_environment,
|
|
48
|
+
release=current_version,
|
|
47
49
|
)
|
|
48
50
|
username = getpass.getuser()
|
|
49
51
|
set_user({"username": username})
|
|
@@ -56,7 +58,6 @@ def cleanup() -> None:
|
|
|
56
58
|
|
|
57
59
|
def main() -> None:
|
|
58
60
|
console = Console()
|
|
59
|
-
current_version = metadata.version("devservices")
|
|
60
61
|
set_tag("devservices_version", current_version)
|
|
61
62
|
try:
|
|
62
63
|
check_docker_compose_version()
|
|
@@ -556,7 +556,7 @@ def test_up_docker_compose_container_healthcheck_failed(
|
|
|
556
556
|
assert "Starting clickhouse" in captured.out.strip()
|
|
557
557
|
assert "Starting redis" in captured.out.strip()
|
|
558
558
|
assert (
|
|
559
|
-
"Container container1 did not become healthy within
|
|
559
|
+
"Container container1 did not become healthy within 120 seconds."
|
|
560
560
|
in captured.out.strip()
|
|
561
561
|
)
|
|
562
562
|
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|