-
Notifications
You must be signed in to change notification settings - Fork 615
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
(POC) Add devfile v2 outerloop flow to console #6321
Conversation
Hi @reginapizza. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thanks for opening up this PR @reginapizza - I'll look through and see what you have come up with. Would you mind updating the description with a couple screenshots / gifs of the work you have done so it's clearer at a glance? /hold Also a little bookkeeping - Master is currently pointing at 4.6, and this is a 4.7 implementation. So just going to put a cautionary hold on this PR while we review the changes and discuss things. |
@andrewballantyne PR description has been updated with screenshots! My apologies about not understanding the versioning, still getting used to things here... should I update from |
submit utils and mocking backend
…console into jd-addDevfile
Added backend to frontend communication
…vfileBackendCommunication
Just a quick update: things are working on the UI side for the most part, the last big puzzle piece to complete the flow is getting the devfile/parser library to work. The diagram below shows how the communication works between the app and the library; in place of the devfile/parser library we are using mocked data in the backend. Please see this doc for a more in-depth status update, including items that are still on the to-do list. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the "Dev Preview" badge on the Import from devfile form page. Thanks!
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: reginapizza The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@reginapizza Are we going to want to get this in before the backend is ready. Based on the meeting yesterday it sounded like they are moving the right direction but are not yet ready. I think we may be able to get this into the UI and swing back with a go update to add the proper connectivity to the devfile lib. Thoughts? |
@serenamarie125 The images in the original description were outdated, the badge is currently there though. I've updated the description to include a full demo video that accurately reflects the code here now. |
Looks great, thanks @reginapizza |
Sounds good to me @andrewballantyne |
FYI, the devfile library PR is up for review at devfile/library#44 |
I'll look to take over this PR going into next sprint. Thanks @maysunfaisal ! |
if (validated === ValidatedOptions.warning) { | ||
return 'URL is valid but cannot be reached. If this is a private repository, enter a source secret in Advanced Git Options'; | ||
} | ||
if (validated === ValidatedOptions.warning) { | ||
return 'Valid URL but devfile build guidance not available.'; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both these if conditions check for warning
. Looks like the condition for not reachable should be an error
looking at the logic above in this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, I'll have to validate the UI code once I move it over. I'm trying to close off the ticket I'm working on but clusters seem to be having some issues today. Good catch though.
/close See #7299 for the continued work on Devfile addition to DevConsole. |
@andrewballantyne: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This PR is to implement the
Import from Devfile
flow.UX mocks for this flow can be found here
Changes made and what is left to do is documented here.
Full demo video can be found here.
@Shraddhak22 @jaideepr97 @ranakan19 @wtam2018 @mitchharpur