CI can't reach internet to fetch rust packages

David Disseldorp ddiss at samba.org
Tue Aug 13 01:22:57 UTC 2024


On Tue, 13 Aug 2024 09:37:59 +1200, Andrew Bartlett via samba-technical wrote:
...
> If you want access to the real internet, remove the socket wrapper
> environment variables or otherwise disable it. 
> But also, don't do that.

Indeed.

> At least in the past, the autobuild host does
> not permit outbound access, so you will need to work with the
> sysadmins. 
> The preferred pattern from our C model of software development is to
> encode dependencies at image generation time, and manually install on
> the autobuild host.

"cargo vendor" should allow you to dump your (hopefully audited and
trusted) dependencies in a directory somewhere and build from that.
Would that be an option here, David?

Cheers, Dave



More information about the samba-technical mailing list