Docs: document how to PR the runtime, with the golang VC build issue #430
Comments
Do you mean building from a local path other than |
Talking to @grahamwhaley, it seems the problem is building in:
Whereas if you build in the following location, there are no problems afaik:
|
Exactly. It is a golang thing - but, all the other repos (proxy, shim etc.) will build in the |
@grahamwhaley @jodh-intel could we move this to the documentation repository (I don't think I have permission to do so). I wasn't able to find the documentation surrounding this, so it should probably stay open. |
We can probably close it - it is just that the runtime repo does not fit nicely into my normal github/golang workflow, but that seems to be just me ;-) |
specconv.CreateLibcontainerConfig returns a configuration without rlimits, because it can't convert posixRlimits to Rlimits. Convert posixRlimits to Rlimits and set rlimits in libcontainer configuration before finishing container creation. fixes kata-containers#430 fixes github.com/kata-containers#913 Signed-off-by: Julio Montes <julio.montes@intel.com>
Description of problem
Due to some golang path deps inside virtcontainers, you cannot (trivially) build the runtime in your own fork of the repo.
This makes the build/test/PR workflow for the runtime different from the other repos. We should document that in the Runtime developer docs - a BKM for build/test/PR workflow.
I believe the best way is to work in a clone of the main repo, and then push your working branch to your user fork of the main repo (by adding your repo as a remote to your clone of the main branch).
Input on BKM's welcome here @jodh-intel @sboeuf
This was related in the past, for ref: containers/virtcontainers#655
The text was updated successfully, but these errors were encountered: