Commit 8996954c authored by Sergio Gonzalez Diaz's avatar Sergio Gonzalez Diaz
Browse files

Update .gitlab-ci.yml update monitoring yml for pytest artifacts

parent 749b15a4
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ test monitoring pytest:
  needs:
    - build monitoring
  script:
    - docker build -t "$IMAGE_NAME_TEST:$IMAGE_TAG" -f ./src/$IMAGE_NAME/tests/Dockerfile ./src/ > pytest_report.txt
    - docker build -t "$IMAGE_NAME_TEST:$IMAGE_TAG" -f ./src/$IMAGE_NAME/tests/Dockerfile ./src/ > pytest_report.xml
  rules:
    - changes:
      - src/$IMAGE_NAME/*.{py,in,yml}
@@ -84,9 +84,8 @@ test monitoring pytest:
      - .gitlab-ci.yml
  artifacts:
      when: always
      paths:
        - pytest_report.txt
      expire_in: 1 day
      reports:
        junit: pytest_report.xml

# Deployment of the monitoring service in Kubernetes Cluster
#deploy monitoring development: