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.ymlfiles - Detect optimization opportunities (caching, parallelization, artifacts)
- Generate optimized pipeline configurations
- Support for Node.js, Python, Docker, Go, Rust, and Java templates
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bafecb2e2a1b026b03489dd6fc6a9abfdde646e143a6888f4c51c62e53c2fde9
|
|
| MD5 |
67dac86d77b47721b6f8015e473a5823
|
|
| BLAKE2b-256 |
087d5c319259f42e869ef3f0fb1bc945215da6f6b3f0e5d84af42f2556c29402
|
File details
Details for the file gitlab_ci_optimizer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gitlab_ci_optimizer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
174c6e8e94a34282887e9aa56320fe1b28372f6238f72e13399665163df050e3
|
|
| MD5 |
e88a807ca097e0d20ff0ac1e50ac1479
|
|
| BLAKE2b-256 |
e0f0f7486ec349d13e198231fb6bed963e8e0bdfc221d960c35f487486a04087
|