Skip to content

Commit

Permalink
ci(evpn): add evpn bridge to compose for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb committed Aug 9, 2023
1 parent 3c70a19 commit 8fd02c4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,26 @@ services:
healthcheck:
test: grpcurl -plaintext localhost:50051 list || exit 1

opi-evpn-server:
image: docker.io/opiproject/opi-evpn-bridge:main
cap_add:
- NET_ADMIN
networks:
- opi
command: /opi-evpn-bridge -port=50151
healthcheck:
test: grpcurl -plaintext localhost:50151 list || exit 1

opi-test-evpn:
build:
context: .
networks:
- opi
depends_on:
opi-evpn-server:
condition: service_healthy
command: evpn create-vrf --name blue --vni 100 --vtep 10.0.0.100/24 --loopback 10.100.0.1/24 --addr opi-evpn-server:50151

opi-test-smbios:
build:
context: .
Expand Down

0 comments on commit 8fd02c4

Please sign in to comment.