Skip to content
Snippets Groups Projects
Commit a8616fde authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Fix GitLab CI/CD pipeline

parent 1ddadc4c
No related branches found
No related tags found
2 merge requests!359Release TeraFlowSDN 5.0,!286Resolve "(CTTC) Implement integration test between E2E-IP-Optical SDN Controllers"
......@@ -96,7 +96,12 @@ unit_test nbi:
--env IETF_NETWORK_RENDERER=LIBYANG
--env "KFK_SERVER_ADDRESS=${KAFKA_IP}:9092"
$CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG
- while ! docker logs $IMAGE_NAME 2>&1 | grep -q 'Initialization completed'; do sleep 1; done
- >
while ! docker logs $IMAGE_NAME 2>&1 | grep -q 'Initialization completed'; do
echo "NBI log, last 20 lines:"
docker logs $IMAGE_NAME | tail -n 20
sleep 10;
done
- sleep 5 # Give extra time to NBI to get ready
- docker ps -a
- docker logs kafka
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment