Skip to content

Commit 1ee3382

Browse files
fix: update CI test for Redis service (3 healthy services, add Redis env vars)
1 parent 5e9cdac commit 1ee3382

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,11 @@ jobs:
194194
HEALTHCHECK_SECRET=testing123
195195
TZ=UTC
196196
RADIUS_ALLOW_PRIVATE_NETWORKS=true
197+
ACCT_REDIS_ENABLED=false
198+
REDIS_HOST=redis
199+
REDIS_PORT=6379
200+
REDIS_PASSWORD=
201+
REDIS_DB=0
197202
EOF
198203
# Strip leading whitespace from .env
199204
sed -i 's/^[[:space:]]*//' .env
@@ -209,7 +214,7 @@ jobs:
209214
HEALTHY=$(docker compose ps --format json | grep -c '"healthy"' || true)
210215
TOTAL=$(docker compose ps --format json | wc -l | tr -d ' ')
211216
echo " Healthy: $HEALTHY / $TOTAL ($i/90)"
212-
if [ "$HEALTHY" -ge 2 ] 2>/dev/null; then
217+
if [ "$HEALTHY" -ge 3 ] 2>/dev/null; then
213218
echo "All services are healthy!"
214219
break
215220
fi

0 commit comments

Comments
 (0)