Metadata-Version: 2.1
Name: check-gitlab-scheduler
Version: 1.0.0
Summary: Check Gitlab Scheduled Pipelines and its jobs for errors.
Home-page: https://github.com/telekom-mms/check_gitlab_scheduler
License: GPL-3.0-only
Author: Christopher Grau
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Project-URL: Documentation, https://github.com/telekom-mms/check_gitlab_scheduler
Project-URL: Repository, https://github.com/telekom-mms/check_gitlab_scheduler
Description-Content-Type: text/markdown

# Check Gitlab Scheduler

This script can check Gitlab Scheduled Pipelines and its jobs for errors.
Additionally it can check if the pipeline and jobs are stuck in pending state (with --pending-timeout).
It can also check if a Pipeline's last execution happened longer than a specified amount of time (--last-run).

```
usage: Check Gitlab Scheduler [-h] [-u GITLAB_URL] [-p PROJECT_ID] [-s SCHEDULER_ID] [-t TOKEN] [-o PENDING_TIMEOUT] [-l LAST_RUN]

options:
  -h, --help            show this help message and exit
  -u GITLAB_URL, --gitlab_url GITLAB_URL
  -p PROJECT_ID, --projectid PROJECT_ID
  -s SCHEDULER_ID, --schedulerid SCHEDULER_ID
  -t TOKEN, --token TOKEN
  -o PENDING_TIMEOUT, --pending-timeout PENDING_TIMEOUT
                        check the pipeline itself and the jobs in the pipeline if they are in pending for pending_timeout seconds
  -l LAST_RUN, --last-run LAST_RUN
                        check if the last pipeline was ran for more then last_run seconds
```

# License

Copyright 2023 Telekom MMS GmbH

This code is licensed under GPLv3.

# Authors

- Christopher Grau
- Sebastian Gumprich
- Julian Mühmelt

