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

Testing GitLab CI pipeline for context and device services

parent 61dc1dad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ test unitary context:
    - if docker network list | grep teraflowbridge; then echo "teraflowbridge is already created"; else docker network create -d bridge teraflowbridge; fi  
  script:
    - 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 run -d -p 1010:1010 --name $IMAGE_NAME --network=teraflowbridge "$IMAGE_NAME:$IMAGE_TAG"
    - docker ps > $IMAGE_NAME--deploy_test_report.txt
    - sleep 5
    - docker ps > $IMAGE_NAME--deploy_test_report_2.txt
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ test unitary device:
    - if docker network list | grep teraflowbridge; then echo "teraflowbridge is already created"; else docker network create -d bridge teraflowbridge; fi  
  script:
    - 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 run -d -p 2020:2020 --name $IMAGE_NAME --network=teraflowbridge "$IMAGE_NAME:$IMAGE_TAG"
    - docker ps > $IMAGE_NAME--deploy_test_report.txt
    - sleep 5
    - docker ps > $IMAGE_NAME--deploy_test_report_2.txt