feat(ci): changing the XML structure for pulling images

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2022-10-19 09:16:37 +02:00
parent 937be093c1
commit 1a0d91fd76
14 changed files with 17 additions and 76 deletions
+3 -4
View File
@@ -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')