infrahub-testcontainers 1.7.0rc0__tar.gz → 1.7.2__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.
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/PKG-INFO +2 -2
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/docker-compose-cluster.test.yml +16 -10
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/docker-compose.test.yml +11 -10
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/performance_test.py +1 -1
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/pyproject.toml +2 -2
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/.gitignore +0 -0
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/README.md +0 -0
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/__init__.py +0 -0
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/constants.py +0 -0
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/container.py +0 -0
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/haproxy.cfg +0 -0
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/helpers.py +0 -0
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/host.py +0 -0
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/measurements.py +0 -0
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/models.py +0 -0
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/plugin.py +0 -0
- {infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/prometheus.yml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: infrahub-testcontainers
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.2
|
|
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.20
|
|
18
|
-
Requires-Dist: prefect-client==3.6.
|
|
18
|
+
Requires-Dist: prefect-client==3.6.13
|
|
19
19
|
Requires-Dist: psutil
|
|
20
20
|
Requires-Dist: pydantic<3,>=2.10.6
|
|
21
21
|
Requires-Dist: pytest
|
|
@@ -13,10 +13,10 @@ x-neo4j-config-common: &neo4j-config-common
|
|
|
13
13
|
NEO4J_server_metrics_filter: '*'
|
|
14
14
|
NEO4J_server_cluster_system__database__mode: PRIMARY
|
|
15
15
|
NEO4J_initial_server_mode__constraint: PRIMARY
|
|
16
|
-
|
|
16
|
+
NEO4J_dbms_cluster_endpoints: database:6000,database-core2:6000,database-core3:6000
|
|
17
17
|
NEO4J_initial_dbms_default__primaries__count: 3
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
NEO4J_server_memory_heap_initial__size: ${INFRAHUB_TESTING_DB_HEAP_INITIAL_SIZE}
|
|
19
|
+
NEO4J_server_memory_heap_max__size: ${INFRAHUB_TESTING_DB_HEAP_MAX_SIZE}
|
|
20
20
|
NEO4J_server_memory_pagecache_size: ${INFRAHUB_TESTING_DB_PAGECACHE_SIZE}
|
|
21
21
|
|
|
22
22
|
|
|
@@ -73,7 +73,6 @@ services:
|
|
|
73
73
|
<<: *neo4j-config-common
|
|
74
74
|
NEO4J_metrics_prometheus_endpoint: 0.0.0.0:2004
|
|
75
75
|
NEO4J_server_backup_listen__address: 0.0.0.0:6362
|
|
76
|
-
NEO4J_server_discovery_advertised__address: database:5000
|
|
77
76
|
NEO4J_server_cluster_advertised__address: database:6000
|
|
78
77
|
NEO4J_server_cluster_raft_advertised__address: database:7000
|
|
79
78
|
NEO4J_server_bolt_advertised__address: database:7687
|
|
@@ -105,7 +104,6 @@ services:
|
|
|
105
104
|
<<: *neo4j-config-common
|
|
106
105
|
NEO4J_metrics_prometheus_endpoint: 0.0.0.0:2005
|
|
107
106
|
NEO4J_server_backup_listen__address: 0.0.0.0:6363
|
|
108
|
-
NEO4J_server_discovery_advertised__address: database-core2:5000
|
|
109
107
|
NEO4J_server_cluster_advertised__address: database-core2:6000
|
|
110
108
|
NEO4J_server_cluster_raft_advertised__address: database-core2:7000
|
|
111
109
|
NEO4J_server_bolt_advertised__address: database-core2:7687
|
|
@@ -140,7 +138,6 @@ services:
|
|
|
140
138
|
<<: *neo4j-config-common
|
|
141
139
|
NEO4J_metrics_prometheus_endpoint: 0.0.0.0:2006
|
|
142
140
|
NEO4J_server_backup_listen__address: 0.0.0.0:6364
|
|
143
|
-
NEO4J_server_discovery_advertised__address: database-core3:5000
|
|
144
141
|
NEO4J_server_cluster_advertised__address: database-core3:6000
|
|
145
142
|
NEO4J_server_cluster_raft_advertised__address: database-core3:7000
|
|
146
143
|
NEO4J_server_bolt_advertised__address: database-core3:7687
|
|
@@ -179,8 +176,8 @@ services:
|
|
|
179
176
|
INFRAHUB_CACHE_ADDRESS: ${INFRAHUB_TESTING_CACHE_ADDRESS}
|
|
180
177
|
PREFECT_REDIS_MESSAGING_HOST: "${INFRAHUB_TESTING_CACHE_ADDRESS:-cache}"
|
|
181
178
|
PREFECT_REDIS_MESSAGING_DB: "1"
|
|
182
|
-
PREFECT_REDIS_MESSAGING_CONSUMER_MIN_IDLE_TIME:
|
|
183
|
-
PREFECT_REDIS_MESSAGING_PUBLISHER_BATCH_SIZE:
|
|
179
|
+
PREFECT_REDIS_MESSAGING_CONSUMER_MIN_IDLE_TIME: ${INFRAHUB_TESTING_TASKMGR_CONSUMER_MIN_IDLE_TIME:-5}
|
|
180
|
+
PREFECT_REDIS_MESSAGING_PUBLISHER_BATCH_SIZE: ${INFRAHUB_TESTING_TASKMGR_PUBLISHER_BATCH_SIZE:-5}
|
|
184
181
|
|
|
185
182
|
PREFECT_MESSAGING_BROKER:
|
|
186
183
|
PREFECT_MESSAGING_CACHE:
|
|
@@ -231,14 +228,23 @@ services:
|
|
|
231
228
|
PREFECT_SERVER_CONCURRENCY_LEASE_STORAGE: prefect_redis.lease_storage
|
|
232
229
|
PREFECT_REDIS_MESSAGING_HOST: "${INFRAHUB_TESTING_CACHE_ADDRESS:-cache}"
|
|
233
230
|
PREFECT_REDIS_MESSAGING_DB: "1"
|
|
234
|
-
PREFECT_REDIS_MESSAGING_CONSUMER_MIN_IDLE_TIME:
|
|
235
|
-
PREFECT_REDIS_MESSAGING_PUBLISHER_BATCH_SIZE:
|
|
231
|
+
PREFECT_REDIS_MESSAGING_CONSUMER_MIN_IDLE_TIME: ${INFRAHUB_TESTING_TASKMGR_CONSUMER_MIN_IDLE_TIME:-5}
|
|
232
|
+
PREFECT_REDIS_MESSAGING_PUBLISHER_BATCH_SIZE: ${INFRAHUB_TESTING_TASKMGR_PUBLISHER_BATCH_SIZE:-5}
|
|
236
233
|
|
|
237
234
|
PREFECT_SERVER_SERVICES_EVENT_LOGGER_ENABLED: "true"
|
|
238
235
|
PREFECT_SERVER_SERVICES_EVENT_PERSISTER_ENABLED: "true"
|
|
239
236
|
PREFECT_SERVER_SERVICES_TRIGGERS_ENABLED: "true"
|
|
240
237
|
PREFECT_SERVER_SERVICES_TASK_RUN_RECORDER_ENABLED: "true"
|
|
241
238
|
|
|
239
|
+
PREFECT_SERVER_SERVICES_EVENT_PERSISTER_READ_BATCH_SIZE: ${INFRAHUB_TESTING_TASKMGR_EVENT_PERSISTER_READ_BATCH_SIZE:-1}
|
|
240
|
+
PREFECT_SERVER_SERVICES_EVENT_PERSISTER_BATCH_SIZE: ${INFRAHUB_TESTING_TASKMGR_EVENT_PERSISTER_BATCH_SIZE:-20}
|
|
241
|
+
PREFECT_SERVER_SERVICES_EVENT_PERSISTER_BATCH_SIZE_DELETE: ${INFRAHUB_TESTING_TASKMGR_EVENT_PERSISTER_BATCH_SIZE_DELETE:-10000}
|
|
242
|
+
PREFECT_SERVER_SERVICES_EVENT_PERSISTER_FLUSH_INTERVAL: ${INFRAHUB_TESTING_TASKMGR_EVENT_PERSISTER_FLUSH_INTERVAL:-5}
|
|
243
|
+
|
|
244
|
+
PREFECT_SERVER_SERVICES_TASK_RUN_RECORDER_READ_BATCH_SIZE: ${INFRAHUB_TESTING_TASKMGR_TASK_RUN_RECORDER_READ_BATCH_SIZE:-1}
|
|
245
|
+
PREFECT_SERVER_SERVICES_TASK_RUN_RECORDER_BATCH_SIZE: ${INFRAHUB_TESTING_TASKMGR_TASK_RUN_RECORDER_BATCH_SIZE:-1}
|
|
246
|
+
PREFECT_SERVER_SERVICES_TASK_RUN_RECORDER_FLUSH_INTERVAL: ${INFRAHUB_TESTING_TASKMGR_TASK_RUN_RECORDER_FLUSH_INTERVAL:-5}
|
|
247
|
+
|
|
242
248
|
task-manager-db:
|
|
243
249
|
image: "${POSTGRES_DOCKER_IMAGE:-postgres:18-alpine}"
|
|
244
250
|
command: postgres -c 'max_connections=${INFRAHUB_TESTING_TASK_MANAGER_DB_MAX_CONNECTIONS:-100}'
|
|
@@ -90,8 +90,8 @@ services:
|
|
|
90
90
|
INFRAHUB_CACHE_ADDRESS: ${INFRAHUB_TESTING_CACHE_ADDRESS}
|
|
91
91
|
PREFECT_REDIS_MESSAGING_HOST: "${INFRAHUB_TESTING_CACHE_ADDRESS:-cache}"
|
|
92
92
|
PREFECT_REDIS_MESSAGING_DB: "1"
|
|
93
|
-
PREFECT_REDIS_MESSAGING_CONSUMER_MIN_IDLE_TIME:
|
|
94
|
-
PREFECT_REDIS_MESSAGING_PUBLISHER_BATCH_SIZE:
|
|
93
|
+
PREFECT_REDIS_MESSAGING_CONSUMER_MIN_IDLE_TIME: ${INFRAHUB_TESTING_TASKMGR_CONSUMER_MIN_IDLE_TIME:-5}
|
|
94
|
+
PREFECT_REDIS_MESSAGING_PUBLISHER_BATCH_SIZE: ${INFRAHUB_TESTING_TASKMGR_PUBLISHER_BATCH_SIZE:-5}
|
|
95
95
|
|
|
96
96
|
PREFECT_MESSAGING_BROKER:
|
|
97
97
|
PREFECT_MESSAGING_CACHE:
|
|
@@ -142,21 +142,22 @@ services:
|
|
|
142
142
|
PREFECT_SERVER_CONCURRENCY_LEASE_STORAGE: prefect_redis.lease_storage
|
|
143
143
|
PREFECT_REDIS_MESSAGING_HOST: "${INFRAHUB_TESTING_CACHE_ADDRESS:-cache}"
|
|
144
144
|
PREFECT_REDIS_MESSAGING_DB: "1"
|
|
145
|
-
PREFECT_REDIS_MESSAGING_CONSUMER_MIN_IDLE_TIME:
|
|
146
|
-
PREFECT_REDIS_MESSAGING_PUBLISHER_BATCH_SIZE:
|
|
145
|
+
PREFECT_REDIS_MESSAGING_CONSUMER_MIN_IDLE_TIME: ${INFRAHUB_TESTING_TASKMGR_CONSUMER_MIN_IDLE_TIME:-5}
|
|
146
|
+
PREFECT_REDIS_MESSAGING_PUBLISHER_BATCH_SIZE: ${INFRAHUB_TESTING_TASKMGR_PUBLISHER_BATCH_SIZE:-5}
|
|
147
147
|
|
|
148
148
|
PREFECT_SERVER_SERVICES_EVENT_LOGGER_ENABLED: "true"
|
|
149
149
|
PREFECT_SERVER_SERVICES_EVENT_PERSISTER_ENABLED: "true"
|
|
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:
|
|
153
|
+
PREFECT_SERVER_SERVICES_EVENT_PERSISTER_READ_BATCH_SIZE: ${INFRAHUB_TESTING_TASKMGR_EVENT_PERSISTER_READ_BATCH_SIZE:-1}
|
|
154
|
+
PREFECT_SERVER_SERVICES_EVENT_PERSISTER_BATCH_SIZE: ${INFRAHUB_TESTING_TASKMGR_EVENT_PERSISTER_BATCH_SIZE:-20}
|
|
155
|
+
PREFECT_SERVER_SERVICES_EVENT_PERSISTER_BATCH_SIZE_DELETE: ${INFRAHUB_TESTING_TASKMGR_EVENT_PERSISTER_BATCH_SIZE_DELETE:-10000}
|
|
156
|
+
PREFECT_SERVER_SERVICES_EVENT_PERSISTER_FLUSH_INTERVAL: ${INFRAHUB_TESTING_TASKMGR_EVENT_PERSISTER_FLUSH_INTERVAL:-5}
|
|
157
157
|
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
PREFECT_SERVER_SERVICES_TASK_RUN_RECORDER_READ_BATCH_SIZE: ${INFRAHUB_TESTING_TASKMGR_TASK_RUN_RECORDER_READ_BATCH_SIZE:-1}
|
|
159
|
+
PREFECT_SERVER_SERVICES_TASK_RUN_RECORDER_BATCH_SIZE: ${INFRAHUB_TESTING_TASKMGR_TASK_RUN_RECORDER_BATCH_SIZE:-1}
|
|
160
|
+
PREFECT_SERVER_SERVICES_TASK_RUN_RECORDER_FLUSH_INTERVAL: ${INFRAHUB_TESTING_TASKMGR_TASK_RUN_RECORDER_FLUSH_INTERVAL:-5}
|
|
160
161
|
|
|
161
162
|
task-manager-db:
|
|
162
163
|
image: "${POSTGRES_DOCKER_IMAGE:-postgres:18-alpine}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "infrahub-testcontainers"
|
|
3
|
-
version = "1.7.
|
|
3
|
+
version = "1.7.2"
|
|
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.20",
|
|
25
25
|
"pydantic>=2.10.6,<3",
|
|
26
|
-
"prefect-client==3.6.
|
|
26
|
+
"prefect-client==3.6.13",
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
[project.urls]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/host.py
RENAMED
|
File without changes
|
|
File without changes
|
{infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/models.py
RENAMED
|
File without changes
|
{infrahub_testcontainers-1.7.0rc0 → infrahub_testcontainers-1.7.2}/infrahub_testcontainers/plugin.py
RENAMED
|
File without changes
|
|
File without changes
|