Merge remote-tracking branch 'origin/ci-improvements' into integration_2025_w14_p2 (!3234)

CI: minor tunings and improvements
This commit is contained in:
Robert Schmidt
2025-04-08 10:06:06 +02:00
11 changed files with 68 additions and 50 deletions
+4 -1
View File
@@ -890,7 +890,10 @@ class Containerize():
if deployed:
break
elif (attempt < num_attempts - 1):
logging.warning(f'Failed to deploy on attempt {attempt}, restart services {services}')
warning_msg = f'Restart services {services}'
logging.warning(warning_msg)
imagesInfo.append(warning_msg)
HTML.CreateHtmlTestRowQueue('N/A', 'NOK', ['\n'.join(imagesInfo)])
for svc in services.split():
CopyinServiceLog(ssh, lSourcePath, yaml_dir, svc, wd_yaml, f'{svc}-{HTML.testCase_id}-attempt{attempt}.log')
ssh.run(f'docker compose -f {wd_yaml} down -- {services}')