Skip to content
Snippets Groups Projects
Commit a74ee4bf authored by Shayan Hajipour's avatar Shayan Hajipour
Browse files

debug: agg-net and nce containers removed before and after the test

parent 66363117
No related branches found
No related tags found
1 merge request!321Resolve: "(CTTC) CAMARA Demo Integration tests"
This commit is part of merge request !321. Comments created here will be created in the context of that merge request.
......@@ -28,6 +28,7 @@ end2end_test ofc25_camara_agg_net:
- docker buildx build -t "${TEST_NAME}:latest" -f ./src/tests/${TEST_NAME}/Dockerfile .
- docker buildx build -t "${IP_NAME}:latest" -f ./src/tests/tools/mock_ietf_l3vpn_sdn_ctrl/Dockerfile ./src/tests/tools/mock_ietf_l3vpn_sdn_ctrl
- docker rm -f ${TEST_NAME} || true
- docker rm -f ${IP_NAME} || true
- docker run -d --name ${IP_NAME} -p ${IP_PORT}:8443 $CI_REGISTRY_IMAGE/${IP_NAME}:latest
script:
......@@ -73,6 +74,9 @@ end2end_test ofc25_camara_agg_net:
# Destroy Scenario
- kubectl delete namespaces tfs || true
- docker rm -f ${TEST_NAME} || true
- docker rm -f ${IP_NAME} || true
# Clean old docker images
- docker images --filter="dangling=true" --quiet | xargs -r docker rmi
......
......@@ -33,6 +33,8 @@ end2end_test ofc25_camara_e2e:
- docker buildx build -t "${NCE_NAME}:latest" -f ./src/tests/tools/mock_nce_ctrl/Dockerfile ./src/tests/tools/mock_nce_ctrl
- docker buildx build -t "${AGG_NET_NAME}:latest" -f ./src/tests/tools/mock_ietf_network_slice_sdn_ctrl/Dockerfile ./src/tests/tools/mock_ietf_network_slice_sdn_ctrl
- docker rm -f ${TEST_NAME} || true
- docker rm -f ${AGG_NET_NAME} || true
- docker rm -f ${NCE_NAME} || true
- docker run -d --name ${NCE_NAME} -p ${NCE_PORT}:8443 $CI_REGISTRY_IMAGE/${NCE_NAME}:latest
- docker run -d --name ${AGG_NET_NAME} -p ${AGG_NET_PORT}:8443 $CI_REGISTRY_IMAGE/${AGG_NET_NAME}:latest
......@@ -82,6 +84,10 @@ end2end_test ofc25_camara_e2e:
# Destroy Scenario
- kubectl delete namespaces tfs || true
- docker rm -f ${TEST_NAME} || true
- docker rm -f ${AGG_NET_NAME} || true
- docker rm -f ${NCE_NAME} || true
# Clean old docker images
- docker images --filter="dangling=true" --quiet | xargs -r docker rmi
......
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