{"id":23913677,"url":"https://github.com/staticf0x/gitlab-plumber","last_synced_at":"2026-05-19T10:37:20.317Z","repository":{"id":129114007,"uuid":"605520804","full_name":"staticf0x/gitlab-plumber","owner":"staticf0x","description":"A GitLab cli tool to obtain data about pipelines and jobs","archived":false,"fork":false,"pushed_at":"2024-12-12T15:00:59.000Z","size":118,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-05T09:46:24.835Z","etag":null,"topics":["gitlab"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/staticf0x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-23T10:33:32.000Z","updated_at":"2024-12-12T15:01:03.000Z","dependencies_parsed_at":"2024-03-18T14:03:05.727Z","dependency_job_id":"700e8fd1-72cd-409d-96b6-bfff103e268b","html_url":"https://github.com/staticf0x/gitlab-plumber","commit_stats":null,"previous_names":["staticf0x/gitlab-plumber"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticf0x%2Fgitlab-plumber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticf0x%2Fgitlab-plumber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticf0x%2Fgitlab-plumber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticf0x%2Fgitlab-plumber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staticf0x","download_url":"https://codeload.github.com/staticf0x/gitlab-plumber/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240357993,"owners_count":19788815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gitlab"],"created_at":"2025-01-05T09:46:27.890Z","updated_at":"2026-05-19T10:37:20.276Z","avatar_url":"https://github.com/staticf0x.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitlab-plumber\n\nGitLab plumber is a small utility that helps you analyze the duration\nof GitLab pipelines.\n\n## Running\n\n### Show a tree of jobs\n\n`$ poetry run python3 main.py show --project \u003cPROJECT_ID\u003e --pipeline \u003cPIPELINE_ID\u003e`\n\n![Pipeline tree](images/show.png)\n\nThis shows the queue time + run time for each job as well as percentage of the\nstage duration. For stages, it shows the total runtime and percentage of the\nwhole pipeline duration.\n\n### Show a blame graph of stages and individual jobs\n\n`$ poetry run python3 main.py blame --project \u003cPROJECT_ID\u003e --pipeline \u003cPIPELINE_ID\u003e`\n\n![Blame graph](images/blame.png)\n\nThis shows the stages and jobs sorted by total run duration (queue is excluded)\nto narrow down which of the stages/jobs take the longest.\n\n### Show or blame by URL\n\nInstead of passing project ID and pipeline ID it is possible to pass the direct URL\nto a pipeline:\n\n`$ poetry run python3 main.py show --url https://gitlab.com/group/project/-/pipelines/123456`\n\n### Analyze multiple pipelines\n\nYou can generate a CSV file with duration of jobs for multiple pipelines:\n\n`$ poetry run python3 main.py analyze --project \u003cPROJECT_ID\u003e`\n\nBy default this pulls data from the latest 10 pipelines on the `main` branch.\nTo modify this behavior, see the available options:\n\n```\nOptions:\n  -p, --project INTEGER  Project ID\n  -n, --num INTEGER      Number of pipelines to analyze (default: 10)\n  --ref TEXT             Git ref to choose (default: main)\n  --source TEXT          Trigger source (example: push, trigger)\n```\n\n## Installation\n\n- `$ poetry install --no-root`\n\n## Configuration\n\nCreate `.env` file with the following content:\n\n```\nGITLAB_URI=\u003cGitLab instance URL\u003e\nPRIVATE_TOKEN=\u003cYour private token\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaticf0x%2Fgitlab-plumber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaticf0x%2Fgitlab-plumber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaticf0x%2Fgitlab-plumber/lists"}