infrahub-testcontainers 1.6.3__tar.gz → 1.7.0b0__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 (17) hide show
  1. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/.gitignore +1 -1
  2. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/PKG-INFO +2 -2
  3. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/container.py +3 -3
  4. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/docker-compose-cluster.test.yml +7 -7
  5. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/docker-compose.test.yml +13 -5
  6. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/pyproject.toml +2 -2
  7. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/README.md +0 -0
  8. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/__init__.py +0 -0
  9. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/constants.py +0 -0
  10. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/haproxy.cfg +0 -0
  11. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/helpers.py +0 -0
  12. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/host.py +0 -0
  13. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/measurements.py +0 -0
  14. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/models.py +0 -0
  15. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/performance_test.py +0 -0
  16. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/plugin.py +0 -0
  17. {infrahub_testcontainers-1.6.3 → infrahub_testcontainers-1.7.0b0}/infrahub_testcontainers/prometheus.yml +0 -0
@@ -6,7 +6,7 @@ coverage.xml
6
6
  script.py
7
7
  **/*.local.*
8
8
  local/*
9
- .vscode/settings.json
9
+ **/.vscode/settings.json
10
10
  node_modules/*
11
11
  development/docker-compose.override.yml
12
12
  development/docker-compose.dev-override.yml
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: infrahub-testcontainers
3
- Version: 1.6.3
3
+ Version: 1.7.0b0
4
4
  Summary: Testcontainers instance for Infrahub to easily build integration tests
5
5
  Project-URL: Homepage, https://opsmill.com
6
6
  Project-URL: Repository, https://github.com/opsmill/infrahub
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.13
15
15
  Classifier: Programming Language :: Python :: 3.14
16
16
  Requires-Python: >=3.10
17
17
  Requires-Dist: httpx<0.28
18
- Requires-Dist: prefect-client==3.5.0
18
+ Requires-Dist: prefect-client==3.6.7
19
19
  Requires-Dist: psutil
20
20
  Requires-Dist: pydantic<3,>=2.10.6
21
21
  Requires-Dist: pytest
@@ -30,8 +30,8 @@ INFRAHUB_SERVICES: dict[str, ContainerService] = {
30
30
  }
31
31
 
32
32
  PROJECT_ENV_VARIABLES: dict[str, str] = {
33
- "MESSAGE_QUEUE_DOCKER_IMAGE": "rabbitmq:3.13.7-management",
34
- "CACHE_DOCKER_IMAGE": "redis:7.2.11",
33
+ "MESSAGE_QUEUE_DOCKER_IMAGE": "rabbitmq:4.2.1-management",
34
+ "CACHE_DOCKER_IMAGE": "redis:8.4.0",
35
35
  "INFRAHUB_TESTING_DOCKER_IMAGE": "registry.opsmill.io/opsmill/infrahub",
36
36
  "INFRAHUB_TESTING_DOCKER_ENTRYPOINT": f"gunicorn --config backend/infrahub/serve/gunicorn_config.py -w {os.environ.get('INFRAHUB_TESTING_WEB_CONCURRENCY', '4')} --logger-class infrahub.serve.log.GunicornLogger infrahub.server:app", # noqa: E501
37
37
  "INFRAHUB_TESTING_IMAGE_VERSION": infrahub_version,
@@ -152,7 +152,7 @@ class InfrahubDockerCompose(DockerCompose):
152
152
  "INFRAHUB_TESTING_DOCKER_ENTRYPOINT": f"gunicorn --config community/backend/infrahub/serve/gunicorn_config.py -w {os.environ.get('INFRAHUB_TESTING_WEB_CONCURRENCY', '4')} --logger-class infrahub.serve.log.GunicornLogger infrahub_enterprise.server:app", # noqa: E501
153
153
  "INFRAHUB_TESTING_WORKFLOW_DEFAULT_WORKER_TYPE": "infrahubentasync",
154
154
  "INFRAHUB_TESTING_PREFECT_UI_ENABLED": "false",
155
- "NEO4J_DOCKER_IMAGE": "neo4j:2025.03.0-enterprise",
155
+ "NEO4J_DOCKER_IMAGE": "neo4j:2025.10.1-enterprise",
156
156
  }
157
157
  )
158
158
  if os.environ.get("INFRAHUB_TESTING_TASKMGR_SCALEOUT"):
@@ -22,7 +22,7 @@ x-neo4j-config-common: &neo4j-config-common
22
22
 
23
23
  services:
24
24
  message-queue:
25
- image: ${MESSAGE_QUEUE_DOCKER_IMAGE:-rabbitmq:3.13.7-management}
25
+ image: ${MESSAGE_QUEUE_DOCKER_IMAGE:-rabbitmq:4.2.1-management}
26
26
  restart: unless-stopped
27
27
  environment:
28
28
  RABBITMQ_DEFAULT_USER: infrahub
@@ -37,7 +37,7 @@ services:
37
37
  - ${INFRAHUB_TESTING_MESSAGE_QUEUE_PORT:-0}:15692
38
38
 
39
39
  cache:
40
- image: ${CACHE_DOCKER_IMAGE:-redis:7.2.11}
40
+ image: ${CACHE_DOCKER_IMAGE:-redis:8.4.0}
41
41
  restart: unless-stopped
42
42
  healthcheck:
43
43
  test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
@@ -67,7 +67,7 @@ services:
67
67
  limits:
68
68
  cpus: ${INFRAHUB_TESTING_DB_CPU_LIMIT}
69
69
  memory: ${INFRAHUB_TESTING_DB_MEMORY_LIMIT}
70
- image: "${DATABASE_DOCKER_IMAGE:-neo4j:5.20.0-enterprise}"
70
+ image: "${DATABASE_DOCKER_IMAGE:-neo4j:2025.10.1-enterprise}"
71
71
  restart: unless-stopped
72
72
  environment:
73
73
  <<: *neo4j-config-common
@@ -100,7 +100,7 @@ services:
100
100
  limits:
101
101
  cpus: ${INFRAHUB_TESTING_DB_CPU_LIMIT}
102
102
  memory: ${INFRAHUB_TESTING_DB_MEMORY_LIMIT}
103
- image: "${DATABASE_DOCKER_IMAGE:-neo4j:5.20.0-enterprise}"
103
+ image: "${DATABASE_DOCKER_IMAGE:-neo4j:2025.10.1-enterprise}"
104
104
  environment:
105
105
  <<: *neo4j-config-common
106
106
  NEO4J_metrics_prometheus_endpoint: 0.0.0.0:2005
@@ -135,7 +135,7 @@ services:
135
135
  limits:
136
136
  cpus: ${INFRAHUB_TESTING_DB_CPU_LIMIT}
137
137
  memory: ${INFRAHUB_TESTING_DB_MEMORY_LIMIT}
138
- image: "${DATABASE_DOCKER_IMAGE:-neo4j:5.20.0-enterprise}"
138
+ image: "${DATABASE_DOCKER_IMAGE:-neo4j:2025.10.1-enterprise}"
139
139
  environment:
140
140
  <<: *neo4j-config-common
141
141
  NEO4J_metrics_prometheus_endpoint: 0.0.0.0:2006
@@ -240,14 +240,14 @@ services:
240
240
  PREFECT_SERVER_SERVICES_TASK_RUN_RECORDER_ENABLED: "true"
241
241
 
242
242
  task-manager-db:
243
- image: "${POSTGRES_DOCKER_IMAGE:-postgres:16-alpine}"
243
+ image: "${POSTGRES_DOCKER_IMAGE:-postgres:18-alpine}"
244
244
  command: postgres -c 'max_connections=${INFRAHUB_TESTING_TASK_MANAGER_DB_MAX_CONNECTIONS:-100}'
245
245
  environment:
246
246
  - POSTGRES_USER=postgres
247
247
  - POSTGRES_PASSWORD=postgres
248
248
  - POSTGRES_DB=prefect
249
249
  volumes:
250
- - workflow_db:/var/lib/postgresql/data
250
+ - workflow_db:/var/lib/postgresql/18/docker
251
251
  - "./${INFRAHUB_TESTING_LOCAL_DB_BACKUP_DIRECTORY}:${INFRAHUB_TESTING_INTERNAL_DB_BACKUP_DIRECTORY}"
252
252
  healthcheck:
253
253
  test: ["CMD-SHELL", "pg_isready"]
@@ -5,7 +5,7 @@
5
5
  # https://docs.infrahub.app/reference/configuration
6
6
  services:
7
7
  message-queue:
8
- image: ${MESSAGE_QUEUE_DOCKER_IMAGE:-rabbitmq:3.13.7-management}
8
+ image: ${MESSAGE_QUEUE_DOCKER_IMAGE:-rabbitmq:4.2.1-management}
9
9
  restart: unless-stopped
10
10
  environment:
11
11
  RABBITMQ_DEFAULT_USER: infrahub
@@ -20,7 +20,7 @@ services:
20
20
  - ${INFRAHUB_TESTING_MESSAGE_QUEUE_PORT:-0}:15692
21
21
 
22
22
  cache:
23
- image: ${CACHE_DOCKER_IMAGE:-redis:7.2.11}
23
+ image: ${CACHE_DOCKER_IMAGE:-redis:8.4.0}
24
24
  restart: unless-stopped
25
25
  healthcheck:
26
26
  test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
@@ -50,7 +50,7 @@ services:
50
50
  limits:
51
51
  cpus: ${INFRAHUB_TESTING_DB_CPU_LIMIT:-0.0}
52
52
  memory: ${INFRAHUB_TESTING_DB_MEMORY_LIMIT:-0}
53
- image: ${NEO4J_DOCKER_IMAGE:-neo4j:2025.03.0-community}
53
+ image: ${NEO4J_DOCKER_IMAGE:-neo4j:2025.10.1-community}
54
54
  restart: unless-stopped
55
55
  environment:
56
56
  NEO4J_AUTH: neo4j/admin
@@ -150,15 +150,23 @@ services:
150
150
  PREFECT_SERVER_SERVICES_TRIGGERS_ENABLED: "true"
151
151
  PREFECT_SERVER_SERVICES_TASK_RUN_RECORDER_ENABLED: "true"
152
152
 
153
+ PREFECT_SERVER_SERVICES_EVENT_PERSISTER_READ_BATCH_SIZE:
154
+ PREFECT_SERVER_SERVICES_EVENT_PERSISTER_BATCH_SIZE:
155
+ PREFECT_SERVER_SERVICES_EVENT_PERSISTER_BATCH_SIZE_DELETE:
156
+ PREFECT_SERVER_SERVICES_EVENT_PERSISTER_FLUSH_INTERVAL:
157
+
158
+ PREFECT_SERVER_SERVICES_TASK_RUN_RECORDER_BATCH_SIZE:
159
+ PREFECT_SERVER_SERVICES_TASK_RUN_RECORDER_FLUSH_INTERVAL:
160
+
153
161
  task-manager-db:
154
- image: "${POSTGRES_DOCKER_IMAGE:-postgres:16-alpine}"
162
+ image: "${POSTGRES_DOCKER_IMAGE:-postgres:18-alpine}"
155
163
  command: postgres -c 'max_connections=${INFRAHUB_TESTING_TASK_MANAGER_DB_MAX_CONNECTIONS:-100}'
156
164
  environment:
157
165
  - POSTGRES_USER=postgres
158
166
  - POSTGRES_PASSWORD=postgres
159
167
  - POSTGRES_DB=prefect
160
168
  volumes:
161
- - workflow_db:/var/lib/postgresql/data
169
+ - workflow_db:/var/lib/postgresql/18/docker
162
170
  - "./${INFRAHUB_TESTING_LOCAL_DB_BACKUP_DIRECTORY}:${INFRAHUB_TESTING_INTERNAL_DB_BACKUP_DIRECTORY}"
163
171
  healthcheck:
164
172
  test: ["CMD-SHELL", "pg_isready"]
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "infrahub-testcontainers"
3
- version = "1.6.3"
3
+ version = "1.7.0b0"
4
4
  requires-python = ">=3.10"
5
5
 
6
6
  description = "Testcontainers instance for Infrahub to easily build integration tests"
@@ -23,7 +23,7 @@ dependencies = [
23
23
  "pytest",
24
24
  "httpx<0.28",
25
25
  "pydantic>=2.10.6,<3",
26
- "prefect-client==3.5.0",
26
+ "prefect-client==3.6.7",
27
27
  ]
28
28
 
29
29
  [project.urls]