Commit e0121a0a authored by Mohamad Rahhal's avatar Mohamad Rahhal
Browse files

Update file .gitlab-ci.yml

parent aa1ee702
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -87,7 +87,13 @@ end2end_test ryu-openflow:
    ###- docker network create -d bridge --subnet=172.254.254.0/24 --gateway=172.254.254.1 tfs-test-ryu
    - docker network create -d bridge --subnet=172.20.0.0/24 --gateway=172.20.0.1 tfs-test-ryu
    - docker run -d --name ryu --network tfs-test-ryu --ip 172.20.0.10 "${CI_REGISTRY_IMAGE}/${TEST_NAME}-ryu:${IMAGE_TAG}"
    - sleep 30
    - |
      echo "Waiting for Ryu to be ready..."
      until curl -s http://172.20.0.10:8080 >/dev/null; do
        echo "Still waiting..."
        sleep 5
      done
      echo "Ryu is ready!"
    - docker run -d --name mininet --network tfs-test-ryu "${CI_REGISTRY_IMAGE}/${TEST_NAME}-mininet:${IMAGE_TAG}"
#
    ## Wait for initialization of Device NOSes