Skip to main content

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

  1. Install dependencies using poetry install --with dev
  2. Install git hooks using pre-commit install. This will run linters and formatters before each push to repository.

Pycharm

  1. Set the Python interpreter to the one created by Poetry. This can be done by going to File -> Settings -> Project-> Python Interpreter and selecting the interpreter created by Poetry. Path to the interpreter can be found by running poetry env info in the terminal.
  2. Install Pylint plugin for Pycharm.
  3. Enable "Reformat code" on save. This can be done by going to File -> Settings -> Tools -> Actions On Save.

How to run

  1. Run poetry shell to activate the virtual environment.
  2. Run python -m gitoptim to 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


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)

Uploaded Source

Built Distribution

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

gitoptim-0.1.0.dev4-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

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

Hashes for gitoptim-0.1.0.dev4.tar.gz
Algorithm Hash digest
SHA256 d75f1b47b188920af6f7f65515eab30d42fb85afa8d4d8b721db6477ea716a6d
MD5 7c684c6227dc61488896ae77daf76fc4
BLAKE2b-256 2c09d9b34469c9d20f8449504f39460af9ac81e3b6fd978b9c55d5511850f2f8

See more details on using hashes here.

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

Hashes for gitoptim-0.1.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 7cc3aeb46fbbc42e18181425a0b585e832f77bc76a700b047bfa17c2ecf3f5b8
MD5 979f880e7e3893e5d2ea06d8d0fd9fef
BLAKE2b-256 00eed47e92195b4c4769f30a7c6974b17f4b843a0674ed1c8dc8762b0ad5fd56

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