Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allure Report Storage #115

Open
vibro opened this issue Mar 4, 2020 · 0 comments
Open

Allure Report Storage #115

vibro opened this issue Mar 4, 2020 · 0 comments

Comments

@vibro
Copy link

vibro commented Mar 4, 2020

Hi there,

I am using a shared volume for storing the Allure reports, but I've noticed that the Allure artifacts are still stored in Bamboo's artifact directory. In the instructions, an artifact "allure-results" must be present, then I assume the Allure plugin copies the necessary files to the shared store. This means that the allure reports remain in the plan's artifact directory, which can fill up the disk.

image

A number of xml and png files are stored in the Bamboo job's artifact directory:

$ du -h /bamboo/artifacts/ES-SMOKE/CARS/build-02846/allure-results/
284M	/bamboo/artifacts/ES-SMOKE/CARS/build-02846/allure-results/reports/allure-results
284M	/bamboo/artifacts/ES-SMOKE/CARS/build-02846/allure-results/reports
284M	/bamboo/artifacts/ES-SMOKE/CARS/build-02846/allure-results/

And then there are more files in the shared Allure directory:

$ du -h /mnt/bamboo_allure/allure-reports/ES-SMOKEM/2846/data
18M	/mnt/bamboo_allure/allure-reports/ES-SMOKEM/2846/data/test-cases
1.7G	/mnt/bamboo_allure/allure-reports/ES-SMOKEM/2846/data/attachments
1.7G	/mnt/bamboo_allure/allure-reports/ES-SMOKEM/2846/data

We like to keep a week's worth of Bamboo results for this plan, but with the screenshots the artifact directory can quickly become gigs worth of data. This means we must expire the results earlier than a week to ensure we don't run out of disk space. I tried deleting the artifact directory and it seemed that the Allure tab still worked.

Can the artifacts in the Bamboo job artifact directory be cleaned up after Allure parses the reports? Is the data duplicated between these two locations?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant