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

EuCNC24: Updated CI/CD pipeline descriptor

parent ef5f9b3f
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,7 @@ end2end_test eucnc24: ...@@ -46,8 +46,7 @@ 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
- sudo containerlab destroy --all - sudo containerlab destroy --all --cleanup || true
- sudo containerlab destroy --cleanup
script: script:
# Download Docker image to run the test # Download Docker image to run the test
...@@ -113,8 +112,7 @@ end2end_test eucnc24: ...@@ -113,8 +112,7 @@ 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
- sudo containerlab destroy --all - sudo containerlab destroy --all --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