Skip to content

Command-line interface for querying CI/CD environments (Jenkins, Zuul)

License

Notifications You must be signed in to change notification settings

RedHatCRE/cibyl

Folders and files

NameName
Last commit message
Last commit date
Nov 28, 2022
Dec 13, 2022
Dec 13, 2022
Dec 2, 2022
May 24, 2022
Dec 13, 2022
Nov 30, 2022
May 16, 2022
Nov 28, 2022
Nov 28, 2022
Feb 15, 2022
Oct 28, 2022
Jan 27, 2022
Nov 29, 2022
Jun 24, 2022
Oct 21, 2022
Oct 28, 2022
Jun 2, 2022
Aug 17, 2022
Dec 13, 2022

Repository files navigation

CIbyl

Build Status

Cibyl is a command-line interface and REST API for querying CI/CD environments and systems.

Installation

pip install git+https://github.com/rhos-infra/cibyl.git

Next, set up configuration

environments:                 # List of CI/CD environments
  production:                 # An environment called "production"
    production_jenkins        # A single system called "production_jenkins"
      system_type: jenkins    # The type of the system (jenkins or zuul)
      sources:                # List of sources belong to "production_jenkins" system
        jenkins_api:          # The name of the source which belongs to "production_jenkins" system
          driver: jenkins     # The driver the source will be using
          url: https://...    # The URL of the system
          username: user      # The username to use for the authentication
          token: xyz          # The token to use for the authentication
          cert: False         # Disable/Enable certificates to use for the authentication

Usage

cibyl for listing environments and systems as specified in the configuration

cibyl query --jobs will print all the jobs available in your CI system

cibyl query --jobs --system <SYSTEM NAME> will print all the jobs from one specific system

cibyl query --jobs --builds will print the jobs as well as the status of all the builds of that job

Official Documentation

For more information please read our Documentation