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

EuCNC24: Updated CI/CD pipeline descriptor

parent 70aff520
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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
@@ -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
@@ -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