Commit d8709e30 authored by Javi Moreno's avatar Javi Moreno
Browse files

Changes in the pytest job

parent 5cbf2ca7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -74,8 +74,8 @@ test monitoring run:
# apply unit test to the monitoring component
test monitoring pytest:
  stage: test
  needs:
    - test monitoring run
  before_script:
    - if docker network list | grep teraflowbridge; then echo "teraflowbridge is already created"; else docker network create -d bridge teraflowbridge; fi
  script:
    - docker run -d -p 7070:7070 --name monitoring-test --network=teraflowbridge --rm "$IMAGE_NAME:$IMAGE_TAG"
    - docker exec -it monitoring-test bash