Commit 673008a3 authored by Mohamad Rahhal's avatar Mohamad Rahhal
Browse files

Update file .gitlab-ci.yml

parent e5568457
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ build ryu-openflow:


# Deploy TeraFlowSDN and Execute end-2-end test
end2end_test_ryu-openflow:
end2end_test ryu-openflow:
  timeout: 90m
  variables:
    TEST_NAME: 'ryu-openflow'
@@ -90,10 +90,10 @@ end2end_test_ryu-openflow:
#    - containerlab deploy --reconfigure --topo ryu-openflow.clab.yml
#    - cd $RUNNER_PATH

    - docker network rm tfs-test-net || true
    - docker network create -d bridge --subnet=172.254.254.0/24 --gateway=172.254.254.1 tfs-test-ryu
    - docker run -d --name ryu --network tfs-test-ryu --ip 172.254.254.10 "${CI_REGISTRY_IMAGE}/${TEST_NAME}-ryu:${IMAGE_TAG}"
    - docker run -d --name mininet --network tfs-test-ryu "${CI_REGISTRY_IMAGE}/${TEST_NAME}-mininet:${IMAGE_TAG}"
  #  - docker network rm tfs-test-net || true
  #  - docker network create -d bridge --subnet=172.254.254.0/24 --gateway=172.254.254.1 tfs-test-ryu
  #  - docker run -d --name ryu --network tfs-test-ryu --ip 172.254.254.10 "${CI_REGISTRY_IMAGE}/${TEST_NAME}-ryu:${IMAGE_TAG}"
  #  - docker run -d --name mininet --network tfs-test-ryu "${CI_REGISTRY_IMAGE}/${TEST_NAME}-mininet:${IMAGE_TAG}"

#    # Wait for initialization of Device NOSes
    - sleep 10