Skip to content

v0.1.2

Choose a tag to compare

@KofTwentyTwo KofTwentyTwo released this 21 Mar 21:02
v0.1.2
d766747

Munitor v0.1.2

Makes org-level defaults overridable, enabling other organizations to adopt Munitor without forking. Published as kof22/munitor@0.1.2.

New Features

Overridable Org Defaults (#1)

All five hardcoded KofTwentyTwo org defaults are now configurable via an optional org section in .munitor.yml:

Key Default Description
docker_registry ghcr.io/koftwentytwo Container registry prefix
npm_scope @koftwentytwo npm package scope
ci_email ci@kof22.com Git committer email for CD updates
ci_name kof22-ci Git committer name for CD updates
orb_slug kof22/munitor CircleCI orb reference

Existing repos require no changes. New organizations add:

org:
  docker_registry: ghcr.io/my-org
  npm_scope: "@my-org"
  ci_email: ci@my-org.com
  ci_name: my-org-ci
  orb_slug: my-ns/munitor

Updated orb description to be org-neutral.

Files Changed

  • src/scripts/extract_munitor_vars.sh - Read org values from config with fallback defaults
  • src/scripts/packed_generate_config.sh - Propagate org values
  • src/scripts/packed_generate_dockerfile.sh - Propagate org values
  • src/scripts/update_cd_repo.sh - Use configurable CI identity
  • src/@orb.yml - Org-neutral description

Stats

  • 5 files changed, 25 insertions, 24 deletions
  • Fully backward compatible