infrahub-testcontainers 1.5.5__tar.gz → 1.6.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.
- infrahub_testcontainers-1.6.0b0/.gitignore +50 -0
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/PKG-INFO +12 -15
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/docker-compose-cluster.test.yml +1 -1
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/docker-compose.test.yml +1 -1
- infrahub_testcontainers-1.6.0b0/pyproject.toml +65 -0
- infrahub_testcontainers-1.5.5/pyproject.toml +0 -51
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/README.md +0 -0
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/__init__.py +0 -0
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/constants.py +0 -0
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/container.py +0 -0
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/haproxy.cfg +0 -0
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/helpers.py +0 -0
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/host.py +0 -0
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/measurements.py +0 -0
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/models.py +0 -0
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/performance_test.py +0 -0
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/plugin.py +0 -0
- {infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/prometheus.yml +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.coverage
|
|
2
|
+
coverage.xml
|
|
3
|
+
*junit*
|
|
4
|
+
*.pyc
|
|
5
|
+
*.env
|
|
6
|
+
script.py
|
|
7
|
+
**/*.local.*
|
|
8
|
+
local/*
|
|
9
|
+
.vscode/settings.json
|
|
10
|
+
node_modules/*
|
|
11
|
+
development/docker-compose.override.yml
|
|
12
|
+
development/docker-compose.dev-override.yml
|
|
13
|
+
.DS_Store
|
|
14
|
+
.python-version
|
|
15
|
+
.venv/*
|
|
16
|
+
.ruff_cache
|
|
17
|
+
**/.ruff_cache
|
|
18
|
+
**/.idea/**
|
|
19
|
+
dist/*
|
|
20
|
+
|
|
21
|
+
# As we might run collect command from this repo
|
|
22
|
+
support_logs_*
|
|
23
|
+
|
|
24
|
+
# Direnv files (https://direnv.net/)
|
|
25
|
+
.direnv/
|
|
26
|
+
.envrc
|
|
27
|
+
|
|
28
|
+
docs/build
|
|
29
|
+
|
|
30
|
+
storage/*
|
|
31
|
+
sandbox/*
|
|
32
|
+
.coverage.*
|
|
33
|
+
python_sdk/dist/*
|
|
34
|
+
.benchmarks/*
|
|
35
|
+
|
|
36
|
+
# Test reports
|
|
37
|
+
**/*.csv
|
|
38
|
+
!backend/tests/unit/**/data_export/*.csv
|
|
39
|
+
|
|
40
|
+
# Generated files
|
|
41
|
+
generated/
|
|
42
|
+
query_performance_results/
|
|
43
|
+
sync/dist/
|
|
44
|
+
helm/charts/
|
|
45
|
+
helm/Chart.lock
|
|
46
|
+
|
|
47
|
+
python_testcontainers/dist/*
|
|
48
|
+
python_testcontainers/infrahub_testcontainers.egg-info/*
|
|
49
|
+
|
|
50
|
+
schema/node_modules/*
|
|
@@ -1,29 +1,26 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: infrahub-testcontainers
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.6.0b0
|
|
4
4
|
Summary: Testcontainers instance for Infrahub to easily build integration tests
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Author-email: info@opsmill.com
|
|
8
|
-
|
|
5
|
+
Project-URL: Homepage, https://opsmill.com
|
|
6
|
+
Project-URL: Repository, https://github.com/opsmill/infrahub
|
|
7
|
+
Author-email: OpsMill <info@opsmill.com>
|
|
8
|
+
License-Expression: Apache-2.0
|
|
9
9
|
Classifier: Intended Audience :: Developers
|
|
10
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
11
10
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
13
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
14
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
-
|
|
18
|
-
Requires-
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
|
+
Requires-Dist: httpx<0.28
|
|
18
|
+
Requires-Dist: prefect-client==3.5.0
|
|
19
19
|
Requires-Dist: psutil
|
|
20
|
-
Requires-Dist: pydantic
|
|
20
|
+
Requires-Dist: pydantic<3,>=2.10.6
|
|
21
21
|
Requires-Dist: pytest
|
|
22
|
-
Requires-Dist: testcontainers
|
|
23
|
-
Project-URL: Homepage, https://opsmill.com
|
|
24
|
-
Project-URL: Repository, https://github.com/opsmill/infrahub
|
|
22
|
+
Requires-Dist: testcontainers<4.9,>=4.8
|
|
25
23
|
Description-Content-Type: text/markdown
|
|
26
24
|
|
|
27
25
|
|
|
28
26
|
# Infrahub Testcontainers
|
|
29
|
-
|
|
@@ -196,7 +196,7 @@ services:
|
|
|
196
196
|
|
|
197
197
|
WEB_CONCURRENCY: ${INFRAHUB_TESTING_TASKMGR_API_WORKERS:-1}
|
|
198
198
|
healthcheck:
|
|
199
|
-
test: /
|
|
199
|
+
test: curl -s -f -o /dev/null http://localhost:4200/api/health || exit 1
|
|
200
200
|
interval: 5s
|
|
201
201
|
timeout: 5s
|
|
202
202
|
retries: 20
|
|
@@ -107,7 +107,7 @@ services:
|
|
|
107
107
|
|
|
108
108
|
WEB_CONCURRENCY: ${INFRAHUB_TESTING_TASKMGR_API_WORKERS:-1}
|
|
109
109
|
healthcheck:
|
|
110
|
-
test: /
|
|
110
|
+
test: curl -s -f -o /dev/null http://localhost:4200/api/health || exit 1
|
|
111
111
|
interval: 5s
|
|
112
112
|
timeout: 5s
|
|
113
113
|
retries: 20
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "infrahub-testcontainers"
|
|
3
|
+
version = "1.6.0b0"
|
|
4
|
+
requires-python = ">=3.10"
|
|
5
|
+
|
|
6
|
+
description = "Testcontainers instance for Infrahub to easily build integration tests"
|
|
7
|
+
authors = [{ name = "OpsMill", email = "info@opsmill.com" }]
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
license = "Apache-2.0"
|
|
10
|
+
classifiers = [
|
|
11
|
+
"Intended Audience :: Developers",
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"Programming Language :: Python :: 3.10",
|
|
14
|
+
"Programming Language :: Python :: 3.11",
|
|
15
|
+
"Programming Language :: Python :: 3.12",
|
|
16
|
+
"Programming Language :: Python :: 3.13",
|
|
17
|
+
"Programming Language :: Python :: 3.14",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
dependencies = [
|
|
21
|
+
"testcontainers>=4.8,<4.9",
|
|
22
|
+
"psutil",
|
|
23
|
+
"pytest",
|
|
24
|
+
"httpx<0.28",
|
|
25
|
+
"pydantic>=2.10.6,<3",
|
|
26
|
+
"prefect-client==3.5.0",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[project.urls]
|
|
30
|
+
Homepage = "https://opsmill.com"
|
|
31
|
+
Repository = "https://github.com/opsmill/infrahub"
|
|
32
|
+
|
|
33
|
+
[project.entry-points.pytest11]
|
|
34
|
+
pytest-infrahub-performance-test = "infrahub_testcontainers.plugin"
|
|
35
|
+
|
|
36
|
+
[dependency-groups]
|
|
37
|
+
dev = [
|
|
38
|
+
"rich>=13.9.4,<14",
|
|
39
|
+
"pytest-cov==7.0.0",
|
|
40
|
+
"pytest-xdist>=3.4,<3.5",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
[tool.ruff]
|
|
44
|
+
line-length = 120
|
|
45
|
+
target-version = "py39"
|
|
46
|
+
|
|
47
|
+
[tool.hatch.build.targets.sdist]
|
|
48
|
+
include = [
|
|
49
|
+
"infrahub_testcontainers",
|
|
50
|
+
"infrahub_testcontainers/docker-compose.test.yml",
|
|
51
|
+
"infrahub_testcontainers/haproxy.cfg",
|
|
52
|
+
"infrahub_testcontainers/prometheus.yml",
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
[tool.hatch.build.targets.wheel]
|
|
56
|
+
include = [
|
|
57
|
+
"infrahub_testcontainers",
|
|
58
|
+
"infrahub_testcontainers/docker-compose.test.yml",
|
|
59
|
+
"infrahub_testcontainers/haproxy.cfg",
|
|
60
|
+
"infrahub_testcontainers/prometheus.yml",
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
[build-system]
|
|
64
|
+
requires = ["hatchling"]
|
|
65
|
+
build-backend = "hatchling.build"
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
[project]
|
|
2
|
-
name = "infrahub-testcontainers"
|
|
3
|
-
version = "1.5.5"
|
|
4
|
-
requires-python = ">=3.9"
|
|
5
|
-
|
|
6
|
-
[tool.poetry]
|
|
7
|
-
name = "infrahub-testcontainers"
|
|
8
|
-
version = "1.5.5"
|
|
9
|
-
description = "Testcontainers instance for Infrahub to easily build integration tests"
|
|
10
|
-
authors = ["OpsMill <info@opsmill.com>"]
|
|
11
|
-
readme = "README.md"
|
|
12
|
-
license = "Apache-2.0"
|
|
13
|
-
homepage = "https://opsmill.com"
|
|
14
|
-
repository = "https://github.com/opsmill/infrahub"
|
|
15
|
-
packages = [{ include = "infrahub_testcontainers" }]
|
|
16
|
-
classifiers = [
|
|
17
|
-
"Intended Audience :: Developers",
|
|
18
|
-
"Programming Language :: Python :: 3",
|
|
19
|
-
"Programming Language :: Python :: 3.9",
|
|
20
|
-
"Programming Language :: Python :: 3.10",
|
|
21
|
-
"Programming Language :: Python :: 3.11",
|
|
22
|
-
"Programming Language :: Python :: 3.12",
|
|
23
|
-
"Programming Language :: Python :: 3.13",
|
|
24
|
-
]
|
|
25
|
-
|
|
26
|
-
include = ["infrahub_testcontainers/docker-compose.test.yml", "infrahub_testcontainers/docker-compose-cluster.test.yml", "infrahub_testcontainers/haproxy.cfg", "infrahub_testcontainers/prometheus.yml"]
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
[tool.setuptools.package-data]
|
|
30
|
-
infrahub_testcontainers = ["docker-compose.test.yml", "docker-compose-cluster.test.yml", "haproxy.cfg", "prometheus.yml"]
|
|
31
|
-
|
|
32
|
-
[tool.poetry.plugins."pytest11"]
|
|
33
|
-
"pytest-infrahub-performance-test" = "infrahub_testcontainers.plugin"
|
|
34
|
-
|
|
35
|
-
[tool.poetry.dependencies]
|
|
36
|
-
python = "^3.9, < 3.14"
|
|
37
|
-
testcontainers = "~4.8"
|
|
38
|
-
psutil = "*"
|
|
39
|
-
pytest = "*"
|
|
40
|
-
httpx = "^0.28.1"
|
|
41
|
-
pydantic = "^2.10.6"
|
|
42
|
-
prefect-client = "3.4.23"
|
|
43
|
-
|
|
44
|
-
[tool.poetry.group.dev.dependencies]
|
|
45
|
-
rich = "^13.9.4"
|
|
46
|
-
pytest-cov = "7.0.0"
|
|
47
|
-
pytest-xdist = "~3.4"
|
|
48
|
-
|
|
49
|
-
[tool.ruff]
|
|
50
|
-
line-length = 120
|
|
51
|
-
target-version = "py39"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/helpers.py
RENAMED
|
File without changes
|
{infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/host.py
RENAMED
|
File without changes
|
|
File without changes
|
{infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/models.py
RENAMED
|
File without changes
|
|
File without changes
|
{infrahub_testcontainers-1.5.5 → infrahub_testcontainers-1.6.0b0}/infrahub_testcontainers/plugin.py
RENAMED
|
File without changes
|
|
File without changes
|