-
Notifications
You must be signed in to change notification settings - Fork 243
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
Add odo deploy
command for initial transition from inner to outer loop
#2756
Comments
This is the "same" related to this discussion #1229 |
We are planning a proposal issue which would break this epic down #2703 |
In addition to pipelines, I would like to see another devfile command supported by odo. Currently, if I understand correctly, odo supports two commands in the devfile: |
Yes, this is what the deploy command should do. Not sure how we exactly we will achieve this but defining another command like |
@kadel that sounds good - but it does raise another question... If I want to deploy a stripped down image for production, there needs to be a command to build that image - e.g. |
+1 for having a |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
/remove-lifecycle rotten
/lifecycle frozen
…On Sun, 15 Nov 2020 at 21:31, OpenShift Bot ***@***.***> wrote:
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
/lifecycle rotten
/remove-lifecycle stale
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2756 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAN65SYLRANAHHULFTCUATSQA3BLANCNFSM4LTR6LYQ>
.
|
Moved out to 2.2 milestone due to dependencies on devfile 2.2 |
The devfile library doesn't have outer loop support yet. Ideally, this should be sorted at devfile library end first and then implemented in odo. |
It does now (https://github.com/devfile/library/releases/tag/v1.2.0). We can start working on this Created user story to cover initial |
/kind feature
Which functionality do you think we should add?
Today odo helps a developer with their inner loop workflow. Once the developer is ready to deploy that application, they need to go outside of odo to make that happen. I propose odo have an
odo deploy
command to allow an initial transition from inner loop to outer loop.The result of an
odo deploy
command should be the component gets deployed to the cluster in a configuration suitable to receive production traffic.Why is this needed?
This is meant primarily for new user experience, demos, and such as a developer learns how to deploy applications to the cluster. Best practice for real production usage would still be integration with pipelines (#1238) or integration with gitops workflows (#2617). There's a gap between
odo push
for in-cluster inner loop and pipelines or gitops workflows that this intends to fill.How should it be added?
As a strawman proposal, I'd suggest bringing this in following the recent devfile support by having a convention for metadata in the devfile that odo can understand to deploy an application. This would allow devfile-aware pipelines to reuse that same devfile metadata to do the actual deployment at the output of those pipelines.
What the exact metadata in the devfile should look like needs to be decided. I believe the existing devfile 2.0 spec covers the need here, but we'll need to verify that.
User stories
image
component anddeploy
devfile command / initialodo deploy
implementation #5109The text was updated successfully, but these errors were encountered: