Skip to main content

Analyze and optimize GitLab CI configurations

Project description

GitLab CI Optimizer

Analyze and optimize your GitLab CI/CD pipeline configurations.

Installation

pip install gitlab-ci-optimizer

Usage

Analyze a pipeline

gitlab-ci-optimizer analyze .gitlab-ci.yml

Generate optimized configuration

gitlab-ci-optimizer optimize .gitlab-ci.yml -o .gitlab-ci-optimized.yml

Generate a template

# Node.js
gitlab-ci-optimizer template node -o .gitlab-ci.yml

# Python
gitlab-ci-optimizer template python -o .gitlab-ci.yml

# Docker
gitlab-ci-optimizer template docker -o .gitlab-ci.yml

# Go
gitlab-ci-optimizer template go -o .gitlab-ci.yml

Options

  • -o, --output - Output file path
  • -f, --format - Output format (json, yaml, text) for analyze command
  • -v, --verbose - Verbose output

Features

  • Parse and validate .gitlab-ci.yml files
  • Detect optimization opportunities (caching, parallelization, artifacts)
  • Generate optimized pipeline configurations
  • Support for Node.js, Python, Docker, Go, Rust, and Java templates

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

gitlab_ci_optimizer-0.1.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitlab_ci_optimizer-0.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file gitlab_ci_optimizer-0.1.0.tar.gz.

File metadata

  • Download URL: gitlab_ci_optimizer-0.1.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gitlab_ci_optimizer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bafecb2e2a1b026b03489dd6fc6a9abfdde646e143a6888f4c51c62e53c2fde9
MD5 67dac86d77b47721b6f8015e473a5823
BLAKE2b-256 087d5c319259f42e869ef3f0fb1bc945215da6f6b3f0e5d84af42f2556c29402

See more details on using hashes here.

File details

Details for the file gitlab_ci_optimizer-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gitlab_ci_optimizer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 174c6e8e94a34282887e9aa56320fe1b28372f6238f72e13399665163df050e3
MD5 e88a807ca097e0d20ff0ac1e50ac1479
BLAKE2b-256 e0f0f7486ec349d13e198231fb6bed963e8e0bdfc221d960c35f487486a04087

See more details on using hashes here.

Supported by

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