-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancement ✨New feature or requestNew feature or request
Description
Problem: it's error-prone to test bitops changes locally and difficult to test any helm changes locally for sufficiently complex helm projects and most bitops scripts.
Solution: add minikube as a deploy target, update scripts so they can be run locally, and discuss other enhancements below.
I see a few options:
- Add 'minikube' support: could run before helm + allow us to do things like
minikube addons enable ingress/minikube addons enable metrics-server- Would be nice to conditionally enable or disable entire environments or tools based on bitops config or the environment
- No issue yet, but there's a blog ticket after: Blog about automating a minikube env given an existing env #108
- Update scripts to easily be run locally/debug/refactor
- Things like: usage info, options, separating parameters +
ENV_VARSwould all make these scripts be easier to run and debug locally. Not directly related to deploying to minikube, but would be helpful for local bitops development and debugging - We might also want to adopt a style guide (example) or add something like shellcheck to CI
- Things like: usage info, options, separating parameters +
- Does running helm tests fit in here?
- Likely not, this seems like something we can support with
helm upgrade-- but we haven't confirmed yet
- Likely not, this seems like something we can support with
Do we need shell unit tests?Test bitops shell scripts #106Is there a standard way we could set up debugging?Enhance logging #88DEBUG=1is inconsistently used in some scripts andset -xadds a lot of noise/potentially sensitive values to log files.- Does (1) require us to support ordered or dependent deployments? E.g. only deploy helm after minikube, or allow users to specify an order
Diffing environmentsAllow diffing "compiled" environments #107 and/orbitops planoption #102- Generating environments + generating minikube setup scritps for a "local" dev env
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancement ✨New feature or requestNew feature or request