Allow user to perform outer loop build/deploy with CLI args, (without changing contents of devfile) #5080
Labels
area/outerloop
Issues or PRs related to outer-loop use cases
kind/user-story
An issue of user-story kind
priority/Medium
Nice to have issue. Getting it done before priority changes would be great.
/kind user-story
User Story
As an application deployer (e.g. perhaps in writing a pipeline build task), I want to perform an image build and deploy (or possibly build only) with substitutions for devfile variables provided at build time. (I don't want to necessarily have to express my customization as a devfile file, even using child/parent extension).
This would be analogous to docker build-arg, e.g.:
docker build --build-arg abc=123
.Acceptance Criteria
Links
odo deploy
command for initial transition from inner to outer loop #2756 , (now making its way into devfile library, e.g. here: Dockerfile Outerloop Support devfile/api#580)odo config view/set
#4838, which could be a sort of "soft" prereq.NOTE:
This could also prompt the question "why not allow this on other commands?", e.g. "push" and "test". This could get tricky because of pod state... e.g. 'push' may or may not start a new pod.. should it try to be smart about deciding whether to if the devfile variable values change? OTOH, 'test' does not ever start a new pod.. so is it safer (if possibly wrong / user error) to allow new variable values? Some things to think about...
/kind user-story
The text was updated successfully, but these errors were encountered: