SolidCharity / LightBuildServer

LightBuildServer for building rpm and deb packages and running CI scripts, using linux containers
BSD 3-Clause "New" or "Revised" License
11 stars 1 forks source link

Add option to keep network connection during build #194

Closed tpokorra closed 2 years ago

tpokorra commented 2 years ago

for some situations, we don't want to have a network connection during the build of a package. But for other situations, for example with ansible tests, we need a network connection for the full run.

tpokorra commented 2 years ago

no, my problem is inside SetupEnvironment, which is called before DisableOutgoingNetwork

tpokorra commented 2 years ago

solved with ssh multiplexing. see https://wiki.hostsharing.net/index.php/SSH_Rate_Limit and https://github.com/tpokorra/lbs-hostsharing/commit/b66525e227c209328bc0e664b9af7e8cc5edb044