-
Notifications
You must be signed in to change notification settings - Fork 119
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
Port the kubevirtCI bash code into the go cli #1185
Comments
So over the past few days i have been thinking of what questions do we need to explore to begin with this ? 1- Which files will be transformed to go during the coding period ? eventually the goal is to do it for all, however during the coding period i believe we should set a few ones to be the absolute essentials that will guide how the rest is rewritten later. as its more important to create the skeleton of how this refactor should look like and move the files one by one after this skeleton has been established. for that i recommend provision.sh and provision-k8s.sh and a single optional feature file for which i nominate istio (we can agree to pick another one) 2- The execution architecture During our call i thought that the suggestion of having the gocli signal commands to be run on the node container via a webserver is a very nice idea. in which the node container will come prebuilt with all the mini clis we created (or bash scripts for the files that will be rewritten later) and these get run via a request made to the node container from the cli. in case we agree that this is the idea we will go with then agreeing on what the api looks like and the type of it (rpc, rest) and how its served (tcp, unix) is the next most important step 3- The build process for the container and the clis I think the easiest and least complicated way is to have all the clis (and the webserver) being built as a part of the node container build script and all of them existing in it by default. but this takes away the power to edit a single one of them and having it copied to the container during execution via scp. if this is important to us then we need something more nuanced that will account for the difference between the different operating systems and cpu architectures the cli is being built vs run on. What i recommend as a few starting steps:
|
/assign |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with /lifecycle rotten |
/remove-lifecycle rotten |
Is your feature request related to a problem? Please describe:
To port over the bash code of go cli into reusable and extensible go code.
This issue exists to be a centralized discussion place for the different topics that need discussed related to the project. and as an umbrella issue to avoid the creation of ones with similar goals
Describe the solution you'd like:
The removal of duplicated bash code in the repo and the existence of a structure that allows us to transform the scripts one by one into go. as well as removing the wrappers required for the
provision
andrun
commands of the gocli.Additional context:
Related issues:
The text was updated successfully, but these errors were encountered: