This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This is a small python script to clear up old gitlab build artifacts. | |
There are 3 variables you should modify: | |
* base_url: path to your gitlab | |
* access_token: your personal access token to make gitlab api calls | |
* delete_everything_older_than: configure the timedelta as you wish | |
!!IMPORTANT!! | |
By default this script does only make dry-runs and does not actually delete any files! |