mirror of
https://github.com/gadgethd/ukmesh.git
synced 2026-10-22 14:01:27 +00:00
fix: mount live data in compatibility probe
This commit is contained in:
1 parent
80a511faed
commit
2dca6cf0df
2 files changed
+4
No files matched your search
@@ -280,6 +280,7 @@ docker run -d \
|
||||
--name "$compat_name" \
|
||||
--network "$network_name" \
|
||||
--env-file "$compat_env" \
|
||||
--volumes-from "$current_backend_id:ro" \
|
||||
-e MQTT_INGEST_ENABLED=false \
|
||||
-e OWNER_AUTHORIZATION_MODE=shadow \
|
||||
-e OWNER_ACL_MODE=shadow \
|
||||
|
||||
@@ -259,6 +259,9 @@ run_case() {
|
||||
"${test_root}/docker.log" || true
|
||||
)"
|
||||
test "$up_count" -eq "$expected_up_count"
|
||||
grep -Eq -- \
|
||||
'^run .* --volumes-from current-backend:ro( |$)' \
|
||||
"${test_root}/docker.log"
|
||||
if [ "$signature_mode" = "keyless" ]; then
|
||||
grep -q -- '--certificate-identity-regexp' "${test_root}/cosign.log"
|
||||
grep -q -- '--certificate-oidc-issuer' "${test_root}/cosign.log"
|
||||
|
||||
Reference in new issue
Block a user