Skip to main content

A CI/CD tool

Project description

justforfunnoreally.dev badge

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 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.7.1.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

bluish-0.7.1-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bluish-0.7.1.tar.gz
Algorithm Hash digest
SHA256 f332e329c946f39b1f9408b72395ddd72e3a5e7baa80ad5ae27e8e7ec67647b5
MD5 c73f4d60146f15bee559daf35a85cbd5
BLAKE2b-256 cc0954c52ccb62dfc6bc5718582cfdf7077c9f6028e4cf292652c2e5d97e29f9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bluish-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c551abb09a8313d189a7f419a3752c49e9a4e0f57d34e586ed869a73d0d13af
MD5 d8d8cf21bc46aec236ebde472d204128
BLAKE2b-256 52bb2d741a3274b972502005e6f30de41f1bf5711c065432703c30500fa6fd5d

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