Skip to content

Commit

Permalink
ci: fail opi-test if any specific tests fail
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb committed Aug 10, 2023
1 parent a3eccaf commit d7d7f54
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ services:
healthcheck:
test: grpcurl -plaintext localhost:50151 list || exit 1

opi-test-evpn:
opi-evpn-test:
build:
context: .
networks:
Expand All @@ -85,7 +85,7 @@ services:
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:
opi-smbios-test:
build:
context: .
networks:
Expand All @@ -95,7 +95,7 @@ services:
condition: service_healthy
command: inventory get --addr opi-smbios-server:50051

opi-test:
opi-storage-test:
build:
context: .
networks:
Expand All @@ -105,5 +105,14 @@ services:
condition: service_healthy
command: storage test --addr opi-spdk-server:50051

opi-test:
image: docker.io/library/alpine:3.18
networks:
- opi
depends_on:
- opi-evpn-test
- opi-smbios-test
- opi-storage-test

networks:
opi:

0 comments on commit d7d7f54

Please sign in to comment.