-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Allow specifying repo config file from CLI #410
Comments
@oev-chrisbennett Is the use case here a monorepo setup? We added support to help with those sorts of scenarios so you can do something like this:
Then if you run a single |
hey @watsonian yes - so my use case is using a monorepo setup (normal config in # doppler.yaml
setup:
- project: cli
config: dev
path: .
- project: example
config: stg
path: example/
# doppler.alternative.yaml
setup:
- project: cli
config: dev-second-config
path: .
- project: example
config: stg-second-config
path: example/ so I could run doppler setup --no-interactive to setup everything normally, then if I wanted to change to an alternative config I could run doppler setup --no-interactive -f doppler.alternative.yaml In this example it's only 2 projects but it would be a great help for a monorepo setup where I need to change 10+ configs at once. |
@oev-chrisbennett is the goal here swapping all services in the monorepo to a branch config for feature testing or something similar? |
@watsonian yes - feature testing or changing backend providers where necessary. |
Is your feature request related to a problem? Please describe.
I'd like to be able to specify a repo config file when running
doppler setup
so that I can easily switch between repo configs.Describe the solution you'd like
A flag specific to
doppler setup
so that I can use a chosen repo config file.Describe alternatives you've considered
--no-interactive
flag, but would save time when having to switch between large repo configs.Additional context
Thanks!
The text was updated successfully, but these errors were encountered: