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.dev9.tar.gz (5.9 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.dev9-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file gitoptim-0.1.0.dev9.tar.gz.

File metadata

  • Download URL: gitoptim-0.1.0.dev9.tar.gz
  • Upload date:
  • Size: 5.9 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.dev9.tar.gz
Algorithm Hash digest
SHA256 76db454f7a749504d3e5868d8a831abfe2093d205c0f10a1e80a1bab1c90e37e
MD5 721580868b765326941f3b896d9f16de
BLAKE2b-256 2d7b8189c9a337faab6ae94d38e0f71db1ec38377ec5391a00d135a942ee8b90

See more details on using hashes here.

File details

Details for the file gitoptim-0.1.0.dev9-py3-none-any.whl.

File metadata

  • Download URL: gitoptim-0.1.0.dev9-py3-none-any.whl
  • Upload date:
  • Size: 8.8 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.dev9-py3-none-any.whl
Algorithm Hash digest
SHA256 61603b7d3ceef447984d69e28a6274ea394620a8f2217bbb4861936689a32299
MD5 c989a67d4b9bd9439798a6d6a8c1bdf1
BLAKE2b-256 1a49663d8c37f166d6c4a11d5e99b46345783a2c0d96b885c42c282d68e582c0

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