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

@backstage-community/plugin-cicd-statistics

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backstage-community/plugin-cicd-statistics

A frontend plugin visualizing CI/CD pipeline statistics (build time)

  • 0.1.41
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

CI/CD Statistics Plugin

This plugin shows charts of CI/CD pipeline durations over time. It expects to be used on the Software Catalog entity page, as it uses useEntity to figure out what component to get the build information for.

Usage

This plugin cannot be used as-is; it requires a custom implementation to fetch build information

To use this plugin, you need to implement an API CicdStatisticsApi and bind it to the cicdStatisticsApiRef. This API is defined in src/apis/types.ts and is an interface with two functions, getConfiguration(options) and fetchBuilds(options). This plugin will call getConfiguration to allow the implementation to specify defaults and settings for the UI.

First time the UI shows, and each time the user changes filters and clicks Update to refresh the data, fetchBuilds is invoked with the filter options. The API implementation is the expected to fetch build information from somewhere, format it into a generic and rather simple type Build (also defined in types.ts). The API can optionally signal completion for a progress bar in the UI.

When this plugin has fetched the builds, it will transpose the list of builds (and build stages) into a tree of build stages. As build pipelines sometimes change, certain stages might end or begin within the date range of the view (when Normalize time range is enabled, which is the default).

Keywords

FAQs

Package last updated on 18 Oct 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