Loading src/tests/eucnc24/.gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -46,8 +46,8 @@ end2end_test eucnc24: before_script: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - if docker ps -a | grep ${TEST_NAME}; then docker rm -f ${TEST_NAME}; fi - containerlab destroy --all - containerlab destroy --cleanup - sudo containerlab destroy --all - sudo containerlab destroy --cleanup script: # Download Docker image to run the test Loading @@ -58,7 +58,7 @@ end2end_test eucnc24: - kubectl get pods --all-namespaces # Deploy ContainerLab Scenario - containerlab deploy --topo $PWD/src/tests/${TEST_NAME}/eucnc24.clab.yml - sudo containerlab deploy --topo $PWD/src/tests/${TEST_NAME}/eucnc24.clab.yml # Wait for initialization of Device NOSes - sleep 3 Loading Loading @@ -113,8 +113,8 @@ end2end_test eucnc24: # Destroy Scenario - if docker ps -a | grep ${TEST_NAME}; then docker rm -f ${TEST_NAME}; fi - containerlab destroy --all - containerlab destroy --cleanup - sudo containerlab destroy --all - sudo containerlab destroy --cleanup - kubectl delete namespaces tfs crdb qdb - helm3 uninstall --namespace nats nats - kubectl delete namespace nats Loading Loading
src/tests/eucnc24/.gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -46,8 +46,8 @@ end2end_test eucnc24: before_script: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - if docker ps -a | grep ${TEST_NAME}; then docker rm -f ${TEST_NAME}; fi - containerlab destroy --all - containerlab destroy --cleanup - sudo containerlab destroy --all - sudo containerlab destroy --cleanup script: # Download Docker image to run the test Loading @@ -58,7 +58,7 @@ end2end_test eucnc24: - kubectl get pods --all-namespaces # Deploy ContainerLab Scenario - containerlab deploy --topo $PWD/src/tests/${TEST_NAME}/eucnc24.clab.yml - sudo containerlab deploy --topo $PWD/src/tests/${TEST_NAME}/eucnc24.clab.yml # Wait for initialization of Device NOSes - sleep 3 Loading Loading @@ -113,8 +113,8 @@ end2end_test eucnc24: # Destroy Scenario - if docker ps -a | grep ${TEST_NAME}; then docker rm -f ${TEST_NAME}; fi - containerlab destroy --all - containerlab destroy --cleanup - sudo containerlab destroy --all - sudo containerlab destroy --cleanup - kubectl delete namespaces tfs crdb qdb - helm3 uninstall --namespace nats nats - kubectl delete namespace nats Loading