Skip to content
Closed
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .woodpecker.star
Original file line number Diff line number Diff line change
Expand Up @@ -1758,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 $MC_HOST/$PUBLIC_BUCKET/web/tracing/$CI_REPO_NAME/$CI_PIPELINE_NUMBER/$f \n"; done',
'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',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can try running these commands in one of the workflow step to check if it works or not

"echo $MC_HOST",
"echo $CACHE_S3_SERVER",
"echo 'https://s3.ci.opencloud.eu'",

Copy link
Copy Markdown
Contributor Author

@ScharfViktor ScharfViktor Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right:
image

Copy link
Copy Markdown
Contributor

@saw-jan saw-jan Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the server_url secret repo level or org level?. if the secret is not used then we can try removing it

Copy link
Copy Markdown
Contributor

@saw-jan saw-jan Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

env, variable and plain text didn't work:

+ echo $MC_HOST
https://********
+ echo https://********
https://********
+ echo 'https://********'
https://********
+ buildifier --mode=check .woodpecker.star

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the URL matches the secret 1-to-1, it cannot be displayed in the logs in plain text.

The only option is to remove the URL from the secret. @flimmy could you remove s3.ci.opencloud.eu from secret?

],
"when": {
"status": status,
Expand Down Expand Up @@ -2609,7 +2609,13 @@ def checkStarlark(ctx):
{
"name": "format-check-starlark",
"image": OC_CI_BAZEL_BUILDIFIER,
"environment": {
"MC_HOST": "https://s3.ci.opencloud.eu",
},
"commands": [
"echo $MC_HOST",
"echo %s" % CACHE_S3_SERVER,
"echo 'https://s3.ci.opencloud.eu'",
"buildifier --mode=check .woodpecker.star",
],
},
Expand Down