meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
git:gitlab:maintenance [2020/07/09 09:01] – created niziak | git:gitlab:maintenance [2020/07/09 14:08] (current) – niziak | ||
---|---|---|---|
Line 21: | Line 21: | ||
</ | </ | ||
+ | |||
+ | ==== Not expired artifacts ==== | ||
+ | |||
+ | * Using python tool: [[https:// | ||
+ | * Doc: [[https:// | ||
+ | |||
+ | On Gitlab server: | ||
+ | <code bash> | ||
+ | sudo apt-get remove python-pip | ||
+ | sudo apt-get install python3-pip | ||
+ | pip3 install --upgrade pip | ||
+ | |||
+ | sudo apt-get install postgresql postgresql-server-dev-all | ||
+ | sudo systemctl disable --now postgresql.service | ||
+ | |||
+ | sudo pip install \ | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | |||
+ | sudo pip install glartifacts | ||
+ | </ | ||
+ | |||
+ | Usage: | ||
+ | <code bash> | ||
+ | glartifacts list | ||
+ | |||
+ | glartifacts remove --strategy LASTGOOD_PIPELINE --dry-run group/ | ||
+ | |||
+ | glartifacts remove --strategy LASTGOOD_PIPELINE --all | ||
+ | |||
+ | # by default Sidekiq task ' | ||
+ | # Go to https:// | ||
+ | # and check results: | ||
+ | glartifacts list | ||
+ | </ | ||
+ | |||
+ | ==== Job logs ==== | ||
+ | |||
+ | Hundreds of jobs with build log size of 16MB can occupy gigabytes on disk. | ||
+ | [[https:// | ||
+ | |||
+ | |||