GitLab instance URL, i.e. https://gitlab.com
or http://localhost
Private Token for GitLab API (which tokens have API access?)
Global options for all targets
Values:
keep_last
- Keep at least some amount of pipelinesdelete_older_than
- Delete a pipelines older than some duration, for example30d
skip_statuses
- Skip a pipelines with specified statuses
List of projects or groups to search for a pipelines
Project name
Group name
Enable search in subgroups
Optional overrides of global options
Policy for archived projects
include
- include archived projects (default)exclude
- exclude archived projectsonly
- only archived projects
Exclude specified projects from searching (full path, i.e. mygroup/myprojecttoexclude
)
Path to config file, by default config.yml
.
docker run --rm \
-v './configuration:/configuration' \
-e 'CONFIG_PATH=/configuration/config.yml' \
whilein/gitlab-pipeline-cleaner
- Child pipelines
- Merge Requests