Skip to content

feat: parameterize tooling for multi-env support#40

Merged
acascais merged 1 commit intomainfrom
feat/multi-env-tooling
Apr 9, 2026
Merged

feat: parameterize tooling for multi-env support#40
acascais merged 1 commit intomainfrom
feat/multi-env-tooling

Conversation

@acascais
Copy link
Copy Markdown
Contributor

@acascais acascais commented Apr 9, 2026

Summary

  • Makefile, 7 scripts, and CI workflow now accept ENV variable (default: dev) for multi-env support
  • APPS list auto-filters to existing dirs — partial envs (e.g. prod with only argo-cd) pass tests cleanly
  • ENV validation catches typos (make ENV=prodd → error)
  • CI matrix currently [dev] only — TODO to add prod once clusters/prod/ has apps

Test plan

  • make test — dev passes (unchanged behavior)
  • make ENV=prod test — skips cleanly (no apps, no versions.yaml)
  • make ENV=prodd test — fails with validation error
  • No remaining hardcoded clusters/dev refs in Makefile, scripts/, .github/

Makefile, scripts, and CI workflow now accept ENV variable (default: dev)
so they work for both clusters/dev/ and clusters/prod/. APPS list
auto-filters to existing dirs, allowing partial envs like prod (argo-cd
only) to pass tests cleanly.
@acascais acascais merged commit a32e208 into main Apr 9, 2026
2 checks passed
@acascais acascais deleted the feat/multi-env-tooling branch April 9, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant