Skip to content
Snippets Groups Projects
Commit ef5f9b3f authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

EuCNC24: Updated CI/CD pipeline descriptor

parent 70aff520
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!172Resolve "(CTTC) Extend gNMI-OpenConfig SBI driver"
...@@ -46,8 +46,8 @@ end2end_test eucnc24: ...@@ -46,8 +46,8 @@ end2end_test eucnc24:
before_script: before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - 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 - if docker ps -a | grep ${TEST_NAME}; then docker rm -f ${TEST_NAME}; fi
- containerlab destroy --all - sudo containerlab destroy --all
- containerlab destroy --cleanup - sudo containerlab destroy --cleanup
script: script:
# Download Docker image to run the test # Download Docker image to run the test
...@@ -58,7 +58,7 @@ end2end_test eucnc24: ...@@ -58,7 +58,7 @@ end2end_test eucnc24:
- kubectl get pods --all-namespaces - kubectl get pods --all-namespaces
# Deploy ContainerLab Scenario # 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 # Wait for initialization of Device NOSes
- sleep 3 - sleep 3
...@@ -113,8 +113,8 @@ end2end_test eucnc24: ...@@ -113,8 +113,8 @@ end2end_test eucnc24:
# Destroy Scenario # Destroy Scenario
- if docker ps -a | grep ${TEST_NAME}; then docker rm -f ${TEST_NAME}; fi - if docker ps -a | grep ${TEST_NAME}; then docker rm -f ${TEST_NAME}; fi
- containerlab destroy --all - sudo containerlab destroy --all
- containerlab destroy --cleanup - sudo containerlab destroy --cleanup
- kubectl delete namespaces tfs crdb qdb - kubectl delete namespaces tfs crdb qdb
- helm3 uninstall --namespace nats nats - helm3 uninstall --namespace nats nats
- kubectl delete namespace nats - kubectl delete namespace nats
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment