You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Imagine you have to run specific command just toggling one value in it. For example, running your spring boot application with a different profile. The current 1build configuration might look like –
As you can see above, the duplication of commands run , run-dev , run-staging
you duplicating a lot of configuration just for 1/2 place changes. This feature might be useful for developers who prefer to parameterize the commands instead of duplicating.
We can hold on this until we get some more feedbacks on this.
alexluix
changed the title
set dynamic values with 1build yaml configuration file
Support command line parameters for 1build yaml configuration file
Jun 20, 2019
Description
Imagine you have to run specific command just toggling one value in it. For example, running your spring boot application with a different profile. The current 1build configuration might look like –
With this new feature, you can just write like configuration file like,
Where
profile
is variable and the default value islocal
.Now you can use command
1build run dev
to run the application usingdev
profileOR
1build run --profile staging
to run using staging profile.Acceptance Criteria
1build
configuration file.@landpro and @Ritabrata-TW
WDYT about this feature?
The text was updated successfully, but these errors were encountered: