Skip to content

zzzhanga/Powerboard

 
 

Repository files navigation

Powerboard A BuildKite CI monitor and utils.

All Contributors

Test and deploy Lighthouse Powerboard

How to use

URL schema: https://guzhongren.github.io/Powerboard/?token={TOKEN}&config={CONFIG}

  • TOKEN: refer to Get access token
  • CONFIG: refer to Config schema

Get access token

Get a buildkite access token first at https://buildkite.com/user/api-access-tokens

Just need Organization Access, and Enable GraphQL API Access

Config schema

  • Store your config in any server which this app can access, we recommend GitHub repo, and proxy the URL of GitHub file

  • Config schema like below

    {
      "org": String,
      "search": Array<String>,
      "team": String,
      "oncall": {
          "startDate": String,
          "names": Array<String>
      }
    }
    Field Mandatory Description
    org true The name of your buildkit account
    team false Team name
    search false The collection of pipelines under your org
    oncall false On-call config
    oncall.startDate true The start date, app will use it as start date, Poll every seven days to the next person
    oncall.names true On-call list

    Demo

    {
      "org": "elastic",
      "team": "",
      "search": ["kibana / on merge", "apm-onweek-alerts-as-code"],
      "oncall": {
        "startDate": "2021-11-10",
        "names": ["Chen", "Adam"]
      }
    }

Build & Run

  • Firstly, you should get your Buildkite token and export it in current shell.
export BUILDKITE_TOKEN=xxxx
  • Secondly, run
npm install -g pnpm
pnpm install
pnpm dev
pnpm cy:open

Tech list

Contributors ✨

Thanks goes to these wonderful people (emoji key):


guzhongren

💻 📖 🚇 🎨 📋 🤔 🚧 📦 👀 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

About

A draggable Buildkite Dashboard, Monitor...

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 45.8%
  • JavaScript 26.0%
  • SCSS 26.0%
  • HTML 1.7%
  • Other 0.5%