feat(ci): changing the XML structure for pulling images
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
+3
-4
@@ -468,10 +468,9 @@ def GetParametersFromXML(action):
|
||||
if (string_field is not None):
|
||||
CONTAINERS.testSvrId = string_field
|
||||
CONTAINERS.imageToPull.clear()
|
||||
for image in test.findall('image_to_pull'):
|
||||
string_field = image.findtext('image_name')
|
||||
if (string_field is not None):
|
||||
CONTAINERS.imageToPull.append(string_field)
|
||||
string_field = test.findtext('images_to_pull')
|
||||
if (string_field is not None):
|
||||
CONTAINERS.imageToPull = string_field.split()
|
||||
|
||||
elif action == 'Clean_Test_Server_Images':
|
||||
string_field = test.findtext('test_svr_id')
|
||||
|
||||
@@ -47,12 +47,7 @@
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-enb</image_name>
|
||||
</image_to_pull>
|
||||
<image_to_pull>
|
||||
<image_name>oai-lte-ue</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-enb oai-lte-ue</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="000000">
|
||||
|
||||
@@ -47,12 +47,7 @@
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-enb</image_name>
|
||||
</image_to_pull>
|
||||
<image_to_pull>
|
||||
<image_name>oai-lte-ue</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-enb oai-lte-ue</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="000011">
|
||||
|
||||
@@ -43,12 +43,7 @@
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-enb</image_name>
|
||||
</image_to_pull>
|
||||
<image_to_pull>
|
||||
<image_name>oai-lte-ue</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-enb oai-lte-ue</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="000001">
|
||||
|
||||
@@ -47,12 +47,7 @@
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-enb</image_name>
|
||||
</image_to_pull>
|
||||
<image_to_pull>
|
||||
<image_name>oai-lte-ue</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-enb oai-lte-ue</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="000011">
|
||||
|
||||
@@ -47,12 +47,7 @@
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-enb</image_name>
|
||||
</image_to_pull>
|
||||
<image_to_pull>
|
||||
<image_name>oai-lte-ue</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-enb oai-lte-ue</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="000011">
|
||||
|
||||
@@ -48,12 +48,7 @@
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-enb</image_name>
|
||||
</image_to_pull>
|
||||
<image_to_pull>
|
||||
<image_name>oai-lte-ue</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-enb oai-lte-ue</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="000011">
|
||||
|
||||
@@ -43,12 +43,7 @@
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-gnb</image_name>
|
||||
</image_to_pull>
|
||||
<image_to_pull>
|
||||
<image_name>oai-nr-ue</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-gnb oai-nr-ue</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="000020">
|
||||
|
||||
@@ -44,12 +44,7 @@
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-gnb</image_name>
|
||||
</image_to_pull>
|
||||
<image_to_pull>
|
||||
<image_name>oai-nr-ue</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-gnb oai-nr-ue</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="000010">
|
||||
|
||||
@@ -45,12 +45,7 @@
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-gnb</image_name>
|
||||
</image_to_pull>
|
||||
<image_to_pull>
|
||||
<image_name>oai-nr-ue</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-gnb oai-nr-ue</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="000000">
|
||||
|
||||
@@ -47,12 +47,7 @@
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-gnb</image_name>
|
||||
</image_to_pull>
|
||||
<image_to_pull>
|
||||
<image_name>oai-nr-ue</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-gnb oai-nr-ue</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="000000">
|
||||
|
||||
@@ -40,9 +40,7 @@ Replace xml_files/enb_usrp210_band7_test_05mhz_tm1.xml
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-enb</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-enb</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="030101">
|
||||
|
||||
@@ -54,18 +54,14 @@
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-enb</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-enb</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="111111">
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>1</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-gnb</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-gnb</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="010000">
|
||||
|
||||
@@ -51,9 +51,7 @@
|
||||
<class>Pull_Local_Registry</class>
|
||||
<desc>Pull Images from Local Registry</desc>
|
||||
<test_svr_id>0</test_svr_id>
|
||||
<image_to_pull>
|
||||
<image_name>oai-gnb</image_name>
|
||||
</image_to_pull>
|
||||
<images_to_pull>oai-gnb</images_to_pull>
|
||||
</testCase>
|
||||
|
||||
<testCase id="010000">
|
||||
|
||||
Reference in New Issue
Block a user