Skip to content

Commit

Permalink
chore: fix local redis tests (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
StarpTech authored Apr 14, 2024
1 parent df3dc37 commit 781b00a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/router-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
redis:
# Docker Hub image
image: redis:7
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
Expand Down Expand Up @@ -94,6 +100,12 @@ jobs:
redis:
# Docker Hub image
image: redis:7
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
credentials:
username: ${{secrets.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ services:
ports:
- '4317:4317' # otlpgrpc
- '4318:4318' # otlphttp
- '8888:8888' # prometheus metrics
restart: unless-stopped
depends_on:
- clickhouse
Expand Down
3 changes: 1 addition & 2 deletions docker/redis/redis.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
maxmemory 100mb
maxmemory-policy noeviction
save 60 1
appendonly no
requirepass test
appendonly no

0 comments on commit 781b00a

Please sign in to comment.