3 ms·
The kubernetes plug-in for Jenkins works well for us, and as the checkout/clone happens in the pod you don’t have the workspace bind mount problem. We are using
by btbuilder 3y ago
The kubernetes plug-in for Jenkins works well for us, and as the checkout/clone happens in the pod you don’t have the workspace bind mount problem. We are using docker-in-docker at the moment but looking at buildah. We do parallel windows container builds as well.
Jenkins is a bit like Perl IMO: there are ways to use it that avoid the majority of its sharp edges (eg putting logic in bash and just call bash, avoid groovy) if you know the perils that lurk.
- sigwinch28 3y ago> We are uding docker-in-docker at the moment You can also run a "less privileged" container with all the features of Docker by using rootless buildkit in Kubernetes. Here are some examples: https://github.com/moby/buildkit/tree/master/examples/kubernetes https://github.com/moby/buildkit/tree/master/examples/kubern... https://github.com/moby/buildkit/blob/master/examples/kubernetes/job.rootless.yaml https://github.com/moby/buildkit/blob/master/examples/kubern... It's also possible to run dedicated buildkitd workers and connect to them remotely.
- AaronM 3y agoThe biggest issue I have with the plugin is the container takes a significant amount of resources to run. I don't know how that compares to other solutions like github though. Being able to run a really lightweight container in argowf has its advantages