Skip to content

Commit

Permalink
test(evpn): use redis for evpn server
Browse files Browse the repository at this point in the history
Signed-off-by: Artsiom Koltun <[email protected]>
  • Loading branch information
artek-koltun authored and glimchb committed Oct 24, 2023
1 parent ee738a7 commit dc8db6b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ services:
start_period: 20s
timeout: 10s

redis:
image: redis:7.2.2-alpine3.18
networks:
- opi
healthcheck:
test: ["CMD", "redis-cli", "--raw", "incr", "ping"]

opi-spdk-server:
image: docker.io/opiproject/opi-spdk-bridge:main
volumes_from:
Expand Down Expand Up @@ -74,9 +81,12 @@ services:
- NET_ADMIN
networks:
- opi
command: /opi-evpn-bridge -grpc_port=50151 -http_port=8082
command: /opi-evpn-bridge -grpc_port=50151 -http_port=8082 -redis_addr="redis:6379"
healthcheck:
test: grpcurl -plaintext localhost:50151 list || exit 1
depends_on:
redis:
condition: service_healthy

opi-evpn-test:
build:
Expand Down

0 comments on commit dc8db6b

Please sign in to comment.