Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 785 Bytes

File metadata and controls

31 lines (23 loc) · 785 Bytes

Buildkite Metrics

Plugin that provides a card to display Buildkite pipeline metrics.

Screen Shot 2021-03-19 at 9 45 27 AM

Usage

Add a proxy config like this to your app-config.yaml:

proxy:
  /buildkite/graphql:
    target: https://graphql.buildkite.com/v1
    headers:
      Accept: 'application/json'
      Content-Type: 'application/json'
      Authorization:
        $env: BUILDKITE_TOKEN

Then, in your packages/app/src/plugins.ts add the plugin:

export { plugin as BuildkiteMetrics } from 'plugin-buildkite-metrics';

And finally, in the components/catalog/EntityPage.tsx add the card:

<PipelineMetricsCard entity={entity} />