infrahub-testcontainers 1.6.3__py3-none-any.whl → 1.7.0b0__py3-none-any.whl
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/container.py +3 -3
- infrahub_testcontainers/docker-compose-cluster.test.yml +7 -7
- infrahub_testcontainers/docker-compose.test.yml +13 -5
- {infrahub_testcontainers-1.6.3.dist-info → infrahub_testcontainers-1.7.0b0.dist-info}/METADATA +2 -2
- {infrahub_testcontainers-1.6.3.dist-info → infrahub_testcontainers-1.7.0b0.dist-info}/RECORD +7 -7
- {infrahub_testcontainers-1.6.3.dist-info → infrahub_testcontainers-1.7.0b0.dist-info}/WHEEL +0 -0
- {infrahub_testcontainers-1.6.3.dist-info → infrahub_testcontainers-1.7.0b0.dist-info}/entry_points.txt +0 -0
|
@@ -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:
|
|
34
|
-
"CACHE_DOCKER_IMAGE": "redis:
|
|
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.
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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/
|
|
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:
|
|
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:
|
|
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.
|
|
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:
|
|
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/
|
|
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"]
|
{infrahub_testcontainers-1.6.3.dist-info → infrahub_testcontainers-1.7.0b0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: infrahub-testcontainers
|
|
3
|
-
Version: 1.
|
|
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.
|
|
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
|
{infrahub_testcontainers-1.6.3.dist-info → infrahub_testcontainers-1.7.0b0.dist-info}/RECORD
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
infrahub_testcontainers/__init__.py,sha256=oPpmesGgYBSdKTg1L37FGwYBeao1EHury5SJGul-CT8,216
|
|
2
2
|
infrahub_testcontainers/constants.py,sha256=mZ4hLvcf4rKk9wC7EId4MQxAY0sk4V99deB04N0J2bg,85
|
|
3
|
-
infrahub_testcontainers/container.py,sha256=
|
|
4
|
-
infrahub_testcontainers/docker-compose-cluster.test.yml,sha256=
|
|
5
|
-
infrahub_testcontainers/docker-compose.test.yml,sha256=
|
|
3
|
+
infrahub_testcontainers/container.py,sha256=srRxg37jO5ag7JZXVEu4jXMrqsi075SCMIuEinvby9c,25344
|
|
4
|
+
infrahub_testcontainers/docker-compose-cluster.test.yml,sha256=YJAan6wdhRD99PmkewfqCE7rH0G_3seBKpG9dcHxbcc,15123
|
|
5
|
+
infrahub_testcontainers/docker-compose.test.yml,sha256=yeoPMgpr6VPu3FYUFySWl68kZq2YdlYDxfJ4EUR58OI,11886
|
|
6
6
|
infrahub_testcontainers/haproxy.cfg,sha256=QUkG2Xu-hKoknPOeYKAkBT_xJH6U9CfIS0DTMFZJsnk,1305
|
|
7
7
|
infrahub_testcontainers/helpers.py,sha256=7Cat-Q4bcblg5oLvMW1lwMZ7fxxc5Ba9Q2pvATNcR-A,4883
|
|
8
8
|
infrahub_testcontainers/host.py,sha256=Z4_gGoGKKeM_HGVS7SdYL1FTNGyLBk8wzicdSKHpfmM,1486
|
|
@@ -11,7 +11,7 @@ infrahub_testcontainers/models.py,sha256=hT7WEX2o7gxTFPE9uhtP5yigKgP5YSsy2c3tFB-
|
|
|
11
11
|
infrahub_testcontainers/performance_test.py,sha256=_nf7Uk15mHwqpN4y7XUfI4JI54-UaXW-Yu4uwMIx21w,6185
|
|
12
12
|
infrahub_testcontainers/plugin.py,sha256=I3RuZQ0dARyKHuqCf0y1Yj731P2Mwf3BJUehRJKeWrs,5645
|
|
13
13
|
infrahub_testcontainers/prometheus.yml,sha256=610xQEyj3xuVJMzPkC4m1fRnCrjGpiRBrXA2ytCLa54,599
|
|
14
|
-
infrahub_testcontainers-1.
|
|
15
|
-
infrahub_testcontainers-1.
|
|
16
|
-
infrahub_testcontainers-1.
|
|
17
|
-
infrahub_testcontainers-1.
|
|
14
|
+
infrahub_testcontainers-1.7.0b0.dist-info/METADATA,sha256=1C_HnsDtjoI8NlQmIfCC9FNnRy2arnTFl5cH7lxs91g,946
|
|
15
|
+
infrahub_testcontainers-1.7.0b0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
infrahub_testcontainers-1.7.0b0.dist-info/entry_points.txt,sha256=uHwc-_eS-K8pDJG7czSOhx3kt6cDswqyDiUJc84K0C8,77
|
|
17
|
+
infrahub_testcontainers-1.7.0b0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|