Because as we look to potentially add components in other languages, we need a directory structure that supports it.
Notes for review: This is low-priority, and probably not too difficult to rebase. I was a little bored, mostly did this during my free time. The intent of this PR is for discussion, not that I've already decided "we need to use this solution" :smile:.
Separately: Splitting the YAMLs will be somewhat tricky to manage safely. I think we should have a clear idea of how we'll do that before merging.
If we go with this approach, we should aim to cut a release soon after merging.
This basically encompasses two logical changes:
The new structure is:
autoscaler-agent
,neonvm-controller
,vm-builder
)cmd/
- directory containing main.go for the componentDockerfile
- for building the component*.yaml
- various YAML files for deploying, if applicableAdditionally, all code outside the
cmd
package are moved into thepkg/
subdirectory. In particular, there is nowpkg/neonvm/
.Also of note:
neonvm/hack/kernel
has been relocated to the new top-level directoryneonvm-kernel/
.Under this structure, the user-visible changes are:
The primary reasons for this change are:
Notes for review: This is low-priority, and probably not too difficult to rebase. I was a little bored, mostly did this during my free time. The intent of this PR is for discussion, not that I've already decided "we need to use this solution" :smile:. Separately: Splitting the YAMLs will be somewhat tricky to manage safely. I think we should have a clear idea of how we'll do that before merging.
If we go with this approach, we should aim to cut a release soon after merging.