Skip to content

Commit

Permalink
add collection of post mortem logs when pipeline fails
Browse files Browse the repository at this point in the history
Signed-off-by: Serguei Bezverkhi <[email protected]>
  • Loading branch information
sbezverk committed Jul 14, 2023
1 parent 3f5c476 commit bd14436
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,18 @@ jobs:
- name: starts unicast v4 integration test
run: docker compose -f ./build/unicastv4-bgp/test_bed.yml up --detach
- name: check conection to kafka and bmp session with a router
id: session
run: ./build/monitor_container.sh gobmp
continue-on-error: true
- name: run validator for ipv4 unicast
id: validation
run: ./bin/validator --validate=true --kafka=127.0.0.1:9092 --msg-file=./testdata/validator/ipv4_unicast.msg
continue-on-error: true
- name: Check on failures
if: steps.session.outcome != 'success' || steps.validation.outcome != 'success'
run: |
docker ps -a
docker logs gobmp
docker logs xr-1
exit 1

0 comments on commit bd14436

Please sign in to comment.