meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| git:gitlab:maintenance [2020/07/09 09:52] – niziak | git:gitlab:maintenance [2020/07/09 14:08] (current) – niziak | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| ==== Not expired artifacts ==== | ==== Not expired artifacts ==== | ||
| - | Using python tool: [[https:// | + | * Using python tool: [[https:// |
| + | * Doc: [[https:// | ||
| On Gitlab server: | On Gitlab server: | ||
| <code bash> | <code bash> | ||
| - | sudo apt-get | + | sudo apt-get |
| - | pip install --upgrade pip | + | sudo apt-get install python3-pip |
| + | pip3 install --upgrade pip | ||
| sudo apt-get install postgresql postgresql-server-dev-all | sudo apt-get install postgresql postgresql-server-dev-all | ||
| Line 42: | Line 44: | ||
| sudo pip install glartifacts | 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:// | ||
| + | |||