This commit is contained in:
Viktor Scharf
2026-01-23 13:25:28 +01:00
parent 7cc92aebf9
commit ade34ac342

View File

@@ -1748,7 +1748,6 @@ def uploadTracingResult(ctx):
status = ["failure"]
if "with-tracing" in ctx.build.title.lower():
status = ["failure", "success"]
S3_HOST = s3.ci.opencloud.eu
return [{
"name": "upload-tracing-result",
@@ -1759,7 +1758,7 @@ def uploadTracingResult(ctx):
"mc cp -a %s/reports/e2e/playwright/tracing/* s3/$PUBLIC_BUCKET/web/tracing/$CI_REPO_NAME/$CI_PIPELINE_NUMBER/" % dirs["web"],
"cd %s/reports/e2e/playwright/tracing/" % dirs["web"],
'echo "To see the trace, please open the following link in the console"',
'for f in *.zip; do echo "npx playwright show-trace https://"$S3_HOST"/$PUBLIC_BUCKET/web/tracing/$CI_REPO_NAME/$CI_PIPELINE_NUMBER/$f \n"; done',
'for f in *.zip; do echo "npx playwright show-trace https://$MC_HOST/$PUBLIC_BUCKET/web/tracing/$CI_REPO_NAME/$CI_PIPELINE_NUMBER/$f \n"; done',
],
"when": {
"status": status,