Skip to main content

beku

Version: 0.0.10

Fast Kuttl tests expander for Stackable integration tests.

beku -i tests/test-definition.yaml -t tests/templates/kuttl -k tests/kuttl-test.yaml.jinja2 -o tests/_work

beku parses a test definition YAML file together with a directory of templated Kuttl test definitions. From this it generates Kuttl test suites which can then be run with plain Kuttl. This was built on top of Kuttl to support running tests with different version combinations of products, or slightly different features enabled, without having to duplicate tests.

Installation

We recommend to use pipx:

pipx install beku-stackabletech

But you can also use pip:

# from PyPI
pip install beku-stackabletech
# from GitHub
pip install git+https://github.com/stackabletech/beku.py.git@main

Or via NixOS and Nix Shell:

{ lib, pkgs, ... }:
with lib;
let
  beku = pkgs.callPackage(pkgs.fetchFromGitHub {
    owner = "stackabletech";
    repo = "beku.py";
    rev = "145e8210f5786b8128e3af43f60b61f065cc2c39";
    hash = "sha256-hLaIY4BE+VIMeKmS3JLOZy87OC2VuQtbX/NCIbQr2p4="; # use lib.fakeHash to find new hashes when upgrading
  } + "/beku.nix") {};
in
{
  packages = with pkgs; [
    beku
    # ...
  ];

  // ...
}

Usage

cd <stackable operator directory>
rm -rf tests/_work && beku
cd tests/_work && kubectl kuttl test

Also see the examples folder.

Release a new version

Update the version in:

  • src/beku/version.py
  • README.md : version and pip install command.

Update the CHANGELOG. Commit and tag. Build and publish:

rm -rf dist/
python -m build --sdist --wheel .
twine upload dist/*

Metadata

Release files for beku-stackabletech 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beku-stackabletech 0.0.10
File Size Uploaded Provenance Actions
beku_stackabletech-0.0.10.tar.gz 11.3 kB Without provenance Details for beku_stackabletech-0.0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for beku-stackabletech 0.0.10
File Interpreter ABI Platform Actions
beku_stackabletech-0.0.10-py3-none-any.whl Python 3 none any Details for beku_stackabletech-0.0.10-py3-none-any.whl

Total release size: 22.7 kB

Release files / beku_stackabletech-0.0.10.tar.gz

Download URL beku_stackabletech-0.0.10.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d09f5f52ad6bc3e7901f7480d4a08d9c4f4673d5927b03512d11e73ebb97613f
BLAKE2b-256 checksum
How to use checksums
37c8897dc10f7fea455aebe8bb28fced7225f63e0d1154df0315ef73dd36bc81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / beku_stackabletech-0.0.10-py3-none-any.whl

Download URL beku_stackabletech-0.0.10-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b84610032de6b271485befb197a36f6d3faeb12f39f6f4225d2b8732f6d59124
BLAKE2b-256 checksum
How to use checksums
2c522f871d430aacf59bc4e7c89db478b519b24bf6f8e5e9f6952daa288482fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for beku-stackabletech 0.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page