Commit 751c456b authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Solve error in src/context/.gitlab-ci.yml

parent d791a18e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ test unitary context:
    - docker pull "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG"
    - docker run -d -p 1010:1010 --name $IMAGE_NAME --network=teraflowbridge --rm "$IMAGE_NAME:$IMAGE_TAG"
    - docker ps > $IMAGE_NAME--deploy_test_report.txt
    - docker exec -i $IMAGE --network=teraflowbridge "pytest --log-level=DEBUG --verbose $IMAGE_NAME/tests/test_unitary.py" > $IMAGE_NAME--pytest_unitary_report.txt
    - docker exec -i $IMAGE_NAME --network=teraflowbridge "pytest --log-level=DEBUG --verbose $IMAGE_NAME/tests/test_unitary.py" > $IMAGE_NAME--pytest_unitary_report.txt
  after_script:
    - docker stop $IMAGE_NAME
  rules:
@@ -42,8 +42,8 @@ test unitary context:
  artifacts:
    when: always
    paths:
      - context--deploy_test_report.txt
      - context--pytest_unitary_report.txt
      - $IMAGE_NAME--deploy_test_report.txt
      - $IMAGE_NAME--pytest_unitary_report.txt
    expire_in: 1 day

# Deployment of the monitoring service in Kubernetes Cluster