Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gitlab-pipeline-cleaner

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-pipeline-cleaner

GitLab (old) pipeline cleaner

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

GitLab (old) pipeline cleaner

This is simple command line tool to delete old pipelines from GitLab.

Usage: glpc [options]

GitLab pipeline cleaner

Options:
  -v, --version              output the current version
  -d, --debug                Output extra debugging
  -g, --gitlab <string>      GitLab URL (default: "https://gitlab.com")
  --days <number>            Number of days to keep (default: 365)
  --updated_after <number>   Pipelines updated after the specified date (ISO 8601)
  --updated_before <number>  Pipelines updated before the specified date (ISO 8601)
  status                     Status of the pipelines (choices: "created", "waiting_for_resource", "preparing", "pending", "running", "success", "failed", "canceled", "skipped",
                             "manual", "scheduled")
  -l, --limit <number>       Limit the number of pipelines to delete (1-100) (default: 100)
  -t, --token <string>       GitLab private token
  -p, --project <string>     Project ID
  -h, --help                 display help for command

Usage

Following example delete all pipelines older than 365 days.

glpc -t <token> -p <project_id> --gitlab https://gitlab.com --days 365

Installation

npm install -g gitlab-pipeline-cleaner

License

MIT

FAQs

Package last updated on 13 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc