feat: make org defaults overridable via .munitor.yml org section #1

Merged
KofTwentyTwo merged 1 commits from feature/org-agnostic-defaults into develop 2026-03-18 17:40:13 +00:00
KofTwentyTwo commented 2026-03-18 17:40:06 +00:00 (Migrated from github.com)

Summary

  • Replace hardcoded KofTwentyTwo org defaults with yq reads from optional .munitor.yml org section
  • All 5 org values (docker_registry, npm_scope, ci_email, ci_name, orb_slug) are now overridable
  • Falls back to existing kof22 values when org section is omitted (backward compatible)
  • Update orb description to be org-neutral

Usage

Existing repos: no changes needed. New orgs add:

org:
  docker_registry: ghcr.io/my-org
  npm_scope: "@my-org"
  ci_email: ci@my-org.com

Files changed

  • src/scripts/extract_munitor_vars.sh
  • src/scripts/packed_generate_config.sh
  • src/scripts/packed_generate_dockerfile.sh
  • src/scripts/update_cd_repo.sh
  • src/@orb.yml
## Summary - Replace hardcoded KofTwentyTwo org defaults with yq reads from optional `.munitor.yml` `org` section - All 5 org values (docker_registry, npm_scope, ci_email, ci_name, orb_slug) are now overridable - Falls back to existing kof22 values when `org` section is omitted (backward compatible) - Update orb description to be org-neutral ## Usage Existing repos: no changes needed. New orgs add: ```yaml org: docker_registry: ghcr.io/my-org npm_scope: "@my-org" ci_email: ci@my-org.com ``` ## Files changed - `src/scripts/extract_munitor_vars.sh` - `src/scripts/packed_generate_config.sh` - `src/scripts/packed_generate_dockerfile.sh` - `src/scripts/update_cd_repo.sh` - `src/@orb.yml`
Sign in to join this conversation.