Commit 38ce6ab7 authored by Shayan Hajipour's avatar Shayan Hajipour
Browse files

debug: ofc25-camara .gitlab-ci.yml operations debugged

parent 734ea2fd
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
# Build, tag, and push the Docker images to the GitLab Docker registry
build ofc25:
  variables:
    TEST_NAME: 'ofc25_camara_e2e'
    TEST_NAME: 'ofc25-camara-e2e-controller'
    NCE_NAME: 'nce'
    AGG_NET_NAME: 'agg_net'
    NCE_PORT: '9090'
@@ -32,10 +32,10 @@ build ofc25:
    - docker buildx build -t "${TEST_NAME}:latest" -f ./src/tests/${TEST_NAME}/Dockerfile .
    - docker tag "${TEST_NAME}:latest" "$CI_REGISTRY_IMAGE/${TEST_NAME}:latest"
    - docker push "$CI_REGISTRY_IMAGE/${TEST_NAME}:latest"
    - docker buildx build -t "${NCE_NAME}:latest" -f ./src/tests/tools/mock_nce_ctrl/Dockerfile .
    - docker buildx build -t "${NCE_NAME}:latest" -f ./src/tests/tools/mock_nce_ctrl/Dockerfile ./src/tests/tools/mock_nce_ctrl
    - docker tag "${NCE_NAME}:latest" "$CI_REGISTRY_IMAGE/${NCE_NAME}:latest"
    - docker push "$CI_REGISTRY_IMAGE/${NCE_NAME}:latest"
    - docker buildx build -t "${AGG_NET_NAME}:latest" -f ./src/tests/tools/mock_ietf_network_slice_sdn_ctrl/Dockerfile .
    - 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 tag "${AGG_NET_NAME}:latest" "$CI_REGISTRY_IMAGE/${AGG_NET_NAME}:latest"
    - docker push "$CI_REGISTRY_IMAGE/${AGG_NET_NAME}:latest"
  after_script:
@@ -53,7 +53,7 @@ build ofc25:
# Deploy TeraFlowSDN and Execute end-2-end test
end2end_test ofc25_camara_e2e:
  variables:
    TEST_NAME: 'ofc25_camara_e2e'
    TEST_NAME: 'ofc25-camara-e2e-controller'
    NCE_NAME: 'nce'
    AGG_NET_NAME: 'agg_net'
    NCE_PORT: '9090'
@@ -107,6 +107,7 @@ end2end_test ofc25_camara_e2e:
    - kubectl --namespace tfs logs deployment/deviceservice -c server
    - kubectl --namespace tfs logs deployment/pathcompservice -c frontend
    - kubectl --namespace tfs logs deployment/serviceservice -c server
    - kubectl --namespace tfs logs deployment/sliceservice -c server
    - kubectl --namespace tfs logs deployment/nbiservice -c server

    # Destroy Scenario