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
Metadata
Release files for check-gitlab-scheduler 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| check_gitlab_scheduler-1.0.0.tar.gz | 15.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| check_gitlab_scheduler-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.6 kB
Release files / check_gitlab_scheduler-1.0.0.tar.gz
| Download URL | check_gitlab_scheduler-1.0.0.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
430d5dc2a0a0acb4de81889964ca845d49a8878a36377e5f226bd692de4fe44f
|
|
BLAKE2b-256 checksum How to use checksums |
3613c66a1b60b92f48f07d1b15b7b6a1ad60c984c3d0aad21c815d527644d264
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / check_gitlab_scheduler-1.0.0-py3-none-any.whl
| Download URL | check_gitlab_scheduler-1.0.0-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d55fc2e37c76533486f69eae3bc6cfc0ca5eda95d93d123a2041246f0d2cf1b3
|
|
BLAKE2b-256 checksum How to use checksums |
473bf70f306519ca8341b3c1ab388ecdeb0d59a9a8d93dae29e520dfa9e76232
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|