[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cbi-dev] Starting sibling containers
|
Unfortunately, we don't support your use case with the resources we provide.
What you can do though is providing a machine (e.g. a VM from a cloud provider) and we can attach it to the Jenkins instance as an agent. You will be root on the machine so you will have the ability to start docker containers from there.
Note that you can also request a "virtual server" that any project is eligible to and use it as the "docker build agent". But I suspect that the sizing of the "virtual server" may be too low for your use case (see https://wiki.eclipse.org/CBI#What.27s_provided.3F)
Cheers,
Mikaël Barbero
Team Lead - Release Engineering | Eclipse Foundation 🐦 @mikbarbero
Hi Mikaël,
Thanks for this clarification.
Still, our Java library embeds the native (C) libraries for all the platforms we supports (x86, ARM, MacOS…).
Therefore, we need in a single Maven build to compile all the native libraries and to bundle them into a jar.
The current solution is to have Maven calling a Makefile which calls the various cross-compilation Docker containers to build the native libs, and then goes on with packaging and tests.
The great advantage of this, is that any user only needs to pre-install Docker (and SWIG) before to run a regular mvn command.
Do you see a solution to make this work in CBI with a custom pod template?
Cheers,
Julien
My question:
Is it possible for a build in CBI to pull/start Docker containers on the fly, and if yes, how ?
No, it's not possible for security reasons: letting people mount the docker socket basically grants root access to the host.
Cheers,
Mikaël Barbero
Team Lead - Release Engineering | Eclipse Foundation
🐦 @mikbarbero
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cbi-dev
_______________________________________________ cbi-dev mailing list cbi-dev@xxxxxxxxxxxTo unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cbi-dev
|
Attachment:
signature.asc
Description: Message signed with OpenPGP