Publish curated ITWorx_MCP_Hub source from 6881b54064f5077391e2a4711917ac54f12a877e
This commit is contained in:
1 parent
cdd8187376
commit
f92819e332
4 files changed
+16
-7
No files matched your search
@@ -1,3 +1,3 @@
|
||||
# Public source export
|
||||
|
||||
This source snapshot was generated from the private canonical repository at revision `2a948b17b420decaa9eda9f5754647e4c518bf1e`. It contains no private Git history or operational evidence. Changes are published from the canonical repository.
|
||||
This source snapshot was generated from the private canonical repository at revision `6881b54064f5077391e2a4711917ac54f12a877e`. It contains no private Git history or operational evidence. Changes are published from the canonical repository.
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"sourceRevision": "2a948b17b420decaa9eda9f5754647e4c518bf1e",
|
||||
"sourceRevision": "6881b54064f5077391e2a4711917ac54f12a877e",
|
||||
"files": [
|
||||
{
|
||||
"path": ".dockerignore",
|
||||
@@ -1999,7 +1999,7 @@
|
||||
},
|
||||
{
|
||||
"path": "infrastructure/compose/docker-compose.yml",
|
||||
"sha256": "785fccbc1f43912416dd934b3ff926eb236e3ad4b577344ae61e17f1d4ca9e88",
|
||||
"sha256": "5071e83745b659bf920624a8a28dc86017ea225b900fe42cfce176bd75885fef",
|
||||
"bytes": 27747
|
||||
},
|
||||
{
|
||||
@@ -3069,8 +3069,8 @@
|
||||
},
|
||||
{
|
||||
"path": "tests/test_compose.py",
|
||||
"sha256": "f38ebacf3c4a9fdb510a8adaf3043a1b542537a0afdf9c9a27aab0a90518bf0e",
|
||||
"bytes": 16265
|
||||
"sha256": "2d02f6106ae5bf7cd28e7e5202be7ed721dd9f527f2228ba7df5dcb4a7d9be87",
|
||||
"bytes": 16814
|
||||
},
|
||||
{
|
||||
"path": "tests/test_contextforge.py",
|
||||
|
||||
@@ -29,7 +29,7 @@ x-third-party: &third-party
|
||||
services:
|
||||
postgres:
|
||||
<<: *third-party
|
||||
image: postgres:18.4@sha256:3a82e1f56c8f0f5616a11103ac3d47e632c3938698946a7ad26da0df1334744a
|
||||
image: postgres:18.6@sha256:0377e72c5289ed2f98cf61b1a9c2db9eb9d300317fe14244492fbc94343b3d04
|
||||
entrypoint: ["sh", "/opt/itworx/postgres-entrypoint.sh"]
|
||||
command: ["postgres"]
|
||||
environment:
|
||||
@@ -53,7 +53,7 @@ services:
|
||||
|
||||
redis:
|
||||
<<: *third-party
|
||||
image: redis:8.10.0@sha256:c29e49ab2f85760a3827b53882e6dd9f5c6c3f0bb7d724e07bb31cbf275a5236
|
||||
image: redis:8.10.2@sha256:7ef5b5cec96495a04ca7feff88a9492efeab8053fb284d24bdd73344c9245a48
|
||||
entrypoint: ["sh", "/opt/itworx/redis-entrypoint.sh"]
|
||||
environment:
|
||||
REDIS_AUTH_ENABLED: "${REDIS_AUTH_ENABLED:-false}"
|
||||
|
||||
@@ -62,6 +62,15 @@ class ComposeContractTests(unittest.TestCase):
|
||||
self.assertNotIn("ports", document["services"]["postgres"])
|
||||
self.assertNotIn("ports", document["services"]["redis"])
|
||||
|
||||
def test_integration_uses_the_production_database_artifacts(self) -> None:
|
||||
path = ROOT / "infrastructure/compose/docker-compose.wp050-integration.yml"
|
||||
integration = yaml.safe_load(path.read_text(encoding="utf-8"))
|
||||
for name in ("postgres", "redis"):
|
||||
with self.subTest(service=name):
|
||||
image = self.document["services"][name]["image"]
|
||||
self.assertRegex(image, r"^[a-z]+:[0-9.]+@sha256:[0-9a-f]{64}$")
|
||||
self.assertEqual(integration["services"][name]["image"], image)
|
||||
|
||||
def test_inspector_is_lan_only_optional_profile(self) -> None:
|
||||
inspector = self.document["services"]["inspector"]
|
||||
self.assertEqual(inspector.get("profiles"), ["inspector"])
|
||||
|
||||
Reference in new issue
Block a user