Skip to content

canonical/alertmanager-rock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alertmanager-rock

Open a PR to OCI Factory Publish to GHCR:dev Update rock

Rocks for Alertmanager.
This repository holds all the necessary files to build rocks for the upstream versions we support. The Alertmanager rock is used by the alertmanager-k8s-operator charm.

The rocks on this repository are built with OCI Factory, which also takes care of periodically rebuilding the images. New versions of the rock are tested using kgoss, which is part of goss.

How do I interact with this repo? This repo uses just to easily run some commands:

∮ just
Available recipes:
    clean version               # `rockcraft clean` for a specific version
    pack version                # Pack a rock of a specific version
    run version=latest_version  # Run a rock and open a shell into it with `kgoss`
    test version=latest_version # Test the rock with `kgoss`

Automation takes care of:

  • validating PRs, by simply trying to build the rock;
  • pulling upstream releases, creating a PR with the necessary files to be manually reviewed;
  • on PRs, validate the added (or modified) rocks by running kgoss;
  • releasing to GHCR at ghcr.io/canonical/alertmanager:dev, when merging to main, for development purposes.