The Allure Report Storage service allows to publish Allure Report
2.0K
The Allure Report Storage service allows to publish Allure Report reports to and seamlessly integrates with history feature, making possible to see previous reports in a single click.

The service integrates seamlessly with Allure3, you just need to do these 4 simple steps:
publish flag to the options of reports which should be publishedContinue reading here.
Continue reading here.
Generate access token using the Storage API first (use access token previously passed to the service env variable):
curl -sS -X POST http://localhost:3000/api/token \
-H "Authorization: Bearer storage_bootstrap_token"
Then use it in the Allure Report runtime config:
import { defineConfig } from "allure";
export default defineConfig({
name: "Allure Report",
plugins: {
awesome: {
options: {
+ publish: true, // explicitly specify which reports should be published
},
},
},
+ allureService: {
+ accessToken: "ars1...",
+ },
});
If your main branch doesn't call main, you can specify a custom one to compare reports from another branches with:
curl -sS -X POST http://localhost:3000/api/projects/main-branch \
-H "Authorization: Bearer storage_bootstrap_token" \
-H "Content-Type: application/json" \
-d '{ "repo": "repo_name", "main_branch": "main_branch_name"}'
Automated report retention can delete old reports to reduce disk or storage costs. It is disabled by default and enabled only when at least one retention env var is set:
REPORT_RETENTION_MAX_REPORTS_PER_BRANCH: keep newest completed reports per branch up to this positive integer limit, delete older ones.REPORT_RETENTION_MAX_REPORT_AGE_DAYS: delete reports older than this positive number of days. The newest completed report per branch is always preserved.Both strategies can be enabled together. Retention does not change public history download limits or manual delete behavior.
Content type
Image
Digest
sha256:2a652a922…
Size
437.4 MB
Last updated
10 days ago
docker pull allure/allure-report-storage:v1.1.0