diff options
author | Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> | 2021-11-24 12:00:45 +0100 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2021-12-13 17:01:24 +0000 |
commit | bae8d839893d1ce5c1e9dfa670fbe536520093a0 (patch) | |
tree | 02feb907365859d03498ee9db10cf517a05804d1 /robot/resources/chart_museum.robot | |
parent | 2a2c4c30c423a528e1969eaa8fb1176ba3250689 (diff) |
[ROBOT] ADD HTTPS based BULKPM test cases that use helm based componentsrefactoring
Add https server based test cases
Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Issue-ID: INT-1895
Change-Id: I74f7102398a08e1629b50f510ef179d35c8761bd
Diffstat (limited to 'robot/resources/chart_museum.robot')
-rw-r--r-- | robot/resources/chart_museum.robot | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/robot/resources/chart_museum.robot b/robot/resources/chart_museum.robot index e201a914..7b46deb3 100644 --- a/robot/resources/chart_museum.robot +++ b/robot/resources/chart_museum.robot @@ -43,25 +43,31 @@ Install helm charts [Arguments] ${chart_repo_name} ${dcae_servcie_helm_charts} ${dcae_service_helm_name} ${wait_time}=2 min ${set_values_override}=${EMPTY} ${helm_install}= Set Variable helm install ${dcae_service_helm_name} ${chart_repo_name}/${dcae_servcie_helm_charts} --set global.repository=${registry_ovveride} ${set_values_override} ${helm_install_command_output} = Run And Return Rc And Output ${helm_install} + Log ${helm_install_command_output[1]} Should Be Equal As Integers ${helm_install_command_output[0]} 0 Wait Until Keyword Succeeds ${wait_time} 20 sec Checking Status Of Deployed Appliction Using Helm ${dcae_servcie_helm_charts} ${dcae_service_helm_name} Install helm charts from folder [Documentation] Install DCAE Servcie using helm charts not in repo [Arguments] ${chart_folder} ${dcae_service_helm_name} ${wait_time}=2 min ${set_values_override}=${EMPTY} + ${helm_dependency_update}= Set Variable helm dependency update ${chart_folder} + ${helm_dependency_update_output} = Run And Return Rc And Output ${helm_dependency_update} + Log ${helm_dependency_update_output[1]} + Should Be Equal As Integers ${helm_dependency_update_output[0]} 0 ${rest} ${dcae_servcie_helm_charts} = Split String From Right ${chart_folder} / 1 ${helm_install}= Set Variable helm install ${dcae_service_helm_name} ${chart_folder} --set global.repository=${registry_ovveride} ${set_values_override} ${helm_install_command_output} = Run And Return Rc And Output ${helm_install} + Log ${helm_install_command_output[1]} Should Be Equal As Integers ${helm_install_command_output[0]} 0 Wait Until Keyword Succeeds ${wait_time} 20 sec Checking Status Of Deployed Appliction Using Helm ${dcae_servcie_helm_charts} ${dcae_service_helm_name} Checking Status Of Deployed Appliction Using Helm [Arguments] ${dcae_servcie_helm_charts} ${dcae_service_helm_name} - ${pod_status}= Set Variable kubectl get pods -n onap | grep ${ONAP_HELM_RELEASE}-${dcae_servcie_helm_charts} | awk '{print $3}' + ${pod_status}= Set Variable kubectl get pods -n onap | grep ${dcae_service_helm_name} | awk '{print $3}' ${pod_status_command_output} = Run And Return Rc And Output ${pod_status} Should Be Equal As Integers ${pod_status_command_output[0]} 0 Should Be Equal As Strings ${pod_status_command_output[1]} Running - ${pod_ready}= Set Variable kubectl get pods -n onap | grep ${ONAP_HELM_RELEASE}-${dcae_servcie_helm_charts} | awk '{print $2}' + ${pod_ready}= Set Variable kubectl get pods -n onap | grep ${dcae_service_helm_name} | awk '{print $2}' ${pod_ready_command_output} = Run And Return Rc And Output ${pod_ready} Should Be Equal As Integers ${pod_ready_command_output[0]} 0 ${pre} ${post} = Split String ${pod_ready_command_output[1]} / 1 |