Skip to main content

Have a quick look at the status of CI projects from the command line.

Project description

quickCI

https://img.shields.io/pypi/v/quickci.svg Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. https://travis-ci.com/robertopreste/quickCI.svg?branch=master Documentation Status https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg

Have a quick look at the status of CI projects from the command line.

Features

quickCI allows to have a quick overview of the status of build jobs on several CI services, for a specific branch of the repository being built. Currently, quickCI supports checking build status for the following CI services:

More services to come!

Usage

Configuration

  1. Create a config file (it will be located in ~/.config/quickci/tokens.json):

    $ quickci config create
  2. Replace placeholders with your own authentication tokens:

    $ quickci config update <service> <token>
Available services are:
  • Travis CI: travis

  • CircleCI: circle

  • AppVeyor: appveyor

  • Buddy: buddy

  • Drone: drone

  1. Check that everything is correct:

    $ quickci config show

Check build status

Check the build status of your projects:

$ quickci status

The build status of your Travis CI, CircleCI, AppVeyor, Buddy and Drone projects will be returned (master branch). If you want to monitor one specific branch of your repositories (suppose you have many repos with a dedicated dev branch for development), you can easily add the --branch <branch_name> option:

$ quickci status --branch dev

If the --branch option is not provided, the build status of the master branch will be retrieved by default.

If you want to check one specific repository, you can provide the --repo <reponame> option:

$ quickci status --repo my_repo

It is obviously possible to combine the --repo and --branch options to check a given branch of a specific repository.

It is also possible to check a specific service using subcommands of quickci status:

$ quickci status travis
$ quickci status circle
$ quickci status appveyor
$ quickci status buddy
$ quickci status drone

These subcommands also accept the --branch and --repo options. If the token for a specific service is not listed in ~/.config/quickci/tokens.json, it is possible to provide it using the --token <service_token> option:

$ quickci status travis --token <TravisCI token>

Please refer to the Usage section of the documentation for further information.

Installation

quickCI can be installed using pip (Python>=3.6 only):

$ pip install quickci

Please refer to the Installation section of the documentation for further information.

Credits

This package was created with Cookiecutter and the cc-pypackage project template.

History

0.1.0 (2019-04-20)

  • First release.

0.1.1 (2019-04-29)

  • Update Config methods and attributes for better handling of tokens;

  • Update CLI commands.

0.1.2 (2019-06-03)

  • Minor code fix;

  • Update requirements and documentation;

  • Fix AppVeyor request class and add GitLab draft.

0.1.3 (2019-06-06)

  • Add Buddy class.

0.1.4 (2019-06-07)

  • Change fetching functions to asyncio.

0.2.0 (2019-07-02)

  • Change config and status commands to group commands and add related subcommands;

  • Change classes to use concurrent functions when possible;

  • Clean code.

0.2.1 (2019-07-03)

  • Fix imports and tox test config.

0.2.2 (2019-07-03)

  • Fix setup.py installation process;

  • Update documentation.

0.2.3 (2019-07-13)

  • Add Drone CI class and CLI commands;

  • Update tests;

  • Update documentation.

0.3.0 (2019-07-28)

  • Add --branch option to check for specific branch;

  • Update documentation.

0.4.0 (2019-12-12)

  • Add --repo option to check for a specific repository;

  • Update documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quickci-0.4.0.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

quickci-0.4.0-py2.py3-none-any.whl (11.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file quickci-0.4.0.tar.gz.

File metadata

  • Download URL: quickci-0.4.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for quickci-0.4.0.tar.gz
Algorithm Hash digest
SHA256 cb5f241cbffbe05554dccc593def3091635088c0c5cd1a287cc67fa90a6c0c37
MD5 f54d8080352bad0e65055f7de11f3f13
BLAKE2b-256 1ace928f1228fbe923fa9572c46bce93ad6b07e1b1eaa5bed98b8ea526df8135

See more details on using hashes here.

File details

Details for the file quickci-0.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: quickci-0.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for quickci-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 55a61ee4b157a8aadfb797b824d531202aaba756928995f5f7dbde0ef5dfc1a2
MD5 c80cfac6120b9a4077c464805dc57457
BLAKE2b-256 7add52f0418a0f04cfeb429311ec1b9ae56f0c846dbc7d7b6a1d7d69b78941ec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page