3 ms·
I have a repo that was almost exactly 5GB and it turned out that the storage was also used exclusively by pipeline logs and artifacts. Found this recipe on Sta
by xiaq 4y ago
I have a repo that was almost exactly 5GB and it turned out that the storage was also used exclusively by pipeline logs and artifacts.
Found this recipe on StackOverflow to just nuke everything and worked for me: https://stackoverflow.com/questions/71513286/clean-up-history-in-gitlab-pipeline https://stackoverflow.com/questions/71513286/clean-up-histor.... You can tweak it a bit if you want to keep the more recent pipeline runs.
For some reason I had to run this multiple times to completely remove everything; each run removes about half of all the pipelines and only when there were about 20 remaining did the script remove everything.