-
Notifications
You must be signed in to change notification settings - Fork 244
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
Devfile Adapter Cleanup/Refactor #3015
Comments
/area devfile |
I would suggest we do the cleanup once we have devfilev2 |
we need to break this issue into two parts, devfile dependent and independent tasks. |
I went through the above checklist, and looks like none of the items are hard devfile dependent. The only possible items that MAYBE affected are:
Would need to go through the individual devfile v2 feature request to see if they would be truly affected! |
Updates:
Similarly the build command in master branch is, To break it down even further, |
Update: I can see it being refactored with a func() that takes hostConfig/containerConfig and starts the container. But since this is docker, I am going to skip on it until reqd. |
Update: SyncFiles(syncParameters common.SyncParameters) is already cleaned up with structs:
Also checked that |
Update: I also noticed that we have and closing this |
/kind user-story
User Story
Some cleanups to be tracked, that were raised during #2922
Acceptance Criteria
docker/utils/utils.go StartBootstrapSupervisordInitContainer()
since it is very similar todocker/component/utils.go startComponent()
Devfile Adapter Cleanup/Refactor #3015 (comment)sync/adapter.go SyncFiles()
has a lot of variables, see if they can be cleaned up further nicely with a struct Devfile Adapter Cleanup/Refactor #3015 (comment)execDevfile()
can be refactored more cleanly Devfile Adapter Cleanup/Refactor #3015 (comment)--show-log
is absent, it takes some time to pull the docker image down, and the push output does not show anything at the time [Docker] User left waiting with no spinner while supervisord image is pulling #3033Links
/kind user-story
The text was updated successfully, but these errors were encountered: