SDK tool to connect Gitlab pipelines with Workflows
Project description
Gitoptim SDK
Introduction
Gitoptim SDK is a CLI tool that enables integration of Gitlab pipelines and Workflows. It is designed to be used in CI/CD jobs.
Commands
memlab
TODO
Development
Prerequisites
- Python 3.11 or later
- Poetry for dependency management
Setup
- Install dependencies using
poetry install --with dev - Install git hooks using
pre-commit install. This will run linters and formatters before each push to repository.
Pycharm
- Set the Python interpreter to the one created by Poetry. This can be done by going
to
File -> Settings -> Project-> Python Interpreterand selecting the interpreter created by Poetry. Path to the interpreter can be found by runningpoetry env infoin the terminal. - Install Pylint plugin for Pycharm.
- Enable "Reformat code" on save. This can be done by going to
File -> Settings -> Tools -> Actions On Save.
How to run
- Run
poetry shellto activate the virtual environment. - Run
python -m gitoptimto start the CLI.
Important: In order to push to repository you need to have poetry shell enabled so that git hooks can run.
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
gitoptim-0.1.0.dev4.tar.gz
(6.0 kB
view details)
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 gitoptim-0.1.0.dev4.tar.gz.
File metadata
- Download URL: gitoptim-0.1.0.dev4.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.7.6-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d75f1b47b188920af6f7f65515eab30d42fb85afa8d4d8b721db6477ea716a6d
|
|
| MD5 |
7c684c6227dc61488896ae77daf76fc4
|
|
| BLAKE2b-256 |
2c09d9b34469c9d20f8449504f39460af9ac81e3b6fd978b9c55d5511850f2f8
|
File details
Details for the file gitoptim-0.1.0.dev4-py3-none-any.whl.
File metadata
- Download URL: gitoptim-0.1.0.dev4-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.7.6-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cc3aeb46fbbc42e18181425a0b585e832f77bc76a700b047bfa17c2ecf3f5b8
|
|
| MD5 |
979f880e7e3893e5d2ea06d8d0fd9fef
|
|
| BLAKE2b-256 |
00eed47e92195b4c4769f30a7c6974b17f4b843a0674ed1c8dc8762b0ad5fd56
|