Commit 7fc72404 authored by Mohamad Rahhal's avatar Mohamad Rahhal
Browse files

Update file .gitlab-ci.yml

parent cd6a36db
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -82,6 +82,8 @@ end2end_test ryu-openflow:
    - microk8s status --wait-ready
    - kubectl get pods --all-namespaces
    ##run ryu and mininet
    - docker rm -f ryu mininet || true
    - docker network rm tfs-test-ryu || 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}"
@@ -107,12 +109,12 @@ end2end_test ryu-openflow:
    - echo "TFS_REGISTRY_IMAGES=${CI_REGISTRY_IMAGE}"
##
    # Deploy TeraFlowSDN
    #- ./deploy/crdb.sh
    #- ./deploy/nats.sh
    #- ./deploy/kafka.sh
    #- ./deploy/qdb.sh
    #- ./deploy/tfs.sh
    #- ./deploy/show.sh
    - ./deploy/crdb.sh
    - ./deploy/nats.sh
    - ./deploy/kafka.sh
    - ./deploy/qdb.sh
    - ./deploy/tfs.sh
    - ./deploy/show.sh
#
#    ## Wait for Context to be subscribed to NATS
#    ## WARNING: this loop is infinite if there is no subscriber (such as monitoring).