Quote installer health targets for shell and systemd readers
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s

This commit is contained in:
parkel committed 2026-11-22 23:04:17 +01:00
1 parent f50bfbc60d
commit b92edc02f5
2 files changed
+8 -3

No files matched your search

+6 -2
View File
@@ -579,8 +579,12 @@ class Installer:
f"amqp://coulobre:{self.state['broker_password']}@127.0.0.1:5672/coulobre"
),
"COULOBRE_LOCAL_DATABASE_PROVISIONING": "1",
"COULOBRE_SERVICE_HEALTH": json.dumps(
{"panel": {"local": services}}, separators=(",", ":")
"COULOBRE_SERVICE_HEALTH": (
"'"
+ json.dumps(
{"panel": {"local": services}}, separators=(",", ":")
)
+ "'"
),
}
if self.php:
+2 -1
View File
@@ -1,4 +1,5 @@
import json
import shlex
import stat
import tempfile
import unittest
@@ -69,7 +70,7 @@ class InstallerParametersTests(unittest.TestCase):
"rabbitmq",
]
self.assertEqual(
json.loads(env["COULOBRE_SERVICE_HEALTH"]),
json.loads(shlex.split(env["COULOBRE_SERVICE_HEALTH"])[0]),
{"panel": {"local": base + extras}},
)