An open API service indexing awesome lists of open source software.

https://github.com/vindarel/pipelines-viewer

View the last Gitlab pipelines and their status from the command line (or the REPL). (not much to see, it's a 20 min script)
https://github.com/vindarel/pipelines-viewer

Last synced: 4 months ago
JSON representation

View the last Gitlab pipelines and their status from the command line (or the REPL). (not much to see, it's a 20 min script)

Awesome Lists containing this project

README

          

View the last Gitlab pipelines and their status.

Really not much here! Except it does the job \o/

# Usage

```
$ pipelines-viewer
OK 2020-12-23T21:44:14.261Z
OK 2020-12-23T21:20:41.078Z
FAILED 2020-12-23T20:50:23.998Z
skipped 2020-12-23T20:21:29.997Z
OK 2020-12-23T20:20:23.708Z
skipped 2020-12-23T20:06:43.823Z
skipped 2020-12-23T19:37:06.454Z
OK 2020-12-23T17:57:24.995Z
skipped 2020-12-22T14:59:15.645Z
OK 2020-12-08T18:18:36.785Z
```

It reads the repository's group and name from the first remote in the
`.git/config`. When you use several remotes, the Gitlab one with the
issues and pipelines must be placed first. Room for
improvement. (Consider that need if this script was not limited to Gitlab)

Optional: accepts the username and project as arguments:

$ pipelines-viewer vindarel abelujo

If your latest pipeline failed, we print its web URL:

See your failing pipeline here: https://gitlab.com/you/project/-/pipelines/339508592

# Install

NEW!

You can use our `civiewer.lisp` script with [CIEL](https://github.com/ciel-lang/CIEL/). Install CIEL and run the script:

$ ./civiewer.lisp

see https://github.com/ciel-lang/CIEL/discussions/49

With Roswell (experimental, thanks for a feedback if it works for you):

$ ros install vindarel/pipelines-viewer

Download a binary (TODO).

Otherwise, clone the sources and build it yourself:

$ make build # aka save-lisp-and-die somewhere.

# See also

- https://github.com/profclems/glab
- https://github.com/nbedos/cistern (discontinued).