From 7cc92aebf976325484bbce4f58e31cdf32df739c Mon Sep 17 00:00:00 2001 From: Viktor Scharf Date: Fri, 23 Jan 2026 13:22:52 +0100 Subject: [PATCH] fix --- .woodpecker.star | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.woodpecker.star b/.woodpecker.star index da0cba7b6..0ab7bb1b6 100644 --- a/.woodpecker.star +++ b/.woodpecker.star @@ -1748,6 +1748,7 @@ 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", @@ -1758,7 +1759,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 $CACHE_S3_SERVER/$PUBLIC_BUCKET/web/tracing/$CI_REPO_NAME/$CI_PIPELINE_NUMBER/$f \n"; done', + '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', ], "when": { "status": status, @@ -2603,17 +2604,16 @@ def translation_sync(ctx): }] def checkStarlark(ctx): + S3_HOST = "s3.ci.opencloud.eu" return [{ "name": "check-starlark", "steps": [ { "name": "format-check-starlark", "image": OC_CI_BAZEL_BUILDIFIER, - "environment": { - "MC_HOST": "https://s3.ci.opencloud.eu", - }, "commands": [ - "echo $MC_HOST", + "echo https://S3_HOST", + "echo https://%s/public" % S3_HOST, "echo %s" % CACHE_S3_SERVER, "echo 'https://s3.ci.opencloud.eu'", "buildifier --mode=check .woodpecker.star",