action #164889
closed
coordination #58184: [saga][epic][use case] full version control awareness within openQA
coordination #152847: [epic] version control awareness within openQA for test distributions
Ensure git repos cloned by minions are cleaned up regularly size:S
Added by tinita 4 months ago.
Updated 2 months ago.
Category:
Feature requests
Description
Motivation¶
See #162125
In fetchneedles we cleanup the git directory by running git gc
. We should do that as well for our new CASEDIR/NEEDLES_DIR git_auto_clone feature.
Acceptance Criteria¶
- AC1: The git checkout is regularly cleaned to not use too much space
Suggestions¶
- Use git gc to trigger cleanup of the local copy of the repo
- Wait for #164886
- Copied from action #162125: [timeboxed:10h][spike] Let openQA keep test distribution checkouts up to date without needing fetchneedles size:S added
- Description updated (diff)
- Description updated (diff)
- Target version set to Ready
- Related to action #164898: Replace fetchneedles with a minion job for the regular update of git repos size:M added
- Description updated (diff)
- Subject changed from Add git gc and diff-index to the minion git clone job to Ensure git repos cloned by minions are cleaned up regularly size:S
- Description updated (diff)
- Status changed from New to Workable
- Copied to action #165066: Ensure local changes to git repos cloned by git_auto_clone are left alone size:S added
- Status changed from Workable to In Progress
- Assignee set to robert.richardson
- Due date set to 2024-09-03
Setting due date based on mean cycle time of SUSE QE Tools
- Status changed from In Progress to Workable
Setting this back to workable, as i am unavailable until next Wednesday.
Also the merge of #164886 had to be reverted and needs further work.
- Due date deleted (
2024-09-03)
- Assignee deleted (
robert.richardson)
- Target version changed from Ready to Tools - Next
- Status changed from Workable to Resolved
I've had a short talk with Oli regarding the explicit git gc
call. It was introduced solely in order to suppress any output in case the test does not fail, to avoid cron mail spam.
As this special case does not apply for minion jobs and git gc
is already called in the background automatically, i would argue the AC is fulfilled.
Also available in: Atom
PDF