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

Feature: add a job to autoclean QDT expired resources (logs, plugins archives...) #399

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Guts
Copy link
Collaborator

@Guts Guts commented Jan 22, 2024

Goals

Sine it's meant to run as a recurring task, a long-time usage of QDT can lead to store a lot of resources:

  • log files (even there is already a rotating rule limiting number of log files up to 10 per QDT version)
  • plugin archives
  • repositories
  • remote scenarios

Steps

  • add a job qdt-autoclean
  • add job documentation and schema
  • add util to determine if a file is expired according a criteria (number of hours)
  • add util to move a file to the system trash (or delete if it's not possible)
  • test everything

@Guts Guts self-assigned this Jan 22, 2024
@github-actions github-actions bot added dependencies Project dependencies. jobs Scenarios and jobs quality Tests, project resiliency, etc. labels Jan 22, 2024
@Guts Guts added the enhancement New feature or request label Jan 22, 2024
@Guts Guts force-pushed the feature/add-subcmd-autoclean branch from 94911b4 to 19d2f51 Compare January 23, 2024 13:31
Copy link

sonarcloud bot commented Feb 19, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Project dependencies. enhancement New feature or request jobs Scenarios and jobs quality Tests, project resiliency, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant