Use proper netconf testtool artifact 21/97121/8
authorTomas Cere <tomas.cere@pantheon.tech>
Tue, 10 Aug 2021 09:44:33 +0000 (11:44 +0200)
committerVenkatrangan <gvrangan@gmail.com>
Thu, 12 Aug 2021 09:05:25 +0000 (09:05 +0000)
When running tests with mri projects snapshot version
karaf distro, we need to point to proper testtool.

Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Change-Id: I564eccf4ecb1c5a56d75760ee14441f36729faf6

csit/libraries/NexusKeywords.robot

index a35dfb3587fd0588c3ebf967b4edd4d4be5e2f7b..f6ea2e597713243201eae04d6a5cec2683a09807 100644 (file)
@@ -118,9 +118,10 @@ Deploy_Artifact
     CompareStream.Run_Keyword_If_At_Most_Magnesium    Collections.Remove_Values_From_List    ${RELEASE_INTEGRATED_COMPONENTS}    carpeople
     CompareStream.Run_Keyword_If_At_Most_Aluminium    Collections.Remove_Values_From_List    ${RELEASE_INTEGRATED_COMPONENTS}    netconf
     CompareStream.Run_Keyword_If_At_Most_Silicon    Collections.Remove_Values_From_List    ${RELEASE_INTEGRATED_COMPONENTS}    bgpcep
-    ${urlbase} =    BuiltIn.Set_Variable_If    '${component}' in @{RELEASE_INTEGRATED_COMPONENTS}    ${NEXUS_RELEASE_BASE_URL}    ${urlbase}
     ${version}    ${location} =    BuiltIn.Run_Keyword_If    '${build_version}'=='${EMPTY}'    NexusKeywords__Detect_Version_To_Pull    ${component}
     ...    ELSE    BuiltIn.Set_Variable    ${build_version}    ${build_location}
+    BuiltIn.Run_Keyword_If    'SNAPSHOT' in '${version}'    Collections.Remove_Values_From_List    ${RELEASE_INTEGRATED_COMPONENTS}    netconf
+    ${urlbase} =    BuiltIn.Set_Variable_If    '${component}' in @{RELEASE_INTEGRATED_COMPONENTS}    ${NEXUS_RELEASE_BASE_URL}    ${urlbase}
     # TODO: Use RequestsLibrary and String instead of curl and bash utilities?
     ${url} =    BuiltIn.Set_Variable    ${urlbase}/${location}/${artifact}/${version}
     # TODO: Review SSHKeywords for current best keywords to call.