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
In some situations, I want to run spring boot application with a different profile.
This can be done adding -Dspring-boot.run.profiles=postgres flag to to spring-boot:run command.
Currently I have to edit the commandLine in order to be able to execute my with different profile.
Instead of that it would be nice to be able to add extra run command like this:
And then simply execute odo dev --run-command run-with-postgres, when I want to switch back to using the default profile, I stop running odo dev command and start it again, but this time without --run-command flag.
Acceptance Criteria
odo dev should have --run-command flag that controls what command is used to start application.
/kind user-story
The text was updated successfully, but these errors were encountered:
we should try to harmonize the behaviour between commands in pkg/libdevfile/libdevfile.go. Deploy is using getDefaultCommand, when Build/Test/Run is using getCommandAssociatedToGroup
User Story
Example:
SpringBoot devfile has the following default run command.
In some situations, I want to run spring boot application with a different profile.
This can be done adding
-Dspring-boot.run.profiles=postgres
flag to tospring-boot:run
command.Currently I have to edit the commandLine in order to be able to execute my with different profile.
Instead of that it would be nice to be able to add extra run command like this:
And then simply execute
odo dev --run-command run-with-postgres
, when I want to switch back to using the default profile, I stop runningodo dev
command and start it again, but this time without--run-command
flag.Acceptance Criteria
odo dev
should have--run-command
flag that controls what command is used to start application./kind user-story
The text was updated successfully, but these errors were encountered: