Skip to main content

Gitlab build jobs data collector. CLI tool and Python package.

Project description

glbuild

A tool to collect the entire history of build data and logs (at once) from GitLab projects.

Requirements

Get started

Install dependencies

poetry install

Access virtual environment

poetry shell

Install pre-commit hook for static code analysis

pre-commit install

Usage

Install the Python package using Pip

pip install glbuild

Use in a Python script as follows:

import glbuild

glb = glbuild.GitLabBuild(base_url="https://gitlab.com", token="******", projects=[1538, 5427])

glb.start(output="./data")

Use in a Bash command line as follows:

glbuild --base-url https://gitlab.com --token ****** --output ./data --project 1538 --project 5427

Contracted CLI command:

glbuild -b https://gitlab.com -t ****** -o ./data -p 1538 -p 5427

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

glbuild-0.1.6.tar.gz (15.2 kB view hashes)

Uploaded Source

Built Distribution

glbuild-0.1.6-py3-none-any.whl (17.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page