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

There doesn't seem to be a way to pass "retention-days" to CFLite jobs uploading artifacts #81

Open
evverx opened this issue Jan 24, 2022 · 2 comments
Assignees

Comments

@evverx
Copy link
Contributor

evverx commented Jan 24, 2022

It would be great if by analogy with https://github.com/actions/upload-artifact#retention-period it was possible to pass something like retention-days: 3 to CFLite jobs uploading artifacts. It would be even better if CFLite could automatically delete artifacts that should no longer be kept (like the "latest" builds generated a week ago) but I'm not sure how exactly it should work.

@jonathanmetzman jonathanmetzman self-assigned this Jan 26, 2022
@jonathanmetzman
Copy link
Collaborator

jonathanmetzman commented Jan 26, 2022

Maybe we can set different retention periods for different artifacts, rather than delete things.

@evverx
Copy link
Contributor Author

evverx commented Jan 26, 2022

I agree that CFLite shouldn't delete artifacts left and right :-) but I think that it should be configurable because ideally the retention policy should depend on how often projects are updated and I'm not sure CFLite can (or should) figure it out automatically.

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

2 participants