Support External Attachment URLs Instead of Bundled Attachment Files #3375
Unanswered
woyuandong
asked this question in
Questions & Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
My scenario with Allure Report is that I am hosting the generated static report on GitLab Pages. However, GitLab Pages has a maximum file size limit of 100MB. I want to host as much of the report as possible on GitLab, so I am wondering if it is possible to replace the .webm files in the Allure report with links to external files instead of embedding the files directly in the report. I have my own publicly accessible OBS storage.
Is there any existing solution for this? I have tried adding checks in two places in the app-xxx.js file where it constructs the attachment URL (data/attachments/${e||"-"}${t||""}?attachment) and injecting a script in index.html to directly access the external URL. However, this caused attachments in the Allure report to fail to load.
Do you have any recommendations or solutions to handle this scenario?
Beta Was this translation helpful? Give feedback.
All reactions