A zuul client library

Clone this repo:

Branches

  1. 14b8bb2 Add wait-for-result sub command by Tristan Cacqueray · 10 months ago master
  2. b62bfd6 Prepare the 0.1.1.0 release and allow aeson-2 by Tristan Cacqueray · 10 months ago
  3. a29b730 Filter empty vars for job vars too by Tristan Cacqueray · 1 year, 11 months ago
  4. bff3b3d Add Job variables and a job-vars command to list all the variables by Tristan Cacqueray · 2 years ago
  5. 56073f6 Derive encoder and decoder for the new types by Tristan Cacqueray · 2 years ago

zuul

Hackage

A client library for zuul.

Features

  • JSON decoder for API endpoints.
  • HTTP client helper functions.
  • Command line utility to compute informations.
    • live-changes: count the number of change running in a pipeline.
    • nodepool-labels: get the label used in project pipelines.
    • job-vars: get the job variables used in project pipelines.

Contribute

Run tests:

$ cabal build
$ cabal test

Run cli:

$ cabal run zuul-cli -- --help

Install cli:

$ cabal install --installdir=~/.local/bin

Build container:

$ podman build -t quay.io/software-factory/zuul-stats .