Commit 88dbd2f2 authored by Sergio Gonzalez Diaz's avatar Sergio Gonzalez Diaz
Browse files

Unit tests monitoring

parent 726f0ce7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -99,10 +99,11 @@ unit test monitoring:
    - docker ps -a
    - docker exec -i $IMAGE_NAME bash -c "pytest --junitxml=/opt/results/report.xml"
    - ls $PWD/src/$IMAGE_NAME/tests
    - cat $PWD/src/$IMAGE_NAME/tests/report.xml
  after_script:
    - docker network rm teraflowbridge
    - docker stop $IMAGE_NAME
    - docker stop influxdb
    - docker network rm teraflowbridge
    - docker rm $IMAGE_NAME
    - docker rm influxdb
  rules:
@@ -118,7 +119,7 @@ unit test monitoring:
  artifacts:
      when: always
      reports:
        junit: src/$IMAGE_NAME/tests/report.xml
        junit: $PWD/src/$IMAGE_NAME/tests/report.xml

# Deployment of the monitoring service in testing Kubernetes Cluster
deploy monitoring test: