Commit a01797a9 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Update src/device/.gitlab-ci.yml

parent ad0714c7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ test unitary device:
    - 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:
@@ -51,7 +51,7 @@ deploy device:
  stage: deploy
  needs:
    - build device
    - test device
    - test unitary device
  script:
    - kubectl apply -f "manisfests/deviceservice.yaml"
  when: manual