Skip to main content

A CI/CD tool

Project description

Bluish

A CI/CD automation tool that runs everywhere and has make ergonomics.

Features

  • YAML-based declarative approach (not that I love YAML, but...)
  • Githubactions-esque philosphy, but way simpler. In fact, Bluish is nearer to Make than to GA.
  • Runs everywhere, not tied to any vendor. Fire Bluish workflows from Github Actions, from a Gitlab workflow or from a cron-invoked a shell script.
  • Simple as hell. I only add new actions whenever I need them.

Documentation

Please, refer to the project wiki.

How do Bluish workflows look?

If you know other CI/CD tools, the following yaml will look more than familiar to you and you don't need any further explanation.

var:
  PYTHON_VERSION: "3.11"
  PYTEST_RUNNERS: 2

jobs:
  lint:
    name: Runs ruff and mypy
    steps:
      - run: |
          ruff version
          ruff check src/ test/
          echo ""
          mypy --version
          mypy --ignore-missing-imports --python-version=${{ var.PYTHON_VERSION }} src/ test/

  fix:
    name: Reformats the code using ruff
    depends_on:
      - lint
    steps:
      - run: |
          echo ""
          ruff version
          ruff check --select I --fix src/ test/
          ruff format src/

  test:
    name: Run tests
    steps:
      - run: |
          pytest -n ${{ var.PYTEST_RUNNERS }}

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

bluish-0.0.17.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

bluish-0.0.17-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file bluish-0.0.17.tar.gz.

File metadata

  • Download URL: bluish-0.0.17.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for bluish-0.0.17.tar.gz
Algorithm Hash digest
SHA256 edb2d19df1aae885789dbf27815a3b8f5e8947f2138e05f162dcfd3842e40440
MD5 e8b5050f4613da8158bb9efcee40aee2
BLAKE2b-256 594cb7620a2dd39e7b3d889fa2dec53aaf00bee93c625748e6233567c87f70e2

See more details on using hashes here.

File details

Details for the file bluish-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: bluish-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for bluish-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 89d9f6400d1354e042444d1b5b1028b6ae55402561bff5b53de926eeb0c73d29
MD5 01fce404be6daab80239bd2c9959a059
BLAKE2b-256 971d4b9f6c924da00c72c0fcfe2609144fc32da3ed509f8cbdb35ac48137c7b4

See more details on using hashes here.

Supported by

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