Skip to content

Commit 96d486e

Browse files
committed
chore: fallback to legacy for workflow as we cannot modify entrypoint, and fix docker compose format
1 parent 13a7d20 commit 96d486e

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/ci-instrumentation-with-services.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,11 @@ jobs:
212212
build: true
213213
services:
214214
redis:
215-
image: redis:6.2
215+
image: bitnamilegacy/redis:6.2
216216
ports:
217217
- 6379:6379
218-
command: ["redis-server", "--appendonly", "yes", "--requirepass", "${REDIS_PASSWORD}"]
219218
options: >-
220-
--health-cmd "sh -c 'redis-cli -a \"$REDIS_PASSWORD\" ping | grep PONG'"
219+
--health-cmd "redis-cli ping"
221220
--health-interval 10s
222221
--health-timeout 5s
223222
--health-retries 5

docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,11 @@ services:
206206
ports:
207207
- "16379:6379"
208208
command: ["redis-server", "--appendonly", "yes", "--requirepass", "${REDIS_PASSWORD}"]
209-
options: >-
210-
--health-cmd "sh -c 'redis-cli -a \"$REDIS_PASSWORD\" ping | grep PONG'"
211-
--health-interval 10s
212-
--health-timeout 5s
213-
--health-retries 5
209+
healthcheck:
210+
test: ["CMD-SHELL", "sh -c 'redis-cli -a \"$REDIS_PASSWORD\" ping | grep PONG'"]
211+
interval: 10s
212+
timeout: 5s
213+
retries: 5
214214

215215
rabbitmq:
216216
image: rabbitmq:3.8-alpine

0 commit comments

Comments
 (0)