File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ jobs:
4242 yq eval '.services.backend.environment += ["MONGO_ROOT_PASSWORD=testpassword"]' -i docker-compose.ci.yaml
4343 # Disable OpenTelemetry SDK during tests to avoid exporter retries
4444 yq eval '.services.backend.environment += ["OTEL_SDK_DISABLED=true"]' -i docker-compose.ci.yaml
45-
46- # For the mongo service
47- yq eval '.services.mongo.environment += ["MONGO_ROOT_USER= testroot"] ' -i docker-compose.ci.yaml
48- yq eval '.services.mongo.environment += ["MONGO_ROOT_PASSWORD= testpassword"] ' -i docker-compose.ci.yaml
45+
46+ # For the mongo service (environment is a map, not a list)
47+ yq eval '.services.mongo.environment.MONGO_INITDB_ROOT_USERNAME = " testroot"' -i docker-compose.ci.yaml
48+ yq eval '.services.mongo.environment.MONGO_INITDB_ROOT_PASSWORD = " testpassword"' -i docker-compose.ci.yaml
4949
5050 # For the cert-generator service
5151 yq eval '.services.cert-generator.extra_hosts += ["host.docker.internal:host-gateway"]' -i docker-compose.ci.yaml
You can’t perform that action at this time.
0 commit comments