Skip to main content

A collection of helpers for Charms maintained by the Charmed Kubeflow team

Project description

Charmed Kubeflow Chisme

Chisme: a Spanish word for gossip, or a story worth telling to your friends.

This repository is for chisme within the Charmed Kubeflow team's codebase - it is a collection of helpers for use in both the Charmed Operators maintained by the Charmed Kubeflow team as well as anyone else who benefits from them.

Contents

  • Exceptions: A collection of standard Exceptions for use when writing charms.
  • Kubernetes: Helpers for interacting with Kubernetes
  • Lightkube: Helpers specific to using or extending Lightkube
  • Pebble: Helpers for managing pebble when writing charms
  • Reusable Charm Components: The Component abstraction that encapsulates any piece of logic for a Charm, a reusable reconcile function CharmReconciler that executes Components, and a collection of Components for things like running Pebble containers or deploying Kubernetes resources
  • Rock: Utilities for testing ROCKs
  • Status Handling: Helpers for working with Charm Status objects
  • Testing: Utilities for testing Charms
  • Types: Reusable typing definitions, useful for adding type hints

Publishing to PyPi

To publish a new release to Pypi:

  1. Update setup.cfg to the new version and commit it to the repo via a completed PR
  2. Apply local git tag according to the format X.X.X (semantic versioning) on the main branch
  3. Push tag to the repo. Example: git push origin 0.0.8
  4. GitHub Action will create a new release on GitHub
  5. Edit release via GitHub UI and click publish
  6. GitHub Action will automatically publish the same commit to PyPi repository

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

charmed-kubeflow-chisme-0.3.0.tar.gz (38.1 kB view hashes)

Uploaded Source

Built Distribution

charmed_kubeflow_chisme-0.3.0-py3-none-any.whl (53.0 kB view hashes)

Uploaded Python 3

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