@onlineapps/conn-orch-validator 10.0.0 → 11.0.0
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.
- package/CHANGELOG.md +173 -0
- package/README.md +254 -10
- package/docs/DESIGN.md +11 -2
- package/manifests/biz-service.manifest.json +28 -1
- package/package.json +2 -1
- package/src/CookbookTestRunner.js +50 -6
- package/src/ValidationOrchestrator.js +244 -58
- package/src/cli/biz-ci-gate.js +163 -1
- package/src/cli/oa-validate.js +63 -1
- package/src/manifest/checks/gitTracked.js +5 -30
- package/src/manifest/checks/serviceDb.js +176 -7
- package/src/manifest/checks/serviceRuntime.js +123 -0
- package/src/manifest/gitCheckout.js +84 -0
- package/src/utils/dbAccountGrants.js +126 -0
- package/src/utils/envContract.js +36 -6
- package/src/utils/envReads.js +102 -0
- package/src/utils/stepReferences.js +278 -0
- package/src/validators/ServiceStructureValidator.js +7 -1
- package/templates/business-service/.gitlab-ci.yml +108 -10
- package/templates/business-service/Dockerfile +49 -16
- package/templates/business-service/README.md +42 -4
- package/templates/business-service/config/env-templates/shared.env +1 -1
- package/templates/business-service/docker-compose.production.yml +9 -0
- package/templates/business-service/docker-compose.yml +17 -0
|
@@ -80,6 +80,23 @@ services:
|
|
|
80
80
|
mem_limit: 1g
|
|
81
81
|
volumes:
|
|
82
82
|
- .:/app
|
|
83
|
+
# The runner's OWN conn-runtime, and the reason it is a volume rather than
|
|
84
|
+
# a second bind mount. `conn-runtime/validation-proof.json` is an assertion
|
|
85
|
+
# about ONE running instance
|
|
86
|
+
# (docs/biz/50-lifecycle/validation-responsibilities.md § Data Flow), and
|
|
87
|
+
# with `.:/app` alone the runner writes it into the directory the SERVICE
|
|
88
|
+
# reads — measured in api_biz/converter on 2026-09-16, where a proof
|
|
89
|
+
# produced by a probe schema stood in the place of the service's own.
|
|
90
|
+
#
|
|
91
|
+
# ANONYMOUS on purpose: F-RUNNER holds this block and
|
|
92
|
+
# `oa-sync-template docker-compose.yml` writes this block and nothing else,
|
|
93
|
+
# so a named volume would reach every service without the top-level
|
|
94
|
+
# `volumes:` key that declares it and `docker compose config` would refuse
|
|
95
|
+
# the document. Docker seeds the volume from the IMAGE at that path, which
|
|
96
|
+
# is why the Dockerfile's development stage creates /app/conn-runtime and
|
|
97
|
+
# gives it to uid 1000 — without that, docker creates it root-owned and the
|
|
98
|
+
# runner cannot write it at all.
|
|
99
|
+
- /app/conn-runtime
|
|
83
100
|
env_file:
|
|
84
101
|
- ./config/env-active/shared.env
|
|
85
102
|
- ./config/env-active/__SERVICE_NAME__.env
|