cki_tools.check_running_pipelines

Check if running gitlab pipelines is correctly running (has running job).

Pipelines that are not running correctly are reported via Sentry.

Usage

usage: python3 -m cki_tools.check_running_pipelines [-h] project_url

positional arguments:
  project_url  GitLab project URL

options:
  -h, --help   show this help message and exit

Environment variables

The following variables need to be defined:

Name Type Secret Required Description
GITLAB_TOKENS json no yes URL/environment variable pairs of GitLab instances and private tokens
GITLAB_TOKEN string yes yes GitLab private tokens as configured in GITLAB_TOKENS
SENTRY_DSN url yes yes Sentry DSN